Skip to content

KVM: simplify hardware initialization

[email protected] kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: Remove on_each_cpu(hardware_disable_nolock) in kvm_exit()virt/kvm/kvm_main.c+2 -10 replies
2/4KVM: Make cpus_hardware_enabled cpumask_t instead of cpumask_var_tvirt/kvm/kvm_main.c+6 -140 replies
3/4KVM: kvm_main.c: Remove a global variable, hardware_enable_failedvirt/kvm/kvm_main.c+17 -120 replies
4/4KVM: arm64: Simplify the CPUHP logicarch/arm64/kvm/arch_timer.c arch/arm64/kvm/arm.c arch/arm64/kvm/vgic/vgic-init.c +3 more+33 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] KVM: simplify hardware initialization

From: Isaku Yamahata <[email protected]>

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/[email protected]/

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(-)
Signature · 1 line
2.25.1