lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 7 Nov 2011 21:07:02 +0000
From:	Matthew Garrett <mjg59@...f.ucam.org>
To:	"H. Peter Anvin" <hpa@...or.com>
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 Mon, Nov 07, 2011 at 01:01:40PM -0800, H. Peter Anvin wrote:
> On 11/07/2011 12:58 PM, Matthew Garrett wrote:
> > 
> >> However, "EFI stub in the kernel" doesn't mean "can't use an external
> >> bootloader."
> > 
> > Agreed. It just means that we're still plausibly going to need some 
> > handshaking between them. Alternatively, as long as the bootloader 
> > passes us the memory map, we can just ignore any E820 map it gives us 
> > anyway.
> > 
> 
> 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.

-- 
Matthew Garrett | mjg59@...f.ucam.org
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ