[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EB84BAD.6030707@zytor.com>
Date: Mon, 07 Nov 2011 13:20:45 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Matthew Garrett <mjg59@...f.ucam.org>
CC: Matt Fleming <matt@...sole-pimps.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...e.hu>, Zhang Rui <rui.zhang@...el.com>,
Huang Ying <huang.ying.caritas@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] x86, efi: Calling __pa() with an ioremap'd address
is invalid
On 11/07/2011 01:07 PM, Matthew Garrett wrote:
>>
>> I know we need to be able to pass the initramfs in memory; anything else
>> we need other than the normal EFI executable entry conditions?
>
> If we're called before ExitBootServices(), no. If we're called after,
> we'll need the map from GetMemoryMap(). There's some other things that
> we may want to pass, such as option ROMs that we can get from firmware
> but which may not otherwise be mapped - I guess those could arguably be
> passed in the initramfs.
>
No, we should be called before ExitBootServices(), obviously.
That was a significant part of the point.
Getting a list of the stuff we need would be useful, so we can come up
with a workable ABI for passing it.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists