Skip to contentSkip to conversation

handle AMD microcode MSR

PATCH Applied Andre Przywara 2 participants 2 messages Jul 3, 2009 – Jul 6, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 handle AMD microcode MSR

Windows 7 tries to update the CPU's microcode on some processors, so we ignore the MSR write here. The patchlevel register is already handled (returning 0), because the MSR number is the same as Intel's.

---
 arch/x86/kvm/x86.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kvm/x86.c +1 -0
index 60b2527..4f9789d 100644
@@ -870,6 +870,7 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data)
 	case MSR_IA32_UCODE_REV:
 	case MSR_IA32_UCODE_WRITE:
 	case MSR_VM_HSAVE_PA:
+	case MSR_AMD64_PATCH_LOADER:
 		break;
 	case 0x200 ... 0x2ff:
 		return set_msr_mtrr(vcpu, msr, data);
Signature · 1 line
1.6.1.3
Applied
#1 lore raw
Quoted 4 lines · Andre Przywara

Windows 7 tries to update the CPU's microcode on some processors, so we ignore the MSR write here. The patchlevel register is already handled (returning 0), because the MSR number is the same as Intel's.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function