devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add support to configure Coresight Dummy subunit
@ 2023-05-05  9:24 Hao Zhang
  2023-05-05  9:24 ` [PATCH v4 1/3] Coresight: Add coresight dummy driver Hao Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Hao Zhang @ 2023-05-05  9:24 UTC (permalink / raw)
  To: Suzuki K Poulose, Mike Leach, Leo Yan, Alexander Shishkin,
	Mathieu Poirier, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Andy Gross, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Jonathan Corbet
  Cc: Hao Zhang, Greg Kroah-Hartman, coresight, linux-arm-kernel,
	linux-kernel, devicetree, Tingwei Zhang, Jinlong Mao,
	Yuanfang Zhang, Tao Zhang, Trilok Soni, linux-arm-msm,
	Bjorn Andersson, linux-doc

Introduction of Coresight Dummy subunit
The Coresight Dummy subunit is for Coresight Dummy component, there are
some specific Coresight devices that HLOS don't have permission to access.
Such as some TPDMs, they would be configured in NON-HLOS side, but it's
necessary to build Coresight path for it to debug. So there need driver
to register dummy devices as Coresight devices.

Commit link:
https://git.codelinaro.org/clo/linux-kernel/coresight/-/tree/coresight-dummy-v4

Changes in V4:
1. Remove traceid allocation in dummy_probe function since it is
currently not in use, will upstream it as the part of ATID filtering
in the further.  -- Suzuki K Poulose
2. Remove 'oneOf' as there is only one entry. -- Rob Herring

Changes in V3:
1. Use API "dev_dbg" to replace "dev_info". -- Suzuki K Poulose
2. Drop "qcom" property and take it as a dummy framework.
-- Suzuki K Poulose
3. Add new sub-type "CORESIGHT_DEV_SUBTYPE_SINK_DUMMY" to support
coresight dummy module -- Mike Leach
4. Use compatibles "arm,coresight-dummy-source" and
"arm,coresight-dummy-sink" to replace property "qcom,dummy-source" and
"qcom,dummy-sink". -- Mike Leach
5. Define source_devs and sink_devs DEVLIST to replace dummy_devs, make
it clear at the first level. -- Mike Leach
6. Modify subject of YAML patch, drop "YAML schema". -- Krzysztof Kozlowski
7. Drop some redundant items and correct syntax errors in yaml file.
-- Krzysztof Kozlowski/Rob Herring
8. Correct required property of yaml file, constrain out ports to
dummy-source and in ports to dummy-sink. -- Mike Leach
9. Drop "Sysfs files and directories" contents of coresight-dummy.rst.
-- Suzuki K Poulose/Greg Kroah-Hartman
10.Correct syntax errors of coresight-dummy.rst. -- Bagas Sanjaya

Changes in V2:
1. Declare dummy_init and dummy_exit as static to fix missing-prototypes
warnings. -- kernel test robot
2. Fix the errors of coresight-dummy yaml file. -- Rob Herring

Hao Zhang (3):
  Coresight: Add coresight dummy driver
  dt-bindings: arm: Add Coresight Dummy Trace
  Documentation: trace: Add documentation for Coresight Dummy Trace

 .../bindings/arm/arm,coresight-dummy.yaml     | 102 +++++++++++
 .../trace/coresight/coresight-dummy.rst       |  34 ++++
 drivers/hwtracing/coresight/Kconfig           |  11 ++
 drivers/hwtracing/coresight/Makefile          |   1 +
 drivers/hwtracing/coresight/coresight-dummy.c | 171 ++++++++++++++++++
 include/linux/coresight.h                     |   1 +
 6 files changed, 320 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-dummy.yaml
 create mode 100644 Documentation/trace/coresight/coresight-dummy.rst
 create mode 100644 drivers/hwtracing/coresight/coresight-dummy.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-06-08 16:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05  9:24 [PATCH v4 0/3] Add support to configure Coresight Dummy subunit Hao Zhang
2023-05-05  9:24 ` [PATCH v4 1/3] Coresight: Add coresight dummy driver Hao Zhang
2023-05-05  9:57   ` Suzuki K Poulose
2023-05-10  2:56     ` Hao Zhang
2023-05-24  6:12       ` Hao Zhang
2023-05-05  9:24 ` [PATCH v4 2/3] dt-bindings: arm: Add Coresight Dummy Trace Hao Zhang
2023-05-05 10:54   ` Suzuki K Poulose
2023-05-05 12:05     ` Leo Yan
2023-05-10  3:21       ` Hao Zhang
2023-05-07  8:04   ` Krzysztof Kozlowski
2023-05-15  5:52     ` Hao Zhang
2023-06-08 16:09       ` Rob Herring
2023-05-05  9:24 ` [PATCH v4 3/3] Documentation: trace: Add documentation for " Hao Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).