linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] minor cleanups on efer emulation
@ 2022-03-11 10:26 Zhenzhong Duan
  2022-03-11 10:26 ` [PATCH v2 1/2] KVM: x86: Remove unnecessory assignment to uret->data Zhenzhong Duan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhenzhong Duan @ 2022-03-11 10:26 UTC (permalink / raw)
  To: kvm, linux-kernel; +Cc: pbonzini, seanjc, vkuznets, wanpengli, jmattson, joro

These two patches remove some redundant code related to mode switch
and EFER emulation.

Sanity tested with kernel in L0, L1 and L2 all patched.

v2: Split to two patches and use comments from Sean to explain why
it's secure to remove them, suggested by Sean.

Zhenzhong Duan (2):
  KVM: x86: Remove unnecessory assignment to uret->data
  KVM: x86: Remove redundant vm_entry_controls_clearbit() call

 arch/x86/kvm/vmx/vmx.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-25  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 10:26 [PATCH v2 0/2] minor cleanups on efer emulation Zhenzhong Duan
2022-03-11 10:26 ` [PATCH v2 1/2] KVM: x86: Remove unnecessory assignment to uret->data Zhenzhong Duan
2022-03-11 10:26 ` [PATCH v2 2/2] KVM: x86: Remove redundant vm_entry_controls_clearbit() call Zhenzhong Duan
2022-03-25  9:14 ` [PATCH v2 0/2] minor cleanups on efer emulation Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).