projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a3c36
)
KVM: VMX: fix comment to add LBR to passthrough MSRs
author
Dongli Zhang
<dongli.zhang@oracle.com>
Fri, 23 Feb 2024 20:21:02 +0000
(12:21 -0800)
committer
Sean Christopherson
<seanjc@google.com>
Tue, 27 Feb 2024 17:36:48 +0000
(09:36 -0800)
According to the is_valid_passthrough_msr(), the LBR MSRs are also
passthrough MSRs, since the commit
1b5ac3226a1a
("KVM: vmx/pmu:
Pass-through LBR msrs when the guest LBR event is ACTIVE").
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Link:
https://lore.kernel.org/r/20240223202104.3330974-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx/vmx.c
b/arch/x86/kvm/vmx/vmx.c
index d4e6625e0a9a7a1c71a3534dc73594a1e0c818f0..05319b74bd3d8294bdc823dfd8dec69bbe5ad6a0 100644
(file)
--- a/
arch/x86/kvm/vmx/vmx.c
+++ b/
arch/x86/kvm/vmx/vmx.c
@@
-159,7
+159,7
@@
module_param(allow_smaller_maxphyaddr, bool, S_IRUGO);
/*
* List of MSRs that can be directly passed to the guest.
- * In addition to these x2apic
and PT
MSRs are handled specially.
+ * In addition to these x2apic
, PT and LBR
MSRs are handled specially.
*/
static u32 vmx_possible_passthrough_msrs[MAX_POSSIBLE_PASSTHROUGH_MSRS] = {
MSR_IA32_SPEC_CTRL,