Skip to content

KVM/arm updates for 5.4

Marc Zyngier kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17KVM: arm/arm64: vgic: Add LPI translation cache definitioninclude/kvm/arm_vgic.h virt/kvm/arm/vgic/vgic-init.c virt/kvm/arm/vgic/vgic-its.c +1 more+59 -00 replies
2/17KVM: arm/arm64: vgic: Add __vgic_put_lpi_locked primitivevirt/kvm/arm/vgic/vgic.c virt/kvm/arm/vgic/vgic.h+18 -90 replies
3/17KVM: arm/arm64: vgic-its: Add MSI-LPI translation cache invalidationvirt/kvm/arm/vgic/vgic-its.c virt/kvm/arm/vgic/vgic.h+24 -00 replies
4/17KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on specific commandsvirt/kvm/arm/vgic/vgic-its.c+9 -00 replies
5/17KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on disabling LPIsvirt/kvm/arm/vgic/vgic-mmio-v3.c+3 -10 replies
6/17KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on ITS disablevirt/kvm/arm/vgic/vgic-its.c+2 -00 replies
7/17KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on vgic teardownvirt/kvm/arm/vgic/vgic-its.c+2 -00 replies
8/17KVM: arm/arm64: vgic-its: Cache successful MSI->LPI translationvirt/kvm/arm/vgic/vgic-its.c+86 -00 replies
9/17KVM: arm/arm64: vgic-its: Check the LPI translation cache on MSI injectionvirt/kvm/arm/vgic/vgic-its.c virt/kvm/arm/vgic/vgic.h+37 -00 replies
10/17KVM: arm/arm64: vgic-irqfd: Implement kvm_arch_set_irq_inatomicvirt/kvm/arm/vgic/vgic-irqfd.c+30 -60 replies
11/17arm64/kvm: Remove VMID rollover I-cache maintenancearch/arm64/kvm/hyp/tlb.c+13 -10 replies
12/17KVM: arm/arm64: vgic: Make function comments match function declarationsvirt/kvm/arm/vgic/vgic-v2.c virt/kvm/arm/vgic/vgic-v3.c+8 -60 replies
13/17KVM: Call kvm_arch_vcpu_blocking early into the blocking sequencevirt/kvm/kvm_main.c+3 -40 replies
14/17KVM: arm/arm64: vgic: Remove spurious semicolonsvirt/kvm/arm/vgic/vgic-init.c+1 -10 replies
15/17KVM: arm/arm64: vgic: Use a single IO device per redistributorinclude/kvm/arm_vgic.h virt/kvm/arm/vgic/vgic-init.c virt/kvm/arm/vgic/vgic-mmio-v3.c+24 -590 replies
16/17arm64: KVM: Device mappings should be execute-neverarch/arm64/include/asm/pgtable-prot.h+1 -10 replies
17/17KVM: arm/arm64: vgic: Allow more than 256 vcpus for KVM_IRQ_LINEDocumentation/virt/kvm/api.txt arch/arm/include/uapi/asm/kvm.h arch/arm64/include/uapi/asm/kvm.h +2 more+19 -40 replies

Reviews trailers per patch

13 of 17 patches have a Reviewed-by or Acked-by.

PatchAndre PrzywaraEric AugerJames MorsePaolo BonziniZenghui Yu
1/17T-b R-b
2/17T-b R-b
3/17T-b R-b
4/17T-b R-b
5/17T-b R-b
6/17T-b R-b
7/17T-b R-b
8/17T-b R-b
9/17T-b R-b
10/17T-b R-b
11/17R-b
12/17
13/17A-b
14/17
15/17
16/17
17/17R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/17] KVM/arm updates for 5.4

Paolo, Radim,

Here is the KVM/arm updates for 5.4: a new ITS translation cache improving performance for interrupt injection of of assigned devices, a couple of fixes to allow up to 512 vcpus, and a number of fixes and other cleanups.

Please pull,

	M.

The following changes since commit d45331b00ddb179e291766617259261c112db872:

Linux 5.3-rc4 (2019-08-11 13:26:41 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-5.4

for you to fetch changes up to 92f35b751c71d14250a401246f2c792e3aa5b386:

KVM: arm/arm64: vgic: Allow more than 256 vcpus for KVM_IRQ_LINE (2019-09-09 12:29:09 +0100)

----------------------------------------------------------------
KVM/arm updates for 5.4

- New ITS translation cache
- Allow up to 512 CPUs to be supported with GICv3 (for real this time)
- Now call kvm_arch_vcpu_blocking early in the blocking sequence
- Tidy-up device mappings in S2 when DIC is available
- Clean icache invalidation on VMID rollover
- General cleanup

----------------------------------------------------------------
Alexandru Elisei (1):
KVM: arm/arm64: vgic: Make function comments match function declarations

Eric Auger (1):
KVM: arm/arm64: vgic: Use a single IO device per redistributor

James Morse (1):
arm64: KVM: Device mappings should be execute-never

Marc Zyngier (13):
KVM: arm/arm64: vgic: Add LPI translation cache definition
KVM: arm/arm64: vgic: Add __vgic_put_lpi_locked primitive
KVM: arm/arm64: vgic-its: Add MSI-LPI translation cache invalidation
KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on specific commands
KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on disabling LPIs
KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on ITS disable
KVM: arm/arm64: vgic-its: Invalidate MSI-LPI translation cache on vgic teardown
KVM: arm/arm64: vgic-its: Cache successful MSI->LPI translation
KVM: arm/arm64: vgic-its: Check the LPI translation cache on MSI injection
KVM: arm/arm64: vgic-irqfd: Implement kvm_arch_set_irq_inatomic
KVM: Call kvm_arch_vcpu_blocking early into the blocking sequence
KVM: arm/arm64: vgic: Remove spurious semicolons
KVM: arm/arm64: vgic: Allow more than 256 vcpus for KVM_IRQ_LINE

Mark Rutland (1):
arm64/kvm: Remove VMID rollover I-cache maintenance

 Documentation/virt/kvm/api.txt        |  12 +-
 arch/arm/include/uapi/asm/kvm.h       |   4 +-
 arch/arm64/include/asm/pgtable-prot.h |   2 +-
 arch/arm64/include/uapi/asm/kvm.h     |   4 +-
 arch/arm64/kvm/hyp/tlb.c              |  14 ++-
 include/kvm/arm_vgic.h                |   4 +-
 include/uapi/linux/kvm.h              |   1 +
 virt/kvm/arm/arm.c                    |   2 +
 virt/kvm/arm/vgic/vgic-init.c         |   8 +-
 virt/kvm/arm/vgic/vgic-irqfd.c        |  36 +++++-
 virt/kvm/arm/vgic/vgic-its.c          | 207 ++++++++++++++++++++++++++++++++++
 virt/kvm/arm/vgic/vgic-mmio-v3.c      |  85 +++++---------
 virt/kvm/arm/vgic/vgic-v2.c           |   7 +-
 virt/kvm/arm/vgic/vgic-v3.c           |   7 +-
 virt/kvm/arm/vgic/vgic.c              |  26 +++--
 virt/kvm/arm/vgic/vgic.h              |   5 +
 virt/kvm/kvm_main.c                   |   7 +-
 17 files changed, 339 insertions(+), 92 deletions(-)