linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 6.14, take #1
@ 2025-02-04 15:56 Marc Zyngier
  2025-02-06  9:39 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2025-02-04 15:56 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Alexander Potapenko, Dmytro Terletskyi, Fuad Tabba, Lokesh Vutla,
	Mark Brown, Oliver Upton, Volodymyr Babchuk, Wei-Lin Chang,
	Joey Gouly, Suzuki K Poulose, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

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,

	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(-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 6.14, take #1
  2025-02-04 15:56 [GIT PULL] KVM/arm64 fixes for 6.14, take #1 Marc Zyngier
@ 2025-02-06  9:39 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2025-02-06  9:39 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Alexander Potapenko, Dmytro Terletskyi, Fuad Tabba, Lokesh Vutla,
	Mark Brown, Oliver Upton, Volodymyr Babchuk, Wei-Lin Chang,
	Joey Gouly, Suzuki K Poulose, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

On Tue, Feb 4, 2025 at 4:57 PM Marc Zyngier <maz@kernel.org> 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(-)
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-06  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 15:56 [GIT PULL] KVM/arm64 fixes for 6.14, take #1 Marc Zyngier
2025-02-06  9:39 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).