]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80dc42327463a2e891bd7d6b3bcdbb04cd927224
tree0a1700414b90c439f71aa103a1280564b28cdc29
parent2caa1e7dcf1056e9246adbff9e35542b02a2b568
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