Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: ABI + trace: hisi_ptt: update paths to bus/event_source

To allow for assigning a suitable parent to the struct pmu device
update the documentation to describe the device via the event_source
bus where it will remain accessible.

For the ABI documention file also rename the file as it is named
after the path.

Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20240412161057.14099-30-Jonathan.Cameron@huawei.com

authored by

Jonathan Cameron and committed by
Suzuki K Poulose
1f82d58d 8877ef45

+9 -9
+6 -6
Documentation/ABI/testing/sysfs-devices-hisi_ptt Documentation/ABI/testing/sysfs-bus-event_source-devices-hisi_ptt
··· 1 - What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune 1 + What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune 2 2 Date: October 2022 3 3 KernelVersion: 6.1 4 4 Contact: Yicong Yang <yangyicong@hisilicon.com> ··· 8 8 9 9 See Documentation/trace/hisi-ptt.rst for more information. 10 10 11 - What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl 11 + What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl 12 12 Date: October 2022 13 13 KernelVersion: 6.1 14 14 Contact: Yicong Yang <yangyicong@hisilicon.com> ··· 18 18 will return an error, and out of range values will be converted 19 19 to 2. The value indicates a probable level of the event. 20 20 21 - What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np 21 + What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np 22 22 Date: October 2022 23 23 KernelVersion: 6.1 24 24 Contact: Yicong Yang <yangyicong@hisilicon.com> ··· 28 28 will return an error, and out of range values will be converted 29 29 to 2. The value indicates a probable level of the event. 30 30 31 - What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p 31 + What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p 32 32 Date: October 2022 33 33 KernelVersion: 6.1 34 34 Contact: Yicong Yang <yangyicong@hisilicon.com> ··· 38 38 will return an error, and out of range values will be converted 39 39 to 2. The value indicates a probable level of the event. 40 40 41 - What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level 41 + What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level 42 42 Date: October 2022 43 43 KernelVersion: 6.1 44 44 Contact: Yicong Yang <yangyicong@hisilicon.com> ··· 49 49 will return an error, and out of range values will be converted 50 50 to 2. The value indicates a probable level of the event. 51 51 52 - What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level 52 + What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level 53 53 Date: October 2022 54 54 KernelVersion: 6.1 55 55 Contact: Yicong Yang <yangyicong@hisilicon.com>
+2 -2
Documentation/trace/hisi-ptt.rst
··· 40 40 Complex for each SICL. 41 41 :: 42 42 43 - /sys/devices/hisi_ptt<sicl_id>_<core_id> 43 + /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id> 44 44 45 45 Tune 46 46 ==== ··· 53 53 a simple open/read/write/close cycle will be used to tune the event. 54 54 :: 55 55 56 - $ cd /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune 56 + $ cd /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune 57 57 $ ls 58 58 qos_tx_cpl qos_tx_np qos_tx_p 59 59 tx_path_rx_req_alloc_buf_level
+1 -1
MAINTAINERS
··· 9790 9790 M: Jonathan Cameron <jonathan.cameron@huawei.com> 9791 9791 L: linux-kernel@vger.kernel.org 9792 9792 S: Maintained 9793 - F: Documentation/ABI/testing/sysfs-devices-hisi_ptt 9793 + F: Documentation/ABI/testing/sysfs-bus-event_source-devices-hisi_ptt 9794 9794 F: Documentation/trace/hisi-ptt.rst 9795 9795 F: drivers/hwtracing/ptt/ 9796 9796 F: tools/perf/arch/arm64/util/hisi-ptt.c