summaryrefslogtreecommitdiffstats
path: root/Documentation/trace/hisi-ptt.rst
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2023-06-21 17:28:01 +0800
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-06-21 11:52:08 +0100
commit556ef09392dbc2d0b9aad5fd880d5d11addfc40d (patch)
tree1f5f38a026d930bbe3097329e35b042b14c01a49 /Documentation/trace/hisi-ptt.rst
parenta3ecaba7017f5d02d1ad60229cc14d5f0cda0c20 (diff)
downloadlinux-556ef09392dbc2d0b9aad5fd880d5d11addfc40d.tar.gz
linux-556ef09392dbc2d0b9aad5fd880d5d11addfc40d.tar.bz2
linux-556ef09392dbc2d0b9aad5fd880d5d11addfc40d.zip
hwtracing: hisi_ptt: Add support for dynamically updating the filter list
The PCIe devices supported by the PTT trace can be removed/rescanned by hotplug or through sysfs. Add support for dynamically updating the available filter list by registering a PCI bus notifier block. Then user can always get latest information about available tracing filters and driver can block the invalid filters of which related devices no longer exist in the system. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230621092804.15120-3-yangyicong@huawei.com
Diffstat (limited to 'Documentation/trace/hisi-ptt.rst')
-rw-r--r--Documentation/trace/hisi-ptt.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/trace/hisi-ptt.rst b/Documentation/trace/hisi-ptt.rst
index 4f87d8e21065..69c538153838 100644
--- a/Documentation/trace/hisi-ptt.rst
+++ b/Documentation/trace/hisi-ptt.rst
@@ -153,9 +153,9 @@ Endpoint function can be specified in one trace. Specifying both Root Port
and function at the same time is not supported. Driver maintains a list of
available filters and will check the invalid inputs.
-Currently the available filters are detected in driver's probe. If the supported
-devices are removed/added after probe, you may need to reload the driver to update
-the filters.
+The available filters will be dynamically updated, which means you will always
+get correct filter information when hotplug events happen, or when you manually
+remove/rescan the devices.
2. Type
-------