]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 18 Dec 2018 00:34:18 +0000 (22:34 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Dec 2018 21:15:44 +0000 (22:15 +0100)
commitc5942f0e62952c0b653614ccecdc67166e60e0d7
tree60368e72c7054beb43b0bf402a4169cad7b10f3a
parente3ea18852d88979ff9dea367a648730a18afb4e7
kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs

Some guests OSes (including Windows 10) write to MSR 0xc001102c
on some cases (possibly while trying to apply a CPU errata).
Make KVM ignore reads and writes to that MSR, so the guest won't
crash.

The MSR is documented as "Execution Unit Configuration (EX_CFG)",
at AMD's "BIOS and Kernel Developer's Guide (BKDG) for AMD Family
15h Models 00h-0Fh Processors".

Cc: stable@vger.kernel.org
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/msr-index.h
arch/x86/kvm/x86.c