diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2019-01-04 09:21:34 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-01-04 13:13:27 +0300 |
commit | eb4f5213251833567570df1a09803f895653274d (patch) | |
tree | 59c4b4d47da39c21018cbeee75089dd25bab81f3 /arch/arm64 | |
parent | 2f328fea47ac9020ac47c88dd01cd8f93da55bcc (diff) | |
download | linux-eb4f5213251833567570df1a09803f895653274d.tar.xz |
drivers/perf: hisi: Fixup one DDRC PMU register offset
For DDRC PMU, each PMU counter is fixed-purpose. There is a mismatch
between perf list and driver definition on rw_chg event.
# perf list | grep chg
hisi_sccl1_ddrc0/rnk_chg/ [Kernel PMU event]
hisi_sccl1_ddrc0/rw_chg/ [Kernel PMU event]
But the register offset of rw_chg event is not defined in the driver,
meanwhile bnk_chg register offset is mis-defined, let's fixup it.
Fixes: 904dcf03f086 ("perf: hisi: Add support for HiSilicon SoC DDRC PMU driver")
Cc: stable@vger.kernel.org
Cc: John Garry <john.garry@huawei.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Reported-by: Weijian Huang <huangweijian4@hisilicon.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions