]> www.infradead.org Git - users/jedix/linux-maple.git/commit
coresight-tpdm: Add MCMB dataset support
authorMao Jinlong <quic_jinlmao@quicinc.com>
Wed, 26 Feb 2025 06:40:06 +0000 (22:40 -0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 26 Feb 2025 11:25:10 +0000 (11:25 +0000)
commitee39dbe9395bd91435aed0194abc3c7c83dba146
tree23c44fffc0708bd55812de8d7d70add58667eda3
parent4ff6039ffb79a4a8a44b63810a8a2f2b43264856
coresight-tpdm: Add MCMB dataset support

MCMB (Multi-lane CMB) is a special form of CMB dataset type. MCMB
subunit TPDM has the same number and usage of registers as CMB
subunit TPDM. MCMB subunit can be enabled for data collection by
writing 1 to the first bit of CMB_CR register. The difference is
that MCMB subunit TPDM needs to select the lane and enable it in
using it.

Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250226064008.2531037-2-quic_jinlmao@quicinc.com
drivers/hwtracing/coresight/coresight-tpda.c
drivers/hwtracing/coresight/coresight-tpdm.c
drivers/hwtracing/coresight/coresight-tpdm.h