]> git.baikalelectronics.ru Git - kernel.git/commit
x86-64: Fix and clean up AMD Fam10 MMCONF enabling
authorJan Beulich <JBeulich@novell.com>
Tue, 16 Nov 2010 08:25:08 +0000 (08:25 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 12:41:35 +0000 (13:41 +0100)
commit1f9b2de4ac082e03e32dd018d2675ec9e7cc994b
tree56710e81ad4d03297dbfb6eb62f0bc942b83382d
parentf9932477c0a09a79aff04b1c8c53666cb03e8741
x86-64: Fix and clean up AMD Fam10 MMCONF enabling

Candidate memory ranges were not calculated properly (start
addresses got needlessly rounded down, and end addresses didn't
get rounded up at all), address comparison for secondary CPUs
was done on only part of the address, and disabled status wasn't
tracked properly.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <4CE24DF40200007800022737@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/mmconf-fam10h_64.c