[PATCH v4 0/4] KVM: Speed up MMIO registrations

Keir Fraser posted 4 patches 3 weeks, 2 days ago
arch/arm64/kvm/vgic/vgic-init.c | 14 +++--------
arch/x86/kvm/vmx/vmx.c          |  7 ++++++
include/kvm/arm_vgic.h          |  1 -
include/linux/kvm_host.h        | 11 ++++++---
virt/kvm/kvm_main.c             | 43 +++++++++++++++++++++++++++------
5 files changed, 53 insertions(+), 23 deletions(-)
[PATCH v4 0/4] KVM: Speed up MMIO registrations
Posted by Keir Fraser 3 weeks, 2 days ago
This is version 4 of the patches I previously posted here:

 https://lore.kernel.org/all/20250819090853.3988626-1-keirf@google.com/

Changes since v3:

 * Rebased to v6.17-rc5
 * Added Tested-by tag to patch 4
 * Fixed reproducible syzkaller splat
 * Tweaked comments to Sean's specification

Keir Fraser (4):
  KVM: arm64: vgic-init: Remove vgic_ready() macro
  KVM: arm64: vgic: Explicitly implement vgic_dist::ready ordering
  KVM: Implement barriers before accessing kvm->buses[] on SRCU read
    paths
  KVM: Avoid synchronize_srcu() in kvm_io_bus_register_dev()

 arch/arm64/kvm/vgic/vgic-init.c | 14 +++--------
 arch/x86/kvm/vmx/vmx.c          |  7 ++++++
 include/kvm/arm_vgic.h          |  1 -
 include/linux/kvm_host.h        | 11 ++++++---
 virt/kvm/kvm_main.c             | 43 +++++++++++++++++++++++++++------
 5 files changed, 53 insertions(+), 23 deletions(-)

-- 
2.51.0.384.g4c02a37b29-goog
Re: [PATCH v4 0/4] KVM: Speed up MMIO registrations
Posted by Marc Zyngier 2 weeks, 3 days ago
On Tue, 09 Sep 2025 10:00:03 +0000, Keir Fraser wrote:
> This is version 4 of the patches I previously posted here:
> 
>  https://lore.kernel.org/all/20250819090853.3988626-1-keirf@google.com/
> 
> Changes since v3:
> 
>  * Rebased to v6.17-rc5
>  * Added Tested-by tag to patch 4
>  * Fixed reproducible syzkaller splat
>  * Tweaked comments to Sean's specification
> 
> [...]

Applied to next, thanks!

[1/4] KVM: arm64: vgic-init: Remove vgic_ready() macro
      commit: 8810c6e7cca8fbfce7652b53e05acc465e671d28
[2/4] KVM: arm64: vgic: Explicitly implement vgic_dist::ready ordering
      commit: 11490b5ec6bc4fe3a36f90817bbc8021ba8b05cd
[3/4] KVM: Implement barriers before accessing kvm->buses[] on SRCU read paths
      commit: 7788255aba6545a27b8d143c5256536f8dfb2c0a
[4/4] KVM: Avoid synchronize_srcu() in kvm_io_bus_register_dev()
      commit: 7d9a0273c45962e9a6bc06f3b87eef7c431c1853

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.