Loading
coresight: cti: Fix register reads
Introduce cti_read_single_reg() as an interface for reading registers with unlocking the CS lock. Consolidate register read in sysfs interfaces using this new helper. Fixes: b5213376 ("coresight: cti: Add sysfs access to program function registers") Fixes: 1a556ca6 ("coresight: cti: Add sysfs coresight mgmt register access") Reviewed-by:Mike Leach <mike.leach@arm.com> Signed-off-by:
Leo Yan <leo.yan@arm.com> Signed-off-by:
Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20260226-arm_coresight_cti_refactor_v1-v2-2-b30fada3cfec@arm.com