Date: Mon, 11 Apr 2016 05:09:44 +0000 (UTC) From: Anish Gupta <anish@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297806 - head/sys/amd64/vmm/amd Message-ID: <201604110509.u3B59iFs000620@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: anish Date: Mon Apr 11 05:09:43 2016 New Revision: 297806 URL: https://svnweb.freebsd.org/changeset/base/297806 Log: Allow guest writes to AMD microcode update[0xc0010020] MSR without updating actual hardware MSR. This allows guest microcode update to go through which otherwise failing because wrmsr() was returning EINVAL. Submitted by:Yamagi Burmeister Approved by:grehan MFC after:2 weeks Modified: head/sys/amd64/vmm/amd/svm_msr.c Modified: head/sys/amd64/vmm/amd/svm_msr.c ============================================================================== --- head/sys/amd64/vmm/amd/svm_msr.c Mon Apr 11 04:56:23 2016 (r297805) +++ head/sys/amd64/vmm/amd/svm_msr.c Mon Apr 11 05:09:43 2016 (r297806) @@ -156,6 +156,11 @@ svm_wrmsr(struct svm_softc *sc, int vcpu * Ignore writes to the "Interrupt Pending Message" MSR. */ break; + case MSR_K8_UCODE_UPDATE: + /* + * Ignore writes to microcode update register. + */ + break; default: error = EINVAL; break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604110509.u3B59iFs000620>