Re: [PATCH] Revert "x86, efi: Calling __pa() with an ioremap()edaddress is invalid"
From: Matt Fleming
Date: Thu Dec 15 2011 - 10:29:40 EST
On Mon, 2011-12-12 at 08:35 -0800, Keith Packard wrote:
> On Mon, 12 Dec 2011 10:01:23 +0000, Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote:
>
> > How about the dmesg from a kernel with this revert applied?
>
> Happy to oblige. Here's the first few seconds (until X starts):
Thanks Keith. I think I see what the problem is now. Your memory map
shows that there are some regions that need runtime mappings that
weren't being setup with the original patch because they're not of type
EFI_RUNTIME_SERVICES_DATA. What the patch should do is check for the
EFI_MEMORY_RUNTIME attribute.
Can you try this patch and see if your MacBook Air still boots?