linux-sg2042/drivers/perf/hisilicon
Shaokun Zhang 961abd78ad drivers/perf: hisi: Fix wrong value for all counters enable
In L3C uncore PMU drivers, bit16 is used to control all counters enable &
disable. Wrong value is given in the driver and its default value is 1'b1,
it can work because each PMU counter has its own control bits too.
Let's fix the wrong value.

Fixes: 2940bc4333 ("perf: hisi: Add support for HiSilicon SoC L3C PMU driver")
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/1591350221-32275-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-06-08 15:46:41 +01:00
..
Kconfig drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
Makefile drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
hisi_uncore_ddrc_pmu.c drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
hisi_uncore_hha_pmu.c drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
hisi_uncore_l3c_pmu.c drivers/perf: hisi: Fix wrong value for all counters enable 2020-06-08 15:46:41 +01:00
hisi_uncore_pmu.c drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
hisi_uncore_pmu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00