kernel_samsung_a53x/arch/powerpc/perf
Nicholas Piggin 6f52b32c4b powerpc/perf: Fix disabling BHRB and instruction sampling
commit ea142e590aec55ba40c5affb4d49e68c713c63dc upstream.

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: 1cade527f6e9 ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 11:43:20 +01:00
..
req-gen Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8xx-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bhrb.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core-book3s.c powerpc/perf: Fix disabling BHRB and instruction sampling 2024-11-18 11:43:20 +01:00
core-fsl-emb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e500-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e6500-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generic-compat-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7-catalog.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7-domains.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-gpci-requests.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-gpci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-gpci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imc-pmu.c powerpc/imc-pmu: Use the correct spinlock initializer. 2024-11-18 11:43:06 +01:00
internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isa207-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isa207-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc7450-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_regs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power5+-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power5-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power6-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power7-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power7-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power8-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power8-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power9-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power9-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power10-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power10-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppc970-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00