Skip to content

Commit 16cc4af

Browse files
zhangshkwilldeacon
authored andcommitted
drivers/perf: hisi: Fix PA PMU counter offset
The PA PMU counter offset was correct in [1] and the driver has already been verified. We want to keep the register offset using lower case character in later version that is consistent with the existed driver. Since there was no functional change, we didn't do more test. However there is typo when modified the PA PMU counter offset by mistake, so fix this bad mistake. [1] https://www.spinics.net/lists/arm-kernel/msg865263.html Cc: Will Deacon <[email protected]> Cc: Mark Rutland <[email protected]> Cc: John Garry <[email protected]> Cc: Qi Liu <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 5816b3e commit 16cc4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/perf/hisilicon/hisi_uncore_pa_pmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define PA_INT_CLEAR 0x1c7c
2828
#define PA_EVENT_TYPE0 0x1c80
2929
#define PA_PMU_VERSION 0x1cf0
30-
#define PA_EVENT_CNT0_L 0x1f00
30+
#define PA_EVENT_CNT0_L 0x1d00
3131

3232
#define PA_EVTYPE_MASK 0xff
3333
#define PA_NR_COUNTERS 0x8

0 commit comments

Comments
 (0)