/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-tmc | 1 What: /sys/bus/coresight/devices/<memory_map>.tmc/trigger_cntr 10 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rsz 14 Description: (Read) Defines the size, in 32-bit words, of the local RAM buffer. 17 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/sts 21 Description: (Read) Shows the value held by the TMC status register. The value 24 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rrp 28 Description: (Read) Shows the value held by the TMC RAM Read Pointer register 33 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rwp 37 Description: (Read) Shows the value held by the TMC RAM Write Pointer register 39 the CoreSight bus into the Trace RAM. The value is read directly [all …]
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for CoreSight drivers. 7 subdir-ccflags-y += -Wextra -Wunused -Wno-unused-parameter 8 subdir-ccflags-y += -Wmissing-declarations 9 subdir-ccflags-y += -Wmissing-format-attribute 10 subdir-ccflags-y += -Wmissing-prototypes 11 subdir-ccflags-y += -Wold-style-definition 12 subdir-ccflags-y += -Wmissing-include-dirs 13 subdir-ccflags-y += -Wno-sign-compare 15 $(call cc-option, -Wrestrict) \ [all …]
|
D | coresight-tmc-core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Description: CoreSight Trace Memory Controller driver 22 #include <linux/dma-mapping.h> 26 #include <linux/coresight.h> 30 #include "coresight-priv.h" 31 #include "coresight-tmc.h" 39 struct coresight_device *csdev = drvdata->csdev; in tmc_wait_for_tmcready() 40 struct csdev_access *csa = &csdev->access; in tmc_wait_for_tmcready() 44 dev_err(&csdev->dev, in tmc_wait_for_tmcready() 45 "timeout while waiting for TMC to be Ready\n"); in tmc_wait_for_tmcready() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Coresight configuration 5 menuconfig CORESIGHT config 6 tristate "CoreSight Tracing Support" 13 This framework provides a kernel interface for the CoreSight debug 15 a topological view of the CoreSight components based on a DT 20 module will be called coresight. 22 if CORESIGHT 24 tristate "CoreSight Link and Sink drivers" 26 This enables support for CoreSight link and sink drivers that are [all …]
|
D | coresight-tmc-etf.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/coresight.h> 12 #include "coresight-priv.h" 13 #include "coresight-tmc.h" 14 #include "coresight-etm-perf.h" 23 CS_UNLOCK(drvdata->base); in __tmc_etb_enable_hw() 28 dev_err(&drvdata->csdev->dev, in __tmc_etb_enable_hw() 29 "Failed to enable: TMC not ready\n"); in __tmc_etb_enable_hw() 30 CS_LOCK(drvdata->base); in __tmc_etb_enable_hw() 34 writel_relaxed(TMC_MODE_CIRCULAR_BUFFER, drvdata->base + TMC_MODE); in __tmc_etb_enable_hw() [all …]
|
D | coresight-tmc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/dma-mapping.h> 45 /* TMC_CTL - 0x020 */ 47 /* TMC_STS - 0x00C */ 53 * TMC_AXICTL - 0x110 55 * TMC AXICTL format for SoC-400 56 * Bits [0-1] : ProtCtrlBit0-1 57 * Bits [2-5] : CacheCtrlBits 0-3 (AXCACHE) 60 * Bits [8-11] : WrBurstLen 61 * Bits [12-31] : Reserved. [all …]
|
D | coresight-tmc-etr.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/coresight.h> 9 #include <linux/dma-mapping.h> 17 #include "coresight-catu.h" 18 #include "coresight-etm-perf.h" 19 #include "coresight-priv.h" 20 #include "coresight-tmc.h" 36 * etr_perf_buffer - Perf buffer used for ETR 37 * @drvdata - The ETR drvdaga this buffer has been allocated for. 38 * @etr_buf - Actual buffer used by the ETR [all …]
|
D | coresight-catu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Coresight Address Translation Unit support 13 #include <linux/dma-mapping.h> 19 #include "coresight-catu.h" 20 #include "coresight-priv.h" 21 #include "coresight-tmc.h" 24 dev_get_drvdata(csdev->dev.parent) 45 * ------------------------------------ 46 * | Address [63-12] | SBZ | V| 47 * ------------------------------------ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/arm/ |
D | arm,coresight-tmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-tmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Arm CoreSight Trace Memory Controller 10 - Mathieu Poirier <mathieu.poirier@linaro.org> 11 - Mike Leach <mike.leach@linaro.org> 12 - Leo Yan <leo.yan@linaro.org> 13 - Suzuki K Poulose <suzuki.poulose@arm.com> 16 CoreSight components are compliant with the ARM CoreSight architecture [all …]
|
D | qcom,coresight-remote-etm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/qcom,coresight-remote-etm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Coresight Remote ETM(Embedded Trace Macrocell) 10 - Jinlong Mao <quic_jinlmao@quicinc.com> 11 - Tao Zhang <quic_taozha@quicinc.com> 14 Support for ETM trace collection on remote processor using coresight 17 via coresight TMC sinks. 21 const: qcom,coresight-remote-etm [all …]
|
D | arm,embedded-trace-extension.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/arm/arm,embedded-trace-extension.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Suzuki K Poulose <suzuki.poulose@arm.com> 12 - Mathieu Poirier <mathieu.poirier@linaro.org> 16 allows tracing the CPU execution. It overlaps with the CoreSight ETMv4 18 The trace generated by the ETE could be stored via legacy CoreSight 19 components (e.g, TMC-ETR) or other means (e.g, using a per CPU buffer 21 legacy CoreSight components, a node must be listed per instance, along [all …]
|
D | arm,coresight-catu.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-catu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Arm Coresight Address Translation Unit (CATU) 10 - Mathieu Poirier <mathieu.poirier@linaro.org> 11 - Mike Leach <mike.leach@linaro.org> 12 - Leo Yan <leo.yan@linaro.org> 13 - Suzuki K Poulose <suzuki.poulose@arm.com> 16 CoreSight components are compliant with the ARM CoreSight architecture [all …]
|
D | qcom,coresight-tpda.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/arm/qcom,coresight-tpda.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Trace, Profiling and Diagnostics Aggregator - TPDA 15 task for free-flowing data from TPDM (i.e. CMB and DSB data set flows). 19 TPDM source to TMC sink. TPDM can directly connect to TPDA's inport or 23 Enable coresight sink first. 25 echo 1 > /sys/bus/coresight/devices/tmc_etf0/enable_sink 26 echo 1 > /sys/bus/coresight/devices/tpdm0/enable_source [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/hisilicon/ |
D | hi3660-coresight.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * dtsi for Hisilicon Hi3660 Coresight 6 * Copyright (C) 2016-2018 HiSilicon Ltd. 15 compatible = "arm,coresight-etm4x", "arm,primecell"; 18 clock-names = "apb_pclk"; 21 out-ports { 24 remote-endpoint = 32 compatible = "arm,coresight-etm4x", "arm,primecell"; 35 clock-names = "apb_pclk"; 38 out-ports { [all …]
|
D | hi6220-coresight.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dtsi file for Hisilicon Hi6220 coresight 14 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 17 clock-names = "apb_pclk"; 19 out-ports { 22 remote-endpoint = 28 in-ports { 31 remote-endpoint = 39 compatible = "arm,coresight-tmc", "arm,primecell"; 42 clock-names = "apb_pclk"; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/sprd/ |
D | sc9863a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/clock/sprd,sc9863a-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #address-cells = <2>; 15 #size-cells = <0>; 17 cpu-map { 48 compatible = "arm,cortex-a55"; 50 enable-method = "psci"; 51 cpu-idle-states = <&CORE_PD>; 56 compatible = "arm,cortex-a55"; [all …]
|
D | sc9860.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 15 #address-cells = <2>; 16 #size-cells = <0>; 18 cpu-map { 52 compatible = "arm,cortex-a53"; 54 enable-method = "psci"; 55 cpu-idle-states = <&CORE_PD &CLUSTER_PD>; [all …]
|
D | sc9836.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #address-cells = <2>; 16 #size-cells = <0>; 20 compatible = "arm,cortex-a53"; 22 enable-method = "psci"; 27 compatible = "arm,cortex-a53"; 29 enable-method = "psci"; 34 compatible = "arm,cortex-a53"; 36 enable-method = "psci"; [all …]
|
D | ums512.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/clock/sprd,ums512-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 #address-cells = <2>; 18 #size-cells = <0>; 20 cpu-map { 51 compatible = "arm,cortex-a55"; [all …]
|
/linux-6.12.1/Documentation/trace/coresight/ |
D | coresight.rst | 2 Coresight - HW Assisted Tracing on ARM 9 ------------ 11 Coresight is an umbrella of technologies allowing for the debugging of ARM 24 flows through the coresight system (via ATB bus) using links that are connecting 25 the emanating source to a sink(s). Sinks serve as endpoints to the coresight 28 host without fear of filling up the onboard coresight memory buffer. 30 At typical coresight system would look like this:: 38 0 CPU 0<-->: C : 0 CPU 0<-->: C : : C : @ STM @ || System || 39 |->0000000 : T : |->0000000 : T : : T :<--->@@@@@ || Memory || 40 | #######<-->: I : | #######<-->: I : : I : @@@<-| |||||||||||| [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/arm/ |
D | juno-cs-r1r2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 8 clock-names = "apb_pclk"; 9 power-domains = <&scpi_devpd 0>; 10 out-ports { 13 remote-endpoint = <&etf1_in_port>; 17 in-ports { 27 compatible = "arm,coresight-tmc", "arm,primecell"; 31 clock-names = "apb_pclk"; 32 power-domains = <&scpi_devpd 0>; [all …]
|
D | juno-base.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "juno-clocks.dtsi" 3 #include "juno-motherboard.dtsi" 11 compatible = "arm,armv7-timer-mem"; 13 clock-frequency = <50000000>; 14 #address-cells = <1>; 15 #size-cells = <1>; 19 frame-number = <1>; 31 #mbox-cells = <1>; 33 clock-names = "apb_pclk"; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 6 #include <dt-bindings/arm/coresight-cti-dt.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8916.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8916.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8916.h> 13 #include <dt-bindings/soc/qcom,apr.h> [all …]
|
D | sm6115.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 #include <dt-bindings/clock/qcom,gcc-sm6115.h> 7 #include <dt-bindings/clock/qcom,sm6115-dispcc.h> 8 #include <dt-bindings/clock/qcom,sm6115-gpucc.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/dma/qcom-gpi.h> 11 #include <dt-bindings/firmware/qcom,scm.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interconnect/qcom,rpm-icc.h> 14 #include <dt-bindings/interconnect/qcom,sm6115.h> [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx7s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/clock/imx7d-clock.h> 7 #include <dt-bindings/power/imx7-power.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/reset/imx7-reset.h> 12 #include "imx7d-pinfunc.h" 15 #address-cells = <1>; 16 #size-cells = <1>; [all …]
|