Re: [PATCH v2] drivers/perf: hisi: Enable HiSilicon Erratum 162700402 quirk for HIP09

From: Will Deacon
Date: Mon Mar 04 2024 - 10:20:11 EST


On Tue, 27 Feb 2024 20:52:31 +0800, Junhao He wrote:
> HiSilicon UC PMU v2 suffers the erratum 162700402 that the PMU counter
> cannot be set due to the lack of clock under power saving mode. This will
> lead to error or inaccurate counts. The clock can be enabled by the PMU
> global enabling control.
>
> This patch tries to fix this by set the UC PMU enable before set event
> period to turn on the clock, and then restore the UC PMU configuration.
> The counter register can hold its value without a clock.
>
> [...]

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

[1/1] drivers/perf: hisi: Enable HiSilicon Erratum 162700402 quirk for HIP09
https://git.kernel.org/will/c/e10b6976f6b9

Cheers,
--
Will

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