Re: [PATCH v3] x86, efi: Calling __pa() with an ioremap'd addressis invalid

From: Matthew Garrett
Date: Mon Nov 07 2011 - 15:38:27 EST


On Mon, Nov 07, 2011 at 12:36:13PM -0800, H. Peter Anvin wrote:

> Yes, I think it makes a lot of sense. If we need to introduce new
> meta-types to deal with the fact that there are EFI types that don't map
> to E820, then so be it... and this is *exactly* why we want the EFI
> setup stub to be part of the kernel image and not off in a separate
> bootloader, requiring a stable interface...

I don't disagree, it's just going to be an absolute pain to manage that
in a secure boot world. Looking at the code, we actually already seem to
have decided to start just making up E820 types, so maybe we should just
do that...

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/