hwtracing: hisi_ptt: Add tune function support for HiSilicon PCIe Tune and Trace...
authorYicong Yang <yangyicong@hisilicon.com>
Tue, 16 Aug 2022 11:44:12 +0000 (19:44 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 8 Sep 2022 22:57:23 +0000 (16:57 -0600)
commit5ca57b03d8c5de4c59234cc11fe9dd9f13d57f48
tree0a1700414b90c439f71aa103a1280564b28cdc29
parentff0de066b4632ccb2b2e50f90c0c5be7f4689de7
hwtracing: hisi_ptt: Add tune function support for HiSilicon PCIe Tune and Trace device

Add tune function for the HiSilicon Tune and Trace device. The interface
of tune is exposed through sysfs attributes of PTT PMU device.

Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20220816114414.4092-4-yangyicong@huawei.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/ptt/hisi_ptt.c
drivers/hwtracing/ptt/hisi_ptt.h