linux-uconsole/drivers/perf
Shaokun Zhang 86dcb94392 drivers/perf: hisi: Fixup one DDRC PMU register offset
commit eb4f521325 upstream.

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: 904dcf03f0 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-13 09:51:10 +01:00
..
hisilicon drivers/perf: hisi: Fixup one DDRC PMU register offset 2019-01-13 09:51:10 +01:00
arm-cci.c perf/arm-cci: Remove VLA usage 2018-07-02 12:50:03 +01:00
arm-ccn.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
arm_dsu_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
arm_pmu.c arm64: perf: Reject stand-alone CHAIN events for PMUv3 2018-10-12 15:25:17 +01:00
arm_pmu_acpi.c arm_pmu: acpi: request IRQs up-front 2018-02-20 11:34:54 +00:00
arm_pmu_platform.c drivers/perf: Initialise return value in armpmu_request_irqs() 2018-07-04 11:50:50 +01:00
arm_spe_pmu.c perf: simplify getting .drvdata 2018-05-21 18:02:35 +01:00
Kconfig drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency 2018-05-22 17:11:12 +01:00
Makefile drivers/bus: Split Arm CCI driver 2018-03-06 17:26:17 +01:00
qcom_l2_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
qcom_l3_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
xgene_pmu.c drivers/perf: xgene_pmu: Fix IOB SLOW PMU parser error 2018-06-18 17:48:42 +01:00