[0/2] KVM: x86: More cleanups for Hyper-V range flushing

Message ID 20230405003133.419177-1-seanjc@google.com
Headers
Series KVM: x86: More cleanups for Hyper-V range flushing |

Message

Sean Christopherson April 5, 2023, 12:31 a.m. UTC
  More cleanups of the code related to Hyper-V's range-based TLB flushing.
David's series got most of the names, but there are a few more that can
be converted (patch 1).  On top of that, having Hyper-V fill its struct
provides a decent improvement to code generation, and IMO yields a better
API (patch 2).

Sean Christopherson (2):
  KVM: x86: Rename Hyper-V remote TLB hooks to match established scheme
  KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V
    code

 arch/x86/include/asm/kvm-x86-ops.h |  4 ++--
 arch/x86/include/asm/kvm_host.h    | 15 +++++---------
 arch/x86/kvm/kvm_onhyperv.c        | 33 ++++++++++++++++++++++--------
 arch/x86/kvm/kvm_onhyperv.h        |  5 ++---
 arch/x86/kvm/mmu/mmu.c             | 18 +++++++---------
 arch/x86/kvm/svm/svm_onhyperv.h    |  5 ++---
 arch/x86/kvm/vmx/vmx.c             |  5 ++---
 7 files changed, 44 insertions(+), 41 deletions(-)


base-commit: 50f13998451effea5c5fdc70fe576f8b435d6224
  

Comments

Vitaly Kuznetsov April 5, 2023, 2:48 p.m. UTC | #1
Sean Christopherson <seanjc@google.com> writes:

> More cleanups of the code related to Hyper-V's range-based TLB flushing.
> David's series got most of the names, but there are a few more that can
> be converted (patch 1).  On top of that, having Hyper-V fill its struct
> provides a decent improvement to code generation, and IMO yields a better
> API (patch 2).
>
> Sean Christopherson (2):
>   KVM: x86: Rename Hyper-V remote TLB hooks to match established scheme
>   KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V
>     code
>

For the series:
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
  
David Matlack April 7, 2023, 8:20 p.m. UTC | #2
On Tue, Apr 04, 2023 at 05:31:31PM -0700, Sean Christopherson wrote:
> More cleanups of the code related to Hyper-V's range-based TLB flushing.
> David's series got most of the names, but there are a few more that can
> be converted (patch 1).  On top of that, having Hyper-V fill its struct
> provides a decent improvement to code generation, and IMO yields a better
> API (patch 2).

Reviewed-by: David Matlack <dmatlack@google.com>
  
Sean Christopherson April 10, 2023, 11:30 p.m. UTC | #3
On Tue, 04 Apr 2023 17:31:31 -0700, Sean Christopherson wrote:
> More cleanups of the code related to Hyper-V's range-based TLB flushing.
> David's series got most of the names, but there are a few more that can
> be converted (patch 1).  On top of that, having Hyper-V fill its struct
> provides a decent improvement to code generation, and IMO yields a better
> API (patch 2).
> 
> Sean Christopherson (2):
>   KVM: x86: Rename Hyper-V remote TLB hooks to match established scheme
>   KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V
>     code
> 
> [...]

Applied to kvm-x86 mmu, thanks!

[1/2] KVM: x86: Rename Hyper-V remote TLB hooks to match established scheme
      https://github.com/kvm-x86/linux/commit/8a1300ff9518
[2/2] KVM: x86/mmu: Move filling of Hyper-V's TLB range struct into Hyper-V code
      https://github.com/kvm-x86/linux/commit/9ed3bf411226

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes