[GIC PULL] KVM/arm64 fixes for 6.4, take #2

Marc Zyngier maz at kernel.org
Wed May 24 05:57:57 PDT 2023


Paolo,

Here's the second batch of fixes for 6.4: two interesting MMU-related
fixes that affect pKVM, a set of locking fixes, and the belated
emulation of Set/Way MTE CMO.

Please pull,

	M.

The following changes since commit c3a62df457ff9ac8c77efe6d1eca2855d399355d:

  Merge branch kvm-arm64/pgtable-fixes-6.4 into kvmarm-master/fixes (2023-05-11 15:26:01 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.4-2

for you to fetch changes up to a9f0e3d5a089d0844abb679a5e99f15010d53e25:

  KVM: arm64: Reload PTE after invoking walker callback on preorder traversal (2023-05-24 13:47:12 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.4, take #2

- Address some fallout of the locking rework, this time affecting
  the way the vgic is configured

- Fix an issue where the page table walker frees a subtree and
  then proceeds with walking what it has just freed...

- Check that a given PA donated to the gues is actually memory
  (only affecting pKVM)

- Correctly handle MTE CMOs by Set/Way

----------------------------------------------------------------
Fuad Tabba (1):
      KVM: arm64: Reload PTE after invoking walker callback on preorder traversal

Jean-Philippe Brucker (4):
      KVM: arm64: vgic: Fix a circular locking issue
      KVM: arm64: vgic: Wrap vgic_its_create() with config_lock
      KVM: arm64: vgic: Fix locking comment
      KVM: arm64: vgic: Fix a comment

Marc Zyngier (2):
      arm64: Add missing Set/Way CMO encodings
      KVM: arm64: Handle trap of tagged Set/Way CMOs

Will Deacon (1):
      KVM: arm64: Prevent unconditional donation of unmapped regions from the host

 arch/arm64/include/asm/kvm_pgtable.h  |  6 +++---
 arch/arm64/include/asm/sysreg.h       |  6 ++++++
 arch/arm64/kvm/hyp/nvhe/mem_protect.c | 14 +++++++-------
 arch/arm64/kvm/hyp/pgtable.c          | 14 +++++++++++++-
 arch/arm64/kvm/sys_regs.c             | 19 +++++++++++++++++++
 arch/arm64/kvm/vgic/vgic-init.c       | 27 +++++++++++++++++++++------
 arch/arm64/kvm/vgic/vgic-its.c        | 14 ++++++++++----
 arch/arm64/kvm/vgic/vgic-kvm-device.c | 10 ++++++++--
 arch/arm64/kvm/vgic/vgic-mmio-v3.c    | 31 +++++++++++++++++++++----------
 arch/arm64/kvm/vgic/vgic-mmio.c       |  9 ++-------
 arch/arm64/kvm/vgic/vgic-v2.c         |  6 ------
 arch/arm64/kvm/vgic/vgic-v3.c         |  7 -------
 arch/arm64/kvm/vgic/vgic-v4.c         |  3 ++-
 13 files changed, 112 insertions(+), 54 deletions(-)



More information about the linux-arm-kernel mailing list