Re: [PATCH] arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
From: Will Deacon
Date: Tue Jun 01 2021 - 14:21:31 EST
On Fri, 30 Apr 2021 09:26:59 +0800, Yang Jihong wrote:
> Commit 3a95200d3f89a ("arm_pmu: Change API to support 64bit counter values")
> changes the input "value" type from 32-bit to 64-bit,
> which introduces the following problem:
> ARMv7 PMU counters is 32-bit width, in big-endian mode, write counter uses
> high 32-bit, which writes an incorrect value.
>
> Before:
>
> [...]
Applied to will (for-next/perf), thanks!
[1/1] arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
https://git.kernel.org/will/c/fdbef8c4e68a
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev