]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/include/asm/msr-index.h
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)
commit37db6c8f1d0c4b8f01dc049f3a893b725288660f
tree56710e81ad4d03297dbfb6eb62f0bc942b83382d
parent8191c9f69202d4dbc66063cb92059b8a58640d34
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