Re: [PATCH] arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
From: Will Deacon <will@kernel.org>
Date: 2021-06-01 18:21:32
Also in:
lkml
From: Will Deacon <will@kernel.org>
Date: 2021-06-01 18:21:32
Also in:
lkml
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel