2023-10-13 21:31:32

by Marc Zyngier

[permalink] [raw]
Subject: [GIT PULL] KVM/arm64 fixes for 6.6, take #2

Paolo,

Here's a set of additional fixes for 6.6. The most important part is
the fix for a breakage of the Permission Indirection feature, which is
a regression. The other (less important) part is a fix for the physical
timer offset.

Please pull,

M.

The following changes since commit 373beef00f7d781a000b12c31fb17a5a9c25969c:

KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID (2023-09-12 13:07:37 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.6-2

for you to fetch changes up to 9404673293b065cbb16b8915530147cac7e80b4d:

KVM: arm64: timers: Correctly handle TGE flip with CNTPOFF_EL2 (2023-10-12 16:55:21 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.6, take #2

- Fix the handling of the phycal timer offset when FEAT_ECV
and CNTPOFF_EL2 are implemented.

- Restore the functionnality of Permission Indirection that
was broken by the Fine Grained Trapping rework

- Cleanup some PMU event sharing code

----------------------------------------------------------------
Anshuman Khandual (1):
KVM: arm64: pmu: Drop redundant check for non-NULL kvm_pmu_events

Joey Gouly (2):
KVM: arm64: Add nPIR{E0}_EL1 to HFG traps
KVM: arm64: POR{E0}_EL1 do not need trap handlers

Marc Zyngier (1):
KVM: arm64: timers: Correctly handle TGE flip with CNTPOFF_EL2

arch/arm64/include/asm/kvm_arm.h | 4 ++--
arch/arm64/kvm/arch_timer.c | 13 +++---------
arch/arm64/kvm/emulate-nested.c | 2 ++
arch/arm64/kvm/hyp/vhe/switch.c | 44 ++++++++++++++++++++++++++++++++++++++++
arch/arm64/kvm/pmu.c | 4 ++--
arch/arm64/kvm/sys_regs.c | 4 ++--
include/kvm/arm_arch_timer.h | 7 +++++++
7 files changed, 62 insertions(+), 16 deletions(-)


2023-10-15 12:24:53

by Paolo Bonzini

[permalink] [raw]
Subject: Re: [GIT PULL] KVM/arm64 fixes for 6.6, take #2

On Fri, Oct 13, 2023 at 11:31 PM Marc Zyngier <[email protected]> wrote:
>
> Paolo,
>
> Here's a set of additional fixes for 6.6. The most important part is
> the fix for a breakage of the Permission Indirection feature, which is
> a regression. The other (less important) part is a fix for the physical
> timer offset.
>
> Please pull,
>
> M.
>
> The following changes since commit 373beef00f7d781a000b12c31fb17a5a9c25969c:
>
> KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID (2023-09-12 13:07:37 +0100)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.6-2
>
> for you to fetch changes up to 9404673293b065cbb16b8915530147cac7e80b4d:
>
> KVM: arm64: timers: Correctly handle TGE flip with CNTPOFF_EL2 (2023-10-12 16:55:21 +0100)

Pulled, thanks.

Paolo

> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.6, take #2
>
> - Fix the handling of the phycal timer offset when FEAT_ECV
> and CNTPOFF_EL2 are implemented.
>
> - Restore the functionnality of Permission Indirection that
> was broken by the Fine Grained Trapping rework
>
> - Cleanup some PMU event sharing code
>
> ----------------------------------------------------------------
> Anshuman Khandual (1):
> KVM: arm64: pmu: Drop redundant check for non-NULL kvm_pmu_events
>
> Joey Gouly (2):
> KVM: arm64: Add nPIR{E0}_EL1 to HFG traps
> KVM: arm64: POR{E0}_EL1 do not need trap handlers
>
> Marc Zyngier (1):
> KVM: arm64: timers: Correctly handle TGE flip with CNTPOFF_EL2
>
> arch/arm64/include/asm/kvm_arm.h | 4 ++--
> arch/arm64/kvm/arch_timer.c | 13 +++---------
> arch/arm64/kvm/emulate-nested.c | 2 ++
> arch/arm64/kvm/hyp/vhe/switch.c | 44 ++++++++++++++++++++++++++++++++++++++++
> arch/arm64/kvm/pmu.c | 4 ++--
> arch/arm64/kvm/sys_regs.c | 4 ++--
> include/kvm/arm_arch_timer.h | 7 +++++++
> 7 files changed, 62 insertions(+), 16 deletions(-)
>