KVM/arm64 fixes for 6.4, take #2
Marc Zyngier
maintainerPaolo,
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(-)
Marc Zyngier
maintainerQuoted 5 lines · Marc Zyngier
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.
OK, $subject is an indication of what's on my mind...
But please pull anyway!
M.
Signature · 1 line
Jazz is not dead. It just smells funny...
Paolo Bonzini
maintainerQuoted 11 lines · Marc Zyngier
Quoted 5 lines · Marc Zyngier
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.
OK, $subject is an indication of what's on my mind...
But please pull anyway!
Uh oh, this was not filtered correctly. Pulled now, separately to preserve the tag message.
Paolo