Re: BUG() at boot in __phys_addr with DEBUG_VIRTUAL

From: Matt Fleming
Date: Thu Nov 13 2014 - 05:37:18 EST


On Wed, 2014-11-12 at 18:25 +0100, Borislav Petkov wrote:
>
> But before we do that: Matt, why do we need the kernel text mapped 1:1
> in the EFI page table at all?
>
> You've added this with
>
> 4f9dbcfc4029 ("x86/efi: Add mixed runtime services support")

So that when we switch into 32-bit mode we can still access the kernel
text via the 1:1 mapping in protected mode.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/