mbox series

[GIT,PULL] kvm/arm64 fixes for 6.2, take #3

Message ID 20230129190142.2481354-1-maz@kernel.org
State New
Headers show
Series [GIT,PULL] kvm/arm64 fixes for 6.2, take #3 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-3

Message

Marc Zyngier Jan. 29, 2023, 7:01 p.m. UTC
Paolo,

Here's the (hopefully) last batch of fixes for KVM/arm64 on 6.2. The
really important one addresses yet another non-CPU access to the vgic
memory, which needs to be suitably identified to avoid generating a
scary warning. The second half of the series fixes a bunch of
page-table walk tests after the kernel fix that went in earlier in
6.2.

Please pull,

	M.

The following changes since commit ef3691683d7bfd0a2acf48812e4ffe894f10bfa8:

  KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation (2023-01-21 11:02:19 +0000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-3

for you to fetch changes up to 08ddbbdf0b55839ca93a12677a30a1ef24634969:

  KVM: selftests: aarch64: Test read-only PT memory regions (2023-01-29 18:49:08 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 6.2, take #3

- Yet another fix for non-CPU accesses to the memory backing
  the VGICv3 subsystem

- A set of fixes for the setlftest checking for the S1PTW
  behaviour after the fix that went in ealier in the cycle

----------------------------------------------------------------
Gavin Shan (3):
      KVM: arm64: Add helper vgic_write_guest_lock()
      KVM: arm64: Allow no running vcpu on restoring vgic3 LPI pending status
      KVM: arm64: Allow no running vcpu on saving vgic3 pending table

Ricardo Koller (4):
      KVM: selftests: aarch64: Relax userfaultfd read vs. write checks
      KVM: selftests: aarch64: Do not default to dirty PTE pages on all S1PTWs
      KVM: selftests: aarch64: Fix check of dirty log PT write
      KVM: selftests: aarch64: Test read-only PT memory regions

 Documentation/virt/kvm/api.rst                     |  10 +-
 arch/arm64/kvm/vgic/vgic-its.c                     |  13 +-
 arch/arm64/kvm/vgic/vgic-v3.c                      |   4 +-
 arch/arm64/kvm/vgic/vgic.h                         |  14 ++
 include/kvm/arm_vgic.h                             |   2 +-
 .../selftests/kvm/aarch64/page_fault_test.c        | 187 ++++++++++++---------
 6 files changed, 132 insertions(+), 98 deletions(-)

Comments

Paolo Bonzini Feb. 5, 2023, 8:28 a.m. UTC | #1
Pulled, thanks.

Paolo

On Sun, Jan 29, 2023 at 8:02 PM Marc Zyngier <maz@kernel.org> wrote:
>
> Paolo,
>
> Here's the (hopefully) last batch of fixes for KVM/arm64 on 6.2. The
> really important one addresses yet another non-CPU access to the vgic
> memory, which needs to be suitably identified to avoid generating a
> scary warning. The second half of the series fixes a bunch of
> page-table walk tests after the kernel fix that went in earlier in
> 6.2.
>
> Please pull,
>
>         M.
>
> The following changes since commit ef3691683d7bfd0a2acf48812e4ffe894f10bfa8:
>
>   KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation (2023-01-21 11:02:19 +0000)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-3
>
> for you to fetch changes up to 08ddbbdf0b55839ca93a12677a30a1ef24634969:
>
>   KVM: selftests: aarch64: Test read-only PT memory regions (2023-01-29 18:49:08 +0000)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.2, take #3
>
> - Yet another fix for non-CPU accesses to the memory backing
>   the VGICv3 subsystem
>
> - A set of fixes for the setlftest checking for the S1PTW
>   behaviour after the fix that went in ealier in the cycle
>
> ----------------------------------------------------------------
> Gavin Shan (3):
>       KVM: arm64: Add helper vgic_write_guest_lock()
>       KVM: arm64: Allow no running vcpu on restoring vgic3 LPI pending status
>       KVM: arm64: Allow no running vcpu on saving vgic3 pending table
>
> Ricardo Koller (4):
>       KVM: selftests: aarch64: Relax userfaultfd read vs. write checks
>       KVM: selftests: aarch64: Do not default to dirty PTE pages on all S1PTWs
>       KVM: selftests: aarch64: Fix check of dirty log PT write
>       KVM: selftests: aarch64: Test read-only PT memory regions
>
>  Documentation/virt/kvm/api.rst                     |  10 +-
>  arch/arm64/kvm/vgic/vgic-its.c                     |  13 +-
>  arch/arm64/kvm/vgic/vgic-v3.c                      |   4 +-
>  arch/arm64/kvm/vgic/vgic.h                         |  14 ++
>  include/kvm/arm_vgic.h                             |   2 +-
>  .../selftests/kvm/aarch64/page_fault_test.c        | 187 ++++++++++++---------
>  6 files changed, 132 insertions(+), 98 deletions(-)
>