mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Anshuman Khandual](/assets/img/avatar_default.png)
Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is accessible via the system registers. The TRBE supports different addressing modes including CPU virtual address and buffer modes including the circular buffer mode. The TRBE buffer is addressed by a base pointer (TRBBASER_EL1), an write pointer (TRBPTR_EL1) and a limit pointer (TRBLIMITR_EL1). But the access to the trace buffer could be prohibited by a higher exception level (EL3 or EL2), indicated by TRBIDR_EL1.P. The TRBE can also generate a CPU private interrupt (PPI) on address translation errors and when the buffer is full. Overall implementation here is inspired from the Arm SPE driver. Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> [ Mark the buffer truncated on WRAP event, error code cleanup ] Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20210405164307.1720226-18-suzuki.poulose@arm.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
26 lines
1.2 KiB
Makefile
26 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for CoreSight drivers.
|
|
#
|
|
obj-$(CONFIG_CORESIGHT) += coresight.o
|
|
coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \
|
|
coresight-sysfs.o
|
|
obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o
|
|
coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \
|
|
coresight-tmc-etr.o
|
|
obj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o
|
|
obj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o
|
|
obj-$(CONFIG_CORESIGHT_LINKS_AND_SINKS) += coresight-funnel.o \
|
|
coresight-replicator.o
|
|
obj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o
|
|
coresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
|
|
coresight-etm3x-sysfs.o
|
|
obj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o
|
|
coresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o
|
|
obj-$(CONFIG_CORESIGHT_STM) += coresight-stm.o
|
|
obj-$(CONFIG_CORESIGHT_CPU_DEBUG) += coresight-cpu-debug.o
|
|
obj-$(CONFIG_CORESIGHT_CATU) += coresight-catu.o
|
|
obj-$(CONFIG_CORESIGHT_CTI) += coresight-cti.o
|
|
obj-$(CONFIG_CORESIGHT_TRBE) += coresight-trbe.o
|
|
coresight-cti-y := coresight-cti-core.o coresight-cti-platform.o \
|
|
coresight-cti-sysfs.o
|