diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-23 07:14:56 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-23 07:41:31 +0100 |
commit | ecda06289f8202d4c6beb235f59ea464f4a91209 (patch) | |
tree | 351d1919e4ea31dc727b6793bab2527461d06ef5 /arch/x86/mm/extable.c | |
parent | x86: refactor x86_quirks support (diff) | |
download | linux-ecda06289f8202d4c6beb235f59ea464f4a91209.tar.xz linux-ecda06289f8202d4c6beb235f59ea464f4a91209.zip |
x86: check mptable physptr with max_low_pfn on 32bit
Impact: fix early crash on LinuxBIOS systems
Kevin O'Connor reported that Coreboot aka LinuxBIOS tries to put
mptable somewhere very high, well above max_low_pfn (below which
BIOSes generally put the mptable), causing a panic.
The BIOS will probably be changed to be compatible with older
Linus versions, but nevertheless the MP-spec does not forbid
an MP-table in arbitrary system RAM, so make sure it all
works even if the table is in an unexpected place.
Check physptr with max_low_pfn * PAGE_SIZE.
Reported-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Stefan Reinauer <stepan@coresystems.de>
Cc: coreboot@coreboot.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/extable.c')
0 files changed, 0 insertions, 0 deletions