]> err.no Git - linux-2.6/commit
x86_64: check and enable MMCONFIG for AMD Family 10h
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Tue, 19 Feb 2008 11:13:43 +0000 (03:13 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 21:41:04 +0000 (23:41 +0200)
commiteee206c3bfd0888f22ae9da3172487c61d72187d
tree0ef518f8ac5fcde5a1aed6cffe4ab7ddecec7273
parent57741a779070e0b141b6148136b420c8d35ccbce
x86_64: check and enable MMCONFIG for AMD Family 10h

So we can use MMCONF when MMCONF is not set by BIOS

using TOP_MEM2 msr to get memory top, and try to scan fam10h mmio routing to
make sure the range is not conflicted with some prefetch MMIO that is above 4G.
(current only LinuxBIOS assign 64 bit mmio above 4G for some co-processor)

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_64.c