linux-imx/drivers/perf
Samuel Holland b0fe6e72e6 drivers/perf: riscv: Reset the counter to hpmevent mapping while starting cpus
[ Upstream commit 7dd646cf74 ]

Currently, we stop all the counters while a new cpu is brought online.
However, the hpmevent to counter mappings are not reset. The firmware may
have some stale encoding in their mapping structure which may lead to
undesirable results. We have not encountered such scenario though.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240628-misc_perf_fixes-v4-2-e01cfddcf035@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:50:55 +02:00
..
amlogic
arm_cspmu
hisilicon
alibaba_uncore_drw_pmu.c
apple_m1_cpu_pmu.c
arm_dmc620_pmu.c
arm_dsu_pmu.c
arm_pmu_acpi.c
arm_pmu_platform.c
arm_pmu.c
arm_pmuv3.c
arm_smmuv3_pmu.c
arm_spe_pmu.c
arm-cci.c
arm-ccn.c
arm-cmn.c
cxl_pmu.c
fsl_imx8_ddr_perf.c
fsl_imx9_ddr_perf.c
Kconfig
Makefile
marvell_cn10k_ddr_pmu.c
marvell_cn10k_tad_pmu.c
qcom_l2_pmu.c
qcom_l3_pmu.c
riscv_pmu_legacy.c
riscv_pmu_sbi.c
riscv_pmu.c
thunderx2_pmu.c
xgene_pmu.c