mbox series

[0/4] KVM: simplify hardware initialization

Message ID cover.1667369456.git.isaku.yamahata@intel.com (mailing list archive)
Headers show
Series KVM: simplify hardware initialization | expand

Message

Isaku Yamahata Nov. 2, 2022, 6:24 a.m. UTC
From: Isaku Yamahata <isaku.yamahata@intel.com>

This patch series include random simplifications of KVM hardware enable/disable.
Although the past attempt [1] was turned out to be a bad idea, it has still
useful patches.  This is small subset of [1].

[1] https://lore.kernel.org/kvm/cover.1663869838.git.isaku.yamahata@intel.com/

Isaku Yamahata (3):
  KVM: Remove on_each_cpu(hardware_disable_nolock) in kvm_exit()
  KVM: Make cpus_hardware_enabled cpumask_t instead of cpumask_var_t
  KVM: kvm_main.c: Remove a global variable, hardware_enable_failed

Marc Zyngier (1):
  KVM: arm64: Simplify the CPUHP logic

 arch/arm64/kvm/arch_timer.c     | 27 +++++++------------
 arch/arm64/kvm/arm.c            | 13 +++++++++
 arch/arm64/kvm/vgic/vgic-init.c | 19 ++-----------
 include/kvm/arm_arch_timer.h    |  4 +++
 include/kvm/arm_vgic.h          |  4 +++
 include/linux/cpuhotplug.h      |  3 ---
 virt/kvm/kvm_main.c             | 48 ++++++++++++++++-----------------
 7 files changed, 56 insertions(+), 62 deletions(-)

Comments

Sean Christopherson Nov. 2, 2022, 3:39 p.m. UTC | #1
On Tue, Nov 01, 2022, isaku.yamahata@intel.com wrote:
> From: Isaku Yamahata <isaku.yamahata@intel.com>
> 
> This patch series include random simplifications of KVM hardware enable/disable.
> Although the past attempt [1] was turned out to be a bad idea, it has still
> useful patches.

I have a larger cleanup that includes all of these patches except "Remove a global
variable, hardware_enable_failed".  I was planning on posting the series last weeks,
but I've dealing with a comedy of errors.  With luck, I'll get it posted today.

I'll fold in the aforementioned patch as well, there are quite a few conflicts as
my series has a variety of bug fixes before it gets to these cleanups.