aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2009-02-22 22:14:56 -0800
committerIngo Molnar <[email protected]>2009-02-23 07:41:31 +0100
commitecda06289f8202d4c6beb235f59ea464f4a91209 (patch)
tree351d1919e4ea31dc727b6793bab2527461d06ef5 /lib/string_helpers.c
parent8e6dafd6c741cd4679b4de3c5d9698851e4fa59c (diff)
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 <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> Cc: Stefan Reinauer <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions