mbox series

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

Message ID 20230524125757.3631091-1-maz@kernel.org (mailing list archive)
State New, archived
Headers show
Series [GIC,PULL] KVM/arm64 fixes for 6.4, take #2 | expand

Pull-request

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

Message

Marc Zyngier May 24, 2023, 12:57 p.m. UTC
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(-)

Comments

Marc Zyngier May 24, 2023, 2:18 p.m. UTC | #1
On 2023-05-24 13:57, Marc Zyngier wrote:
> 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.
Paolo Bonzini June 3, 2023, 7:14 p.m. UTC | #2
On Wed, May 24, 2023 at 4:18 PM Marc Zyngier <maz@kernel.org> wrote:
>
> On 2023-05-24 13:57, Marc Zyngier wrote:
> > 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