On Tue, Feb 4, 2025 at 4:57 PM Marc Zyngier <maz@xxxxxxxxxx> wrote: > > Paolo, > > This is the first set of KVM/arm64 fixes for 6.14, most of them > addressing issues exposed by code introduced in the merge window > (timers, debug, protected mode...). Details in the tag, as usual. > > Please pull, Done, thanks. Paolo > > M. > > The following changes since commit 01009b06a6b52d8439c55b530633a971c13b6cb2: > > arm64/sysreg: Get rid of TRFCR_ELx SysregFields (2025-01-17 11:07:55 +0000) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.14-1 > > for you to fetch changes up to 0e459810285503fb354537e84049e212c5917c33: > > KVM: arm64: timer: Don't adjust the EL2 virtual timer offset (2025-02-04 15:10:38 +0000) > > ---------------------------------------------------------------- > KVM/arm64 fixes for 6.14, take #1 > > - Correctly clean the BSS to the PoC before allowing EL2 to access it > on nVHE/hVHE/protected configurations > > - Propagate ownership of debug registers in protected mode after > the rework that landed in 6.14-rc1 > > - Stop pretending that we can run the protected mode without a GICv3 > being present on the host > > - Fix a use-after-free situation that can occur if a vcpu fails to > initialise the NV shadow S2 MMU contexts > > - Always evaluate the need to arm a background timer for fully emulated > guest timers > > - Fix the emulation of EL1 timers in the absence of FEAT_ECV > > - Correctly handle the EL2 virtual timer, specially when HCR_EL2.E2H==0 > > ---------------------------------------------------------------- > Lokesh Vutla (1): > KVM: arm64: Flush hyp bss section after initialization of variables in bss > > Marc Zyngier (4): > KVM: arm64: Fix nested S2 MMU structures reallocation > KVM: arm64: timer: Always evaluate the need for a soft timer > KVM: arm64: timer: Correctly handle EL1 timer emulation when !FEAT_ECV > KVM: arm64: timer: Don't adjust the EL2 virtual timer offset > > Oliver Upton (2): > KVM: arm64: Flush/sync debug state in protected mode > KVM: arm64: Fail protected mode init if no vgic hardware is present > > arch/arm64/kvm/arch_timer.c | 49 +++++++++----------------------------- > arch/arm64/kvm/arm.c | 20 ++++++++++++++++ > arch/arm64/kvm/hyp/nvhe/hyp-main.c | 24 +++++++++++++++++++ > arch/arm64/kvm/nested.c | 9 +++---- > arch/arm64/kvm/sys_regs.c | 16 ++++++++++--- > 5 files changed, 73 insertions(+), 45 deletions(-) >