Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add support to configure TPDM MCMB subunit
@ 2024-11-05 12:39 Mao Jinlong
  2024-11-05 12:39 ` [PATCH v2 1/3] coresight-tpdm: Add MCMB dataset support Mao Jinlong
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Mao Jinlong @ 2024-11-05 12:39 UTC (permalink / raw)
  To: Suzuki K Poulose, Mike Leach, James Clark, Alexander Shishkin
  Cc: Mao Jinlong, coresight, linux-arm-kernel, linux-kernel,
	linux-arm-msm

Introduction of TPDM MCMB(Multi-lane Continuous Multi Bit) subunit
MCMB (Multi-lane CMB) is a special form of CMB dataset type. MCMB
subunit has the same number and usage of registers as CMB subunit.
Just like the CMB subunit, the MCMB subunit must be configured prior
to enablement. This series adds support for TPDM to configure the
MCMB subunit.

Once this series patches are applied properly, the new tpdm nodes for
should be observed at the tpdm path /sys/bus/coresight/devices/tpdm*
which supports MCMB subunit. All sysfs files of CMB subunit TPDM are
included in MCMB subunit TPDM. On this basis, MCMB subunit TPDM will
have new sysfs files to select and enable the lane.

Changes in V2:
1. Use tdpm_data->cmb instead of (tpdm_has_cmb_dataset(tpdm_data) ||
tpdm_has_mcmb_dataset(tpdm_data)) for cmb dataset support.
2. Embed mcmb_dataset struct into cmb struct.
3. Update the date and version in sysfs-bus-coresight-devices-tpdm

Mao Jinlong (1):
  coresight-tpdm: Add MCMB dataset support

Tao Zhang (2):
  coresight-tpdm: Add support to select lane
  coresight-tpdm: Add support to enable the lane for MCMB TPDM

 .../testing/sysfs-bus-coresight-devices-tpdm  |  15 +++
 drivers/hwtracing/coresight/coresight-tpda.c  |   7 +-
 drivers/hwtracing/coresight/coresight-tpdm.c  | 124 +++++++++++++++++-
 drivers/hwtracing/coresight/coresight-tpdm.h  |  33 +++--
 4 files changed, 158 insertions(+), 21 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2024-12-17 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05 12:39 [PATCH v2 0/3] Add support to configure TPDM MCMB subunit Mao Jinlong
2024-11-05 12:39 ` [PATCH v2 1/3] coresight-tpdm: Add MCMB dataset support Mao Jinlong
2024-12-17 14:52   ` Suzuki K Poulose
2024-11-05 12:39 ` [PATCH v2 2/3] coresight-tpdm: Add support to select lane Mao Jinlong
2024-12-17 14:54   ` Suzuki K Poulose
2024-11-05 12:39 ` [PATCH v2 3/3] coresight-tpdm: Add support to enable the lane for MCMB TPDM Mao Jinlong
2024-12-17 14:55   ` Suzuki K Poulose
2024-12-17  7:47 ` [PATCH v2 0/3] Add support to configure TPDM MCMB subunit Jinlong Mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox