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:	Sat, 28 Feb 2009 20:14:44 -0800
From:	Yinghai Lu <yinghai@...nel.org>
To:	Brian Maly <bmaly@...hat.com>, Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix e820 end address with EFI

On Sat, Feb 28, 2009 at 8:26 AM, Brian Maly <bmaly@...hat.com> wrote:
>
>   On some EFI systems (i.e. Apple) EFI runtime is mapped into higher mem
> regions. These EFI mem regions are not always taken into consideration when
> max_pfn is calculated in setup.c being that e820_end_of_ram_pfn() only
> counts
> mappings types marked as usable (E820_RAM). Currently we only count to the
> last
> usable e820 address range and nothing beyond. EFI can be mapped anywhere
> within
> e820 and is not always marked as usable e820, and so EFI runtime may be
> missed
> if mapped somewhere beyond last usable e820. This patch attempts to resolve
> this problem by including all E820 mappings when EFI is enabled, so that
> the entire e820 (and EFI runtime area) is included in computing max_pfn.
> Tested
> on a MacBook Pro 3.1 and resolves the issue (system now boots w/elilo+grub &
> EFI).
>

it seems you should check and enable directly mapping when EFI runtime
service is enabled.

YH
--
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