Re: [GIT PULL] x86 fixes

From: Matt Fleming
Date: Tue Sep 23 2014 - 09:18:15 EST


On Tue, 23 Sep, at 10:18:07AM, Ard Biesheuvel wrote:
>
> It will be difficult for me to keep up with this thread over the next
> days, so I have added Leif and Roy on cc. If you need to make any
> changes that affect arm64, they should be able to confirm whether it
> causes any problems or not.

OK, below is what I've got on top of commit f3670394c29f in Linus' tree.
Please don't anyone pick this up yet, I'm still testing it on my
machines and it desperately needs some Tested-by tags.

Josh, your machines probably boot fine after the revert from Linus but
it'd be good to verify that this patch doesn't make things any worse.

Maarten, please verify that your Macbook pro boots with this patch. I
very much want to be able to add a Tested-by from you.

Ard, Leif, Roy, can you please validate this for arm64? The thing to
look out for is whether the changes to drivers/firmware/efi/Makefile
make sense, and in particular, whether it's ever possible to have
CONFIG_EFI_STUB=y and CONFIG_EFI_ARM_STUB=n.

If the answer is yes, then this patch might break your build and we
probably want to do something like unconditionally select
CONFIG_EFI_ARM_STUB when CONFIG_EFI_STUB=y.

---