[PATCH V2 0/7] arm64/boot: Enable EL2 requirements for FEAT_PMUv3p9
Will Deacon
will at kernel.org
Fri Feb 28 23:58:50 PST 2025
On Mon, Feb 03, 2025 at 10:38:21AM +0530, Anshuman Khandual wrote:
> This series adds fine grained trap control in EL2 required for FEAT_PMUv3p9
> registers like PMICNTR_EL0, PMICFILTR_EL0, and PMUACR_EL1 which are already
> being used in the kernel. This is required to prevent their EL1 access trap
> into EL2.
>
> PMZR_EL0 register trap control i.e HDFGWTR2_EL2.nPMZR_EL0 remains unchanged
> for now as it does not get accessed in the kernel, and there is no plan for
> its access from user space.
>
> I have taken the liberty to pick up all the review tags for patches related
> to tools sysreg update from the KVM FGT2 V2 patch series posted earlier.
>
> https://lore.kernel.org/all/20241210055311.780688-1-anshuman.khandual@arm.com/
>
> Rob had earler mentioned about FEAT_FGT2 based trap control requirement for
> FEAT_PMUv3p9 registers that are currently being used in kernel. The context
> can be found here.
>
> https://lore.kernel.org/all/20241216234251.GA629562-robh@kernel.org/
>
> This series is based on v6.14-rc1
>
> Changes in V2:
>
> - Rebased on v6.14-rc1
> - Updated tools sysreg patches with latest DDI0601 2024-12 definitions
> - Updated document version as DDI0601 2024-12 in all commit messages
> - Added latest tags from Rob Herring for the last patch
I know these have been applied already but, fwiw, patches 1-6 look correct
when compared against the .xml:
Acked-by: Will Deacon <will at kernel.org>
I presume Catalin will drop/replace the last patch.
Will
More information about the linux-arm-kernel
mailing list