| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for CoreSight drivers. 5 obj-$(CONFIG_CORESIGHT) += coresight.o 6 coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \ 7 coresight-sysfs.o 8 obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o 9 coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \ 10 coresight-tmc-etr.o 11 obj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o 12 obj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Coresight configuration 5 menuconfig CORESIGHT config 6 tristate "CoreSight Tracing Support" 12 This framework provides a kernel interface for the CoreSight debug 14 a topological view of the CoreSight components based on a DT 19 module will be called coresight. 21 if CORESIGHT 23 tristate "CoreSight Link and Sink drivers" 25 This enables support for CoreSight link and sink drivers that are [all …]
|
| D | coresight-tmc-core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Description: CoreSight Trace Memory Controller driver 20 #include <linux/dma-mapping.h> 24 #include <linux/coresight.h> 27 #include "coresight-priv.h" 28 #include "coresight-tmc.h" 37 if (coresight_timeout(drvdata->base, in tmc_wait_for_tmcready() 39 dev_err(&drvdata->csdev->dev, in tmc_wait_for_tmcready() 40 "timeout while waiting for TMC to be Ready\n"); in tmc_wait_for_tmcready() 48 ffcr = readl_relaxed(drvdata->base + TMC_FFCR); in tmc_flush_and_stop() [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" 21 CS_UNLOCK(drvdata->base); in __tmc_etb_enable_hw() 26 writel_relaxed(TMC_MODE_CIRCULAR_BUFFER, drvdata->base + TMC_MODE); in __tmc_etb_enable_hw() 30 drvdata->base + TMC_FFCR); in __tmc_etb_enable_hw() 32 writel_relaxed(drvdata->trigger_cntr, drvdata->base + TMC_TRG); in __tmc_etb_enable_hw() 35 CS_LOCK(drvdata->base); in __tmc_etb_enable_hw() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for CoreSight drivers. 5 obj-$(CONFIG_CORESIGHT) += coresight.o 6 coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \ 7 coresight-sysfs.o coresight-syscfg.o coresight-config.o \ 8 coresight-cfg-preload.o coresight-cfg-afdo.o \ 9 coresight-syscfg-configfs.o coresight-trace-id.o 10 obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o 11 coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \ 12 coresight-tmc-etr.o [all …]
|
| D | coresight-tmc-core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Description: CoreSight Trace Memory Controller driver 20 #include <linux/dma-mapping.h> 24 #include <linux/coresight.h> 27 #include "coresight-priv.h" 28 #include "coresight-tmc.h" 36 struct coresight_device *csdev = drvdata->csdev; in tmc_wait_for_tmcready() 37 struct csdev_access *csa = &csdev->access; in tmc_wait_for_tmcready() 41 dev_err(&csdev->dev, in tmc_wait_for_tmcready() 42 "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 …]
|
| /kernel/linux/linux-6.6/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 | 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | coresight.txt | 1 * CoreSight Components: 3 CoreSight components are compliant with the ARM CoreSight architecture 8 sink. Each CoreSight component device should use these properties to describe 11 * Required properties for all components *except* non-configurable replicators 12 and non-configurable funnels: 16 - Embedded Trace Buffer (version 1.0): 17 "arm,coresight-etb10", "arm,primecell"; 19 - Trace Port Interface Unit: 20 "arm,coresight-tpiu", "arm,primecell"; 22 - Trace Memory Controller, used for Embedded Trace Buffer(ETB), [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | acpi_amba.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/clk-provider.h> 24 {"ARMHC500", 0}, /* ARM CoreSight ETM4x */ 25 {"ARMHC501", 0}, /* ARM CoreSight ETR */ 26 {"ARMHC502", 0}, /* ARM CoreSight STM */ 27 {"ARMHC503", 0}, /* ARM CoreSight Debug */ 28 {"ARMHC979", 0}, /* ARM CoreSight TPIU */ 29 {"ARMHC97C", 0}, /* ARM CoreSight SoC-400 TMC, SoC-600 ETF/ETB */ 30 {"ARMHC98D", 0}, /* ARM CoreSight Dynamic Replicator */ 31 {"ARMHC9CA", 0}, /* ARM CoreSight CATU */ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|