Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] i386: Don't discard upper 32bits of HWCR on K8

Need to use long long, not long when RMWing a MSR. I think
it's harmless right now, but still should be better fixed
if AMD adds any bits in the upper 32bit of HWCR.

Bug was introduced with the TLB flush filter fix for i386

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andi Kleen and committed by
Linus Torvalds
3c92c2ba 421c7ce6

+1 -1
+1 -1
arch/i386/kernel/cpu/amd.c
··· 29 29 int r; 30 30 31 31 #ifdef CONFIG_SMP 32 - unsigned long value; 32 + unsigned long long value; 33 33 34 34 /* Disable TLB flush filter by setting HWCR.FFDIS on K8 35 35 * bit 6 of msr C001_0015