]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
coresight: cti: Add sysfs access to program function registers
authorMike Leach <mike.leach@linaro.org>
Fri, 20 Mar 2020 16:52:54 +0000 (10:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 10:32:18 +0000 (11:32 +0100)
commitb5213376c240d3d1614b60c1140d643b1602400c
tree2b6378df9b9c9d02ac392aa99b8edd8675a10750
parent1a556ca6cc24ea598ac6a844a7fe0cc5b2701578
coresight: cti: Add sysfs access to program function registers

Adds in sysfs programming support for the CTI function register sets.
Allows direct manipulation of channel / trigger association registers.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200320165303.13681-4-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/coresight-cti-sysfs.c
drivers/hwtracing/coresight/coresight-cti.c
drivers/hwtracing/coresight/coresight-cti.h