[PATCH v4 0/3] Add support to configure TPDM MCMB subunit

Mao Jinlong posted 3 patches 9 months, 3 weeks ago
.../testing/sysfs-bus-coresight-devices-tpdm  |  15 +++
drivers/hwtracing/coresight/coresight-tpda.c  |   7 +-
drivers/hwtracing/coresight/coresight-tpdm.c  | 120 +++++++++++++++++-
drivers/hwtracing/coresight/coresight-tpdm.h  |  33 +++--
4 files changed, 155 insertions(+), 20 deletions(-)
[PATCH v4 0/3] Add support to configure TPDM MCMB subunit
Posted by Mao Jinlong 9 months, 3 weeks ago
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 V4:
1. Update the date and kernel verison in ABI file.
2. Update the year of copyright. 

Changes in V3:
1. Update the date in ABI file.
2. Remove the unrelated change.
3. Correct typo.
4. Move the CMB_CR related definitions together.

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
Link: https://patchwork.kernel.org/project/linux-arm-msm/patch/20241105123940.39602-4-quic_jinlmao@quicinc.com/

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  | 120 +++++++++++++++++-
 drivers/hwtracing/coresight/coresight-tpdm.h  |  33 +++--
 4 files changed, 155 insertions(+), 20 deletions(-)

-- 
2.17.1
Re: [PATCH v4 0/3] Add support to configure TPDM MCMB subunit
Posted by Suzuki K Poulose 9 months, 3 weeks ago
On Tue, 25 Feb 2025 22:40:05 -0800, Mao Jinlong wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/3] coresight-tpdm: Add MCMB dataset support
      https://git.kernel.org/coresight/c/ee39dbe9
[2/3] coresight-tpdm: Add support to select lane
      https://git.kernel.org/coresight/c/07f7c217
[3/3] coresight-tpdm: Add support to enable the lane for MCMB TPDM
      https://git.kernel.org/coresight/c/0c0b6c05

Best regards,
-- 
Suzuki K Poulose <suzuki.poulose@arm.com>