coresight-tpdm: Add DSB dataset support
authorMao Jinlong <quic_jinlmao@quicinc.com>
Tue, 17 Jan 2023 14:57:03 +0000 (06:57 -0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 20 Jan 2023 11:39:03 +0000 (11:39 +0000)
commit1f00465d7fc742543ebc096879bddc01ee4a5993
tree256237cc7c363cabe08740b7f387ba93ec9d730d
parent6c781a35133df1405302fe6c01c6754afdf61375
coresight-tpdm: Add DSB dataset support

TPDM serves as data collection component for various dataset types.
DSB(Discrete Single Bit) is one of the dataset types. DSB subunit
can be enabled for data collection by writing 1 to the first bit of
DSB_CR register. This change is to add enable/disable function for
DSB dataset by writing DSB_CR register.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
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/20230117145708.16739-5-quic_jinlmao@quicinc.com
drivers/hwtracing/coresight/coresight-tpdm.c
drivers/hwtracing/coresight/coresight-tpdm.h