]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: Reject SRAT tables that don't cover all memory
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:44:39 +0000 (22:44 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:55 +0000 (19:04 -0800)
commit8a6fdd3e912e0ce6f723431d66baf704bf8a1d26
tree930056ca5dc50ce6245cd602f044e224dd5a8776
parent95833c83f3b812c78e48db4eaa19f6c74958470b
[PATCH] x86_64: Reject SRAT tables that don't cover all memory

Broken BIOS on Iwill 8way systems reports these and it causes the bootmem
allocator to crash. Add a sanity check if all the PXMs in the
SRAT table cover all memory as reported by e820. If the sanity
check fails the SRAT is rejected and the code will fall back
to discover the NUMA topology using the K8 northbridge registers
when applicable.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/srat.c