From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liran Alon Subject: Re: [PATCH 5/8] KVM: SVM: fix comment Date: Tue, 9 Jan 2018 05:17:21 -0800 (PST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: , , , , , , , , To: Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org ----- pbonzini@redhat.com wrote: > If always=3D=3Dtrue, then read/write bits are cleared from > the MSR permission bitmap, thus passing-through the MSR. > Fix the comment to match reality. >=20 > Signed-off-by: Paolo Bonzini > --- > arch/x86/kvm/svm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > index 55dde3896898..31ace8d7774a 100644 > --- a/arch/x86/kvm/svm.c > +++ b/arch/x86/kvm/svm.c > @@ -236,7 +236,7 @@ struct amd_svm_iommu_ir { > =20 > static const struct svm_direct_access_msrs { > =09u32 index; /* Index of the MSR */ > -=09bool always; /* True if intercept is always on */ > +=09bool always; /* True if intercept is always off */ > } direct_access_msrs[] =3D { > =09{ .index =3D MSR_STAR,=09=09=09=09.always =3D true }, > =09{ .index =3D MSR_IA32_SYSENTER_CS,=09=09.always =3D true }, > --=20 > 1.8.3.1 Reviewed-by: Liran Alon