summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-02-13 13:26:23 +0100
committerAndi Kleen <andi@basil.nowhere.org>2007-02-13 13:26:23 +0100
commit24ce0e96f2dea558762c994d054ea2f3c01fa95a (patch)
tree59a4a538e6d67d0a15751095c6b191010be04f4f /kernel/kmod.c
parent[PATCH] x86: simplify notify_page_fault() (diff)
downloadlinux-24ce0e96f2dea558762c994d054ea2f3c01fa95a.tar.xz
linux-24ce0e96f2dea558762c994d054ea2f3c01fa95a.zip
[PATCH] x86-64: Tighten mce_amd driver MSR reads
while debugging an unrelated problem in Xen, I noticed odd reads from non-existent MSRs. Having now found time to look why these happen, I came up with below patch, which - prevents accessing MCi_MISCj with j > 0 when the block pointer in MCi_MISC0 is zero - accesses only contiguous MCi_MISCj until a non-implemented one is found - doesn't touch unimplemented blocks in mce_threshold_interrupt at all - gives names to two bits previously derived from MASK_VALID_HI (it took me some time to understand the code without this) The first three items, besides being apparently closer to the spec, should namely help cutting down on the time mce_threshold_interrupt() takes. Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions