]> git.ipfire.org Git - thirdparty/linux.git/commit
coresight-tpda: Optimize the function of reading element size
authorTao Zhang <quic_taozha@quicinc.com>
Fri, 13 Dec 2024 10:07:31 +0000 (18:07 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 13 Dec 2024 10:25:15 +0000 (10:25 +0000)
commit56e14a21cee4ea6074b956a9ff2e406de5ad6548
tree4763949dea7bc361166a8df08a175686cec4762c
parentec9903d6cc34e61b77e609a0425e7a0a804fb95a
coresight-tpda: Optimize the function of reading element size

Since the new funnel device supports multi-port output scenarios,
there may be more than one TPDM connected to one TPDA. In this
way, when reading the element size of the TPDM, TPDA driver needs
to find the expected TPDM corresponding to the filter source.
When TPDA finds a TPDM or a filter source from a input connection,
it will read the Devicetree to get the expected TPDM's element
size.

Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20241213100731.25914-5-quic_taozha@quicinc.com
drivers/hwtracing/coresight/coresight-tpda.c