Re: [PATCH v7 00/11] arm64: perf: Add support for event counting threshold

From: Will Deacon
Date: Tue Dec 12 2023 - 12:21:22 EST


On Mon, 11 Dec 2023 16:13:12 +0000, James Clark wrote:
> Changes since v6:
>
> * Remove inlines from arm_pmuv3.c
> * Use format attribute mechanism from SPE
> * Re-arrange attributes so that threshold comes last and can
> potentially be extended
> * Emit an error if the max threshold is exceeded rather than clamping
> * Convert all register fields to GENMASK
>
> [...]

Thanks for respinning, James. This looks really good now.

Applied to will (for-next/perf), thanks!

[01/11] arm: perf: Remove inlines from arm_pmuv3.c
https://git.kernel.org/will/c/9343c790e6de
[02/11] arm: perf/kvm: Use GENMASK for ARMV8_PMU_PMCR_N
https://git.kernel.org/will/c/62e1f212e5fe
[03/11] arm: perf: Use GENMASK for PMMIR fields
https://git.kernel.org/will/c/2f6a00f30600
[04/11] arm: perf: Convert remaining fields to use GENMASK
https://git.kernel.org/will/c/d30f09b6d7de
[05/11] arm64: perf: Include threshold control fields in PMEVTYPER mask
https://git.kernel.org/will/c/3115ee021bfb
[06/11] arm: pmu: Share user ABI format mechanism with SPE
https://git.kernel.org/will/c/f6da86969a3c
[07/11] perf/arm_dmc620: Remove duplicate format attribute #defines
https://git.kernel.org/will/c/a5f4ca68f348
[08/11] KVM: selftests: aarch64: Update tools copy of arm_pmuv3.h
https://git.kernel.org/will/c/c7b98bf0fc79
[09/11] arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs
https://git.kernel.org/will/c/186c91aaf549
[10/11] arm64: perf: Add support for event counting threshold
https://git.kernel.org/will/c/816c26754447
[11/11] Documentation: arm64: Document the PMU event counting threshold feature
https://git.kernel.org/will/c/bd690638e2c2

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev