linux_dsm_epyc7002/arch/powerpc/perf
Anju T Sudhakar a36e8ba60b powerpc/perf: Implement a global lock to avoid races between trace, core and thread imc events.
IMC(In-memory Collection Counters) does performance monitoring in
two different modes, i.e accumulation mode(core-imc and thread-imc events),
and trace mode(trace-imc events). A cpu thread can either be in
accumulation-mode or trace-mode at a time and this is done via the LDBAR
register in POWER architecture. The current design does not address the
races between thread-imc and trace-imc events.

Patch implements a global id and lock to avoid the races between
core, trace and thread imc events. With this global id-lock
implementation, the system can either run core, thread or trace imc
events at a time. i.e. to run any core-imc events, thread/trace imc events
should not be enabled/monitored.

Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200313055238.8656-1-anju@linux.vnet.ibm.com
2020-04-03 00:09:58 +11:00
..
req-gen
8xx-pmu.c powerpc/8xx: Use alternative scratch registers in DTLB miss handler 2020-01-27 22:36:16 +11:00
bhrb.S
callchain.c powerpc: use probe_user_read() and probe_user_write() 2020-01-26 00:11:35 +11:00
core-book3s.c powerpc: use probe_user_read() and probe_user_write() 2020-01-26 00:11:35 +11:00
core-fsl-emb.c
e500-pmu.c
e6500-pmu.c
generic-compat-pmu.c
hv-24x7-catalog.h
hv-24x7-domains.h
hv-24x7.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
hv-24x7.h
hv-common.c
hv-common.h
hv-gpci-requests.h
hv-gpci.c
hv-gpci.h
imc-pmu.c powerpc/perf: Implement a global lock to avoid races between trace, core and thread imc events. 2020-04-03 00:09:58 +11:00
internal.h
isa207-common.c
isa207-common.h
Makefile
mpc7450-pmu.c
perf_regs.c
power5-pmu.c
power5+-pmu.c
power6-pmu.c
power7-events-list.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
power7-pmu.c
power8-events-list.h
power8-pmu.c
power9-events-list.h
power9-pmu.c
ppc970-pmu.c