* [GIT PULL] KVM/arm64 fixes for 7.1, take #4
@ 2026-05-29 10:54 Marc Zyngier
2026-05-29 17:31 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2026-05-29 10:54 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Mark Brown, Qiang Ma, Vincent Donnefort, Steffen Eiden,
Joey Gouly, Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
linux-arm-kernel, kvm
Paolo,
This is hopefully the last round of fixes for 7.1 on the KVM/arm64
front.
We have yet another batch of fixes for the newly introduced tracing
code (memory leaks), a fix for a config symbol misspelled in the
source code (therefore being permanently disabled), a fix for an
embarrassing bug in the PMU emulation (write any value as long as it
is zero), and an SVE sanitisation bug in nested virt resulting in a
guest being able to access more than it really should.
I've purposely refrained from adding another lot of fixes for more
benign issues since His Majesty has announced he'd be picky about
that. Fear not, they'll be in the 7.2 pull request.
Please pull,
M.
The following changes since commit 1702da76e017ae0fbe1a92b07bc332972c293e89:
KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc (2026-05-20 08:08:37 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-7.1-4
for you to fetch changes up to 83726330748981372bde86ed5411d7b306612991:
KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor (2026-05-29 10:04:00 +0100)
----------------------------------------------------------------
KVM/arm64 fixes for 7.1, take #4
- Restore CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC to its former glory by
making sure the config symbol is correctly spelled out in the code
- Don't reset the AArch32 view of the PMU counters to zero when the
guest is writing to them
- Fix an assorted collection of memory leaks in the newly added tracing
code
- Fix the capping of ZCR_EL2 which could be used in an unsanitised way
by an L2 guest
----------------------------------------------------------------
Mark Brown (1):
KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor
Qiang Ma (1):
KVM: arm64: PMU: Preserve AArch32 counter low bits
Vincent Donnefort (4):
KVM: arm64: Fix CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC
KVM: arm64: Fix meta-page unsharing in pKVM hyp tracing
KVM: arm64: Fix rollback in hyp_trace_buffer_share_hyp()
KVM: arm64: Fix memory leak in hyp_trace_unload()
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/arm64/kvm/hyp/include/hyp/switch.h | 16 ++++++++++------
arch/arm64/kvm/hyp/nvhe/host.S | 2 +-
arch/arm64/kvm/hyp_trace.c | 9 ++++++---
arch/arm64/kvm/nested.c | 5 +++++
arch/arm64/kvm/pmu-emul.c | 4 ++--
arch/arm64/kvm/sys_regs.c | 11 +++--------
7 files changed, 28 insertions(+), 21 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] KVM/arm64 fixes for 7.1, take #4
2026-05-29 10:54 [GIT PULL] KVM/arm64 fixes for 7.1, take #4 Marc Zyngier
@ 2026-05-29 17:31 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2026-05-29 17:31 UTC (permalink / raw)
To: Marc Zyngier
Cc: Mark Brown, Qiang Ma, Vincent Donnefort, Steffen Eiden,
Joey Gouly, Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
linux-arm-kernel, kvm
On Fri, May 29, 2026 at 12:54 PM Marc Zyngier <maz@kernel.org> wrote:
>
> Paolo,
>
> This is hopefully the last round of fixes for 7.1 on the KVM/arm64
> front.
>
> We have yet another batch of fixes for the newly introduced tracing
> code (memory leaks), a fix for a config symbol misspelled in the
> source code (therefore being permanently disabled), a fix for an
> embarrassing bug in the PMU emulation (write any value as long as it
> is zero), and an SVE sanitisation bug in nested virt resulting in a
> guest being able to access more than it really should.
>
> I've purposely refrained from adding another lot of fixes for more
> benign issues since His Majesty has announced he'd be picky about
> that. Fear not, they'll be in the 7.2 pull request.
I'm afraid I'll already have enough reasons to be shouted at this
week. :) Pulled, thanks.
Paolo
> Please pull,
>
> M.
>
> The following changes since commit 1702da76e017ae0fbe1a92b07bc332972c293e89:
>
> KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc (2026-05-20 08:08:37 +0100)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-7.1-4
>
> for you to fetch changes up to 83726330748981372bde86ed5411d7b306612991:
>
> KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor (2026-05-29 10:04:00 +0100)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 7.1, take #4
>
> - Restore CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC to its former glory by
> making sure the config symbol is correctly spelled out in the code
>
> - Don't reset the AArch32 view of the PMU counters to zero when the
> guest is writing to them
>
> - Fix an assorted collection of memory leaks in the newly added tracing
> code
>
> - Fix the capping of ZCR_EL2 which could be used in an unsanitised way
> by an L2 guest
>
> ----------------------------------------------------------------
> Mark Brown (1):
> KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor
>
> Qiang Ma (1):
> KVM: arm64: PMU: Preserve AArch32 counter low bits
>
> Vincent Donnefort (4):
> KVM: arm64: Fix CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC
> KVM: arm64: Fix meta-page unsharing in pKVM hyp tracing
> KVM: arm64: Fix rollback in hyp_trace_buffer_share_hyp()
> KVM: arm64: Fix memory leak in hyp_trace_unload()
>
> arch/arm64/include/asm/kvm_host.h | 2 +-
> arch/arm64/kvm/hyp/include/hyp/switch.h | 16 ++++++++++------
> arch/arm64/kvm/hyp/nvhe/host.S | 2 +-
> arch/arm64/kvm/hyp_trace.c | 9 ++++++---
> arch/arm64/kvm/nested.c | 5 +++++
> arch/arm64/kvm/pmu-emul.c | 4 ++--
> arch/arm64/kvm/sys_regs.c | 11 +++--------
> 7 files changed, 28 insertions(+), 21 deletions(-)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-29 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29 10:54 [GIT PULL] KVM/arm64 fixes for 7.1, take #4 Marc Zyngier
2026-05-29 17:31 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox