nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB
authorKrish Sadhukhan <krish.sadhukhan@oracle.com>
Mon, 20 Sep 2021 23:51:31 +0000 (19:51 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:57 +0000 (03:44 -0400)
commit174a921b6975ef959dd82ee9e8844067a62e3ec1
tree4cfba7bd3de397e87fd2b25123ac040df3f70107
parent78b497f2e62d8c7514de5f83c80837bbb120e93e
nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB

According to section "TLB Flush" in APM vol 2,

    "Support for TLB_CONTROL commands other than the first two, is
     optional and is indicated by CPUID Fn8000_000A_EDX[FlushByAsid].

     All encodings of TLB_CONTROL not defined in the APM are reserved."

Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Message-Id: <20210920235134.101970-3-krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c