/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-stm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-stm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Arm CoreSight System Trace MacroCell 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 …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-stm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 5 * Description: CoreSight System Trace Macrocell driver 8 * (C) 2014-2015 Pratik Patel <pratikp@codeaurora.org> 10 * Serious refactoring, code cleanup and upgrading to the Coresight upstream 12 * (C) 2015-2016 Mathieu Poirier <mathieu.poirier@linaro.org> 15 * generic STM API by Chunyan Zhang 16 * (C) 2015-2016 Chunyan Zhang <zhang.chunyan@linaro.org> 23 #include <linux/coresight.h> 24 #include <linux/coresight-stm.h> [all …]
|
H A 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 …]
|
H A 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 …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A 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 …]
|
H A 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 …]
|
/linux/drivers/hwtracing/stm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 config STM config 6 A System Trace Module (STM) is a device exporting data in System 8 Examples of such devices are Intel(R) Trace Hub and Coresight STM. 12 if STM 15 tristate "Basic STM framing protocol driver" 18 This is a simple framing protocol for sending data over STM 19 devices. This was the protocol that the STM framework used 20 exclusively until the MIPI SyS-T support was added. Use this 21 driver for compatibility with your existing STM setup. [all …]
|
/linux/include/uapi/linux/ |
H A D | coresight-stm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 * The CoreSight STM supports guaranteed and invariant timing 15 * ensure the transaction is accepted by the STM. While invariant 18 * state of the STM.
|
/linux/arch/arm64/boot/dts/arm/ |
H A 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 #address-cells = <1>; 14 #size-cells = <1>; 18 frame-number = <1>; 30 #mbox-cells = <1>; 32 clock-names = "apb_pclk"; 36 compatible = "arm,mmu-400", "arm,smmu-v1"; [all …]
|
/linux/Documentation/trace/ |
H A D | stm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 System Trace Module (STM) is a device described in MIPI STP specs as 26 To solve this mapping problem, stm class provides a policy management 34 associated with it, located in "stp-policy" subsystem directory in 36 the STM device name to which this policy applies and an arbitrary 40 $ ls /config/stp-policy/dummy_stm.my-policy/user 42 $ cat /config/stp-policy/dummy_stm.my-policy/user/masters 44 $ cat /config/stp-policy/dummy_stm.my-policy/user/channels 57 Trace sources have to open the stm class device's node and write their 67 stm core will try to find a policy node with the name matching the [all …]
|
H A D | index.rst | 11 ----------------------- 21 tracepoint-analysis 22 ring-buffer-map 25 ----------------------- 34 ftrace-design 35 ftrace-uses 41 ring-buffer-design 44 -------------------------- 53 events-kmem 54 events-power [all …]
|
/linux/include/linux/ |
H A D | coresight-stm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <uapi/linux/coresight-stm.h>
|
/linux/arch/arm64/boot/dts/qcom/ |
H A 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,dsi-phy-28nm.h> 8 #include <dt-bindings/clock/qcom,gcc-msm8916.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/interconnect/qcom,msm8916.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 13 #include <dt-bindings/reset/qcom,gcc-msm8916.h> [all …]
|
H A D | qcs615.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,qcs615-gcc.h> 7 #include <dt-bindings/clock/qcom,rpmh.h> 8 #include <dt-bindings/dma/qcom-gpi.h> 9 #include <dt-bindings/interconnect/qcom,icc.h> 10 #include <dt-bindings/interconnect/qcom,qcs615-rpmh.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 13 #include <dt-bindings/power/qcom,rpmhpd.h> 14 #include <dt-bindings/soc/qcom,rpmh-rsc.h> [all …]
|
H A D | sm6115.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 7 #include <dt-bindings/clock/qcom,gcc-sm6115.h> 8 #include <dt-bindings/clock/qcom,sm6115-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm6115-gpucc.h> 10 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/dma/qcom-gpi.h> 12 #include <dt-bindings/firmware/qcom,scm.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interconnect/qcom,rpm-icc.h> [all …]
|
H A D | msm8998.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 6 #include <dt-bindings/clock/qcom,gcc-msm8998.h> 7 #include <dt-bindings/clock/qcom,gpucc-msm8998.h> 8 #include <dt-bindings/clock/qcom,mmcc-msm8998.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/firmware/qcom,scm.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/gpio/gpio.h> [all …]
|
H A D | qcs8300.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,qcs8300-gcc.h> 7 #include <dt-bindings/clock/qcom,rpmh.h> 8 #include <dt-bindings/clock/qcom,sa8775p-camcc.h> 9 #include <dt-bindings/clock/qcom,sa8775p-dispcc.h> 10 #include <dt-bindings/clock/qcom,sa8775p-gpucc.h> 11 #include <dt-bindings/clock/qcom,sa8775p-videocc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/interconnect/qcom,icc.h> [all …]
|
H A D | msm8996.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 8 #include <dt-bindings/clock/qcom,gcc-msm8996.h> 9 #include <dt-bindings/clock/qcom,mmcc-msm8996.h> 10 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/interconnect/qcom,msm8996.h> 12 #include <dt-bindings/interconnect/qcom,msm8996-cbf.h> 13 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
H A D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 10 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 11 #include <dt-bindings/clock/qcom,gpucc-sc7180.h> 12 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sc7180.h> 15 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
H A D | sm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 8 #include <dt-bindings/firmware/qcom,scm.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/phy/phy-qcom-qmp.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,dispcc-sm8150.h> [all …]
|
H A D | sa8775p.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/interconnect/qcom,icc.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/clock/qcom,sa8775p-dispcc.h> 12 #include <dt-bindings/clock/qcom,sa8775p-gcc.h> 13 #include <dt-bindings/clock/qcom,sa8775p-gpucc.h> 14 #include <dt-bindings/clock/qcom,sa8775p-videocc.h> 15 #include <dt-bindings/dma/qcom-gpi.h> [all …]
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2019 HabanaLabs, Ltd. 205 if (hdev->pldm) in goya_coresight_timeout() 219 dev_err(hdev->dev, in goya_coresight_timeout() 220 "Timeout while waiting for coresight, addr: 0x%llx, position: %d, up: %d\n", in goya_coresight_timeout() 222 return -EFAULT; in goya_coresight_timeout() 236 if (params->reg_idx >= ARRAY_SIZE(debug_stm_regs)) { in goya_config_stm() 237 dev_err(hdev->dev, "Invalid register index in STM\n"); in goya_config_stm() 238 return -EINVAL; in goya_config_stm() 241 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in goya_config_stm() [all …]
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2019-2022 HabanaLabs, Ltd. 13 #define COMPONENT_ID_INVALID ((u32)(-1)) 45 * struct component_config_offsets - per cs_dbg unit - view off all related components indices 46 * @funnel_id: funnel id - index in debug_funnel_regs 47 * @etf_id: etf id - index in debug_etf_regs 48 * @stm_id: stm id - index in debug_stm_regs 49 * @spmu_id: spmu_id - index in debug_spmu_regs 51 * @bmon_ids: array of bmon id (max size - MAX_BMONS_PER_UNIT) index in debug_bmon_regs 1933 if (hdev->pldm) in gaudi2_coresight_timeout() [all …]
|
H A D | gaudi2_coresight_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 14 /* FUNNEL Offsets - same offsets for all funnels*/ 16 (mmDCORE0_TPC0_EML_FUNNEL_CTRL_REG - \ 20 (mmDCORE0_TPC0_EML_FUNNEL_PRIORITY_CTRL_REG - \ 24 (mmDCORE0_TPC0_EML_FUNNEL_ITATBDATA0 - \ 28 (mmDCORE0_TPC0_EML_FUNNEL_ITATBCTR2 - \ 32 (mmDCORE0_TPC0_EML_FUNNEL_ITATBCTR1 - \ 36 (mmDCORE0_TPC0_EML_FUNNEL_ITATBCTR0 - \ 40 (mmDCORE0_TPC0_EML_FUNNEL_ITCTRL - \ 44 (mmDCORE0_TPC0_EML_FUNNEL_CLAIMSET - \ [all …]
|
/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2018 HabanaLabs, Ltd. 381 dev_err(hdev->dev, in gaudi_coresight_timeout() 382 "Timeout while waiting for coresight, addr: 0x%llx, position: %d, up: %d\n", in gaudi_coresight_timeout() 384 return -EFAULT; in gaudi_coresight_timeout() 398 if (params->reg_idx >= ARRAY_SIZE(debug_stm_regs)) { in gaudi_config_stm() 399 dev_err(hdev->dev, "Invalid register index in STM\n"); in gaudi_config_stm() 400 return -EINVAL; in gaudi_config_stm() 403 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in gaudi_config_stm() 407 if (params->enable) { in gaudi_config_stm() [all …]
|