Re: [PATCH] x86/bugs/multihit: Fix mitigation reporting when KVM is not in use

From
Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Date
2020-07-15 17:24:17
Also in
kvm, lkml
Reply to
Sean Christopherson, 2020-07-15
On Tue, Jul 14, 2020 at 05:51:30PM -0700, Sean Christopherson wrote:
On Tue, Jul 14, 2020 at 02:20:59PM -0700, Dave Hansen wrote:
quoted
On 7/14/20 2:04 PM, Pawan Gupta wrote:
quoted
quoted
I see three inputs and four possible states (sorry for the ugly table,
it was this or a spreadsheet :):

X86_FEATURE_VMX	CONFIG_KVM_*	hpage split  Result	   Reason
	N			x	    x	     Not Affected  No VMX
	Y			N	    x	     Not affected  No KVM
This line item is pointless, the relevant itlb_multihit_show_state()
implementation depends on CONFIG_KVM_INTEL.  The !KVM_INTEL version simply
prints ""Processor vulnerable".
While we are on it, for CONFIG_KVM_INTEL=n would it make sense to report "Not
affected(No KVM)"? "Processor vulnerable" is not telling much about the
mitigation.

Thanks,
Pawan
Thread (11 messages) 11 messages, 3 authors, last reply 2020-07-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help