Re: [GIT PULL] KVM/arm64 changes for 6.17, take #2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 28, 2025 at 10:00 PM Oliver Upton <oliver.upton@xxxxxxxxx> wrote:
>
> Hi Paolo,
>
> Unfortunately work had me sidelined for an extended period of time, so
> after much delay here is a pile of fixes for 6.17. This is a bit larger
> than I would like, but the handling of on-CPU sysregs has had multiple ugly
> bugs and a localized fix would just be unnecessary churn.

It's fine, I added some extra context from the commit message in my
pull request to Linus.

Thanks,

Paolo

> Details in the tag; please pull.
>
> Thanks,
> Oliver
>
> The following changes since commit 18ec25dd0e97653cdb576bb1750c31acf2513ea7:
>
>   KVM: arm64: selftests: Add FEAT_RAS EL2 registers to get-reg-list (2025-07-28 08:28:05 -0700)
>
> are available in the Git repository at:
>
>   https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/ tags/kvmarm-fixes-6.17-1
>
> for you to fetch changes up to ee372e645178802be7cb35263de941db7b2c5354:
>
>   KVM: arm64: nv: Fix ATS12 handling of single-stage translation (2025-08-28 12:44:42 -0700)
>
> ----------------------------------------------------------------
> KVM/arm64 changes for 6.17, take #2
>
>  - Correctly handle 'invariant' system registers for protected VMs
>
>  - Improved handling of VNCR data aborts, including external aborts
>
>  - Fixes for handling of FEAT_RAS for NV guests, providing a sane
>    fault context during SEA injection and preventing the use of
>    RASv1p1 fault injection hardware
>
>  - Ensure that page table destruction when a VM is destroyed gives an
>    opportunity to reschedule
>
>  - Large fix to KVM's infrastructure for managing guest context loaded
>    on the CPU, addressing issues where the output of AT emulation
>    doesn't get reflected to the guest
>
>  - Fix AT S12 emulation to actually perform stage-2 translation when
>    necessary
>
>  - Avoid attempting vLPI irqbypass when GICv4 has been explicitly
>    disabled for a VM
>
>  - Minor KVM + selftest fixes
>
> ----------------------------------------------------------------
> Arnd Bergmann (1):
>       kvm: arm64: use BUG() instead of BUG_ON(1)
>
> Fuad Tabba (3):
>       KVM: arm64: Handle AIDR_EL1 and REVIDR_EL1 in host for protected VMs
>       KVM: arm64: Sync protected guest VBAR_EL1 on injecting an undef exception
>       arm64: vgic-v2: Fix guest endianness check in hVHE mode
>
> Marc Zyngier (14):
>       KVM: arm64: nv: Properly check ESR_EL2.VNCR on taking a VNCR_EL2 related fault
>       KVM: arm64: selftest: Add standalone test checking for KVM's own UUID
>       KVM: arm64: Correctly populate FAR_EL2 on nested SEA injection
>       arm64: Add capability denoting FEAT_RASv1p1
>       KVM: arm64: Handle RASv1p1 registers
>       KVM: arm64: Ignore HCR_EL2.FIEN set by L1 guest's EL2
>       KVM: arm64: Make ID_AA64PFR0_EL1.RAS writable
>       KVM: arm64: Make ID_AA64PFR1_EL1.RAS_frac writable
>       KVM: arm64: Get rid of ARM64_FEATURE_MASK()
>       KVM: arm64: Check for SYSREGS_ON_CPU before accessing the 32bit state
>       KVM: arm64: Simplify sysreg access on exception delivery
>       KVM: arm64: Fix vcpu_{read,write}_sys_reg() accessors
>       KVM: arm64: Remove __vcpu_{read,write}_sys_reg_{from,to}_cpu()
>       KVM: arm64: nv: Fix ATS12 handling of single-stage translation
>
> Mark Brown (1):
>       KVM: arm64: selftests: Sync ID_AA64MMFR3_EL1 in set_id_regs
>
> Oliver Upton (1):
>       KVM: arm64: nv: Handle SEAs due to VNCR redirection
>
> Raghavendra Rao Ananta (3):
>       KVM: arm64: Don't attempt vLPI mappings when vPE allocation is disabled
>       KVM: arm64: Split kvm_pgtable_stage2_destroy()
>       KVM: arm64: Reschedule as needed when destroying the stage-2 page-tables
>
>  arch/arm64/include/asm/kvm_host.h                  | 111 +-----
>  arch/arm64/include/asm/kvm_mmu.h                   |   1 +
>  arch/arm64/include/asm/kvm_pgtable.h               |  30 ++
>  arch/arm64/include/asm/kvm_pkvm.h                  |   4 +-
>  arch/arm64/include/asm/kvm_ras.h                   |  25 --
>  arch/arm64/include/asm/sysreg.h                    |   3 -
>  arch/arm64/kernel/cpufeature.c                     |  24 ++
>  arch/arm64/kvm/arm.c                               |   8 +-
>  arch/arm64/kvm/at.c                                |   6 +-
>  arch/arm64/kvm/emulate-nested.c                    |   2 +-
>  arch/arm64/kvm/hyp/exception.c                     |  20 +-
>  arch/arm64/kvm/hyp/nvhe/list_debug.c               |   2 +-
>  arch/arm64/kvm/hyp/nvhe/sys_regs.c                 |   5 +
>  arch/arm64/kvm/hyp/pgtable.c                       |  25 +-
>  arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c           |   2 +-
>  arch/arm64/kvm/hyp/vhe/switch.c                    |   5 +-
>  arch/arm64/kvm/mmu.c                               |  65 +++-
>  arch/arm64/kvm/nested.c                            |   5 +-
>  arch/arm64/kvm/pkvm.c                              |  11 +-
>  arch/arm64/kvm/sys_regs.c                          | 419 ++++++++++++++-------
>  arch/arm64/kvm/vgic/vgic-mmio-v3.c                 |   8 +
>  arch/arm64/kvm/vgic/vgic-mmio.c                    |   2 +-
>  arch/arm64/kvm/vgic/vgic.h                         |  10 +-
>  arch/arm64/tools/cpucaps                           |   1 +
>  tools/arch/arm64/include/asm/sysreg.h              |   3 -
>  tools/testing/selftests/kvm/Makefile.kvm           |   1 +
>  .../testing/selftests/kvm/arm64/aarch32_id_regs.c  |   2 +-
>  .../testing/selftests/kvm/arm64/debug-exceptions.c |  12 +-
>  tools/testing/selftests/kvm/arm64/kvm-uuid.c       |  70 ++++
>  tools/testing/selftests/kvm/arm64/no-vgic-v3.c     |   4 +-
>  .../testing/selftests/kvm/arm64/page_fault_test.c  |   6 +-
>  tools/testing/selftests/kvm/arm64/set_id_regs.c    |   9 +-
>  .../selftests/kvm/arm64/vpmu_counter_access.c      |   2 +-
>  tools/testing/selftests/kvm/lib/arm64/processor.c  |   6 +-
>  34 files changed, 560 insertions(+), 349 deletions(-)
>  delete mode 100644 arch/arm64/include/asm/kvm_ras.h
>  create mode 100644 tools/testing/selftests/kvm/arm64/kvm-uuid.c
>






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux