Home
last modified time | relevance | path

Searched +full:coresight +full:- +full:dummy +full:- +full:sink (Results 1 – 13 of 13) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/arm/
Darm,coresight-dummy-sink.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-sink.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ARM Coresight Dummy sink component
10 CoreSight components are compliant with the ARM CoreSight architecture
15 sink.
17 The Coresight dummy sink component is for the specific coresight sink devices
18 kernel don't have permission to access or configure, e.g., CoreSight EUD on
19 Qualcomm platforms. It is a mini-USB hub implemented to support the USB-based
[all …]
Darm,coresight-dummy-source.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-source.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ARM Coresight Dummy source component
10 CoreSight components are compliant with the ARM CoreSight architecture
15 sink.
17 The Coresight dummy source component is for the specific coresight source
19 there would be Coresight source trace components on sub-processor which
20 are connected to AP processor via debug bus. For these devices, a dummy driver
[all …]
/linux-6.14.4/Documentation/trace/coresight/
Dcoresight-dummy.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Coresight Dummy Trace Module
11 ------------
13 The Coresight dummy trace module is for the specific devices that kernel don't
14 have permission to access or configure, e.g., CoreSight TPDMs on Qualcomm
15 platforms. For these devices, a dummy driver is needed to register them as
16 Coresight devices. The module may also be used to define components that may
18 It provides Coresight API for operations on dummy devices, such as enabling and
19 disabling them. It also provides the Coresight dummy sink/source paths for
23 --------------
[all …]
/linux-6.14.4/drivers/hwtracing/coresight/
Dcoresight-dummy.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/coresight.h>
13 #include "coresight-priv.h"
14 #include "coresight-trace-id.h"
30 return -EBUSY; in dummy_source_enable()
32 dev_dbg(csdev->dev.parent, "Dummy source enabled\n"); in dummy_source_enable()
41 dev_dbg(csdev->dev.parent, "Dummy source disabled\n"); in dummy_source_disable()
47 dev_dbg(csdev->dev.parent, "Dummy sink enabled\n"); in dummy_sink_enable()
54 dev_dbg(csdev->dev.parent, "Dummy sink disabled\n"); in dummy_sink_disable()
77 /* User can get the trace id of dummy source from this node. */
[all …]
DKconfig1 # 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 …]
Dcoresight-trace-id.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Coresight trace ID allocation API
20 * throughout a perf cs_etm event session - a session in progress flag will be
21 * maintained for each sink, and IDs are cleared when all the perf sessions
22 * complete. This allows the same CPU to be re-allocated its prior ID when
29 * API permits multiple maps to be maintained - for large systems where
47 * Read and optionally allocate a CoreSight trace ID and associate with a CPU.
57 * return: CoreSight trace ID or -EINVAL if allocation impossible.
70 * This will release the CoreSight trace ID associated with the CPU.
83 * Read the current allocated CoreSight Trace ID value for the CPU.
[all …]
Dcoresight-trbe.c1 // SPDX-License-Identifier: GPL-2.0
3 * This driver enables Trace Buffer Extension (TRBE) as a per-cpu coresight
4 * sink device could then pair with an appropriate per-cpu coresight source
23 #include "coresight-self-hosted-trace.h"
24 #include "coresight-trbe.h"
26 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT))
32 * formatting the trace data, unlike the legacy CoreSight
40 * A-Sync, Trace Info, Trace On, Address, Atom.
82 * a trace session. Thus we need a quicker access to per-CPU
91 * - Not duplicating the detection logic
[all …]
/linux-6.14.4/tools/perf/arch/arm/util/
Dcs-etm.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/coresight-pmu.h>
18 #include "cs-etm.h"
29 #include "../../../util/cs-etm.h"
93 u64 contextid = evsel->core.attr.config & in cs_etm_validate_context_id()
105 return -EINVAL; in cs_etm_validate_context_id()
116 * TRCIDR2.CIDSIZE, bit [9-5], indicates whether contextID in cs_etm_validate_context_id()
119 * 0b00100 Maximum of 32-bit Context ID size. in cs_etm_validate_context_id()
125 return -EINVAL; in cs_etm_validate_context_id()
141 return -EINVAL; in cs_etm_validate_context_id()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dqcs8300.dtsi1 // 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/firmware/qcom,scm.h>
13 #include <dt-bindings/interconnect/qcom,icc.h>
14 #include <dt-bindings/interconnect/qcom,qcs8300-rpmh.h>
[all …]
Dqcs615.dtsi1 // 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 …]
Dx1e80100.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,rpmh.h>
7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h>
9 #include <dt-bindings/clock/qcom,x1e80100-gcc.h>
10 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h>
11 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h>
12 #include <dt-bindings/dma/qcom-gpi.h>
13 #include <dt-bindings/interconnect/qcom,icc.h>
14 #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
[all …]
Dsa8775p.dtsi1 // 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,rpmh.h>
10 #include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
11 #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
12 #include <dt-bindings/clock/qcom,sa8775p-gpucc.h>
13 #include <dt-bindings/dma/qcom-gpi.h>
14 #include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
15 #include <dt-bindings/mailbox/qcom-ipcc.h>
[all …]
/linux-6.14.4/tools/perf/util/
Dcs-etm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright(C) 2015-2018 Linaro Limited.
12 #include <linux/coresight-pmu.h>
22 #include "cs-etm.h"
23 #include "cs-etm-decoder/cs-etm-decoder.h"
37 #include "thread-stack.h"
40 #include "util/synthetic-events.h"
61 * Per-thread ignores the trace channel ID and instead assumes that
123 * queue's which has a matching sink ID.
151 #define SINK_UNSET ((u32) -1)
[all …]