milos-linux/arch/powerpc/perf
Nicholas Piggin ea142e590a powerpc/perf: Fix disabling BHRB and instruction sampling
When the PMU is disabled, MMCRA is not updated to disable BHRB and
instruction sampling. This can lead to those features remaining enabled,
which can slow down a real or emulated CPU.

Fixes: 1cade527f6 ("powerpc/perf: BHRB control to disable BHRB logic when not used")
Cc: stable@vger.kernel.org # v5.9+
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231018153423.298373-1-npiggin@gmail.com
2023-10-20 22:40:20 +11:00
..
req-gen
8xx-pmu.c
bhrb.S
callchain.c
callchain.h
callchain_32.c
callchain_64.c
core-book3s.c powerpc/perf: Fix disabling BHRB and instruction sampling 2023-10-20 22:40:20 +11:00
core-fsl-emb.c powerpc/perf: Convert fsl_emb notifier to state machine callbacks 2023-08-18 23:30:53 +10:00
e500-pmu.c
e6500-pmu.c
generic-compat-pmu.c
hv-24x7-catalog.h
hv-24x7-domains.h
hv-24x7.c powerpc: Annotate endianness of various variables and functions 2023-10-19 17:12:47 +11:00
hv-24x7.h
hv-common.c
hv-common.h
hv-gpci-requests.h
hv-gpci.c powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show affinity domain via partition information 2023-08-16 23:54:49 +10:00
hv-gpci.h
imc-pmu.c powerpc/imc-pmu: Use the correct spinlock initializer. 2023-10-20 17:11:59 +11:00
internal.h
isa207-common.c
isa207-common.h
Makefile
mpc7450-pmu.c powerpc/perf: Properly detect mpc7450 family 2023-03-30 23:35:43 +11:00
perf_regs.c
power5+-pmu.c
power5-pmu.c
power6-pmu.c powerpc/perf: Optimize find_alternatives_list() using binary search 2023-10-19 23:18:59 +11:00
power7-events-list.h
power7-pmu.c
power8-events-list.h
power8-pmu.c
power9-events-list.h
power9-pmu.c
power10-events-list.h
power10-pmu.c
ppc970-pmu.c