Re: [PATCH v6 0/5] Improve PTT filter interface and some fixes

From: Suzuki K Poulose
Date: Wed Jun 21 2023 - 07:06:14 EST


On Wed, 21 Jun 2023 17:27:59 +0800, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@xxxxxxxxxxxxx>
>
> This series tends to improve the PTT's filter interface in 2 aspects (Patch 2&3):
> - Support dynamically filter updating to response to hotplug
> Previous the supported filter list is settled down once the driver probed and
> it maybe out-of-date if hotplug events happen later. User need to reload the
> driver to update list. Patch 1/2 enable the driver to update the list by
> registering a PCI bus notifier and the filter list will always be the latest.
> - Export the available filters through sysfs
> Previous user needs to calculate the filters and filter value using device's
> BDF number, which requires the user to know the hardware well. Patch 3/3 tends
> to export the available filter information through sysfs attributes, the filter
> value will be gotten by reading the file. This will be more user friendly.
>
> [...]

Applied, thanks!

[1/5] hwtracing: hisi_ptt: Factor out filter allocation and release operation
commit: a3ecaba7017f5d02d1ad60229cc14d5f0cda0c20
[2/5] hwtracing: hisi_ptt: Add support for dynamically updating the filter list
commit: 556ef09392dbc2d0b9aad5fd880d5d11addfc40d
[3/5] hwtracing: hisi_ptt: Export available filters through sysfs
commit: 6373c463ac894e41cab24469d1947ff91aaea486
[4/5] hwtracing: hisi_ptt: Advertise PERF_PMU_CAP_NO_EXCLUDE for PTT PMU
commit: 45c90292ad0e275ef4b870838b3b5273b3ef8ade
[5/5] hwtracing: hisi_ptt: Fix potential sleep in atomic context
commit: 6c50384ef8b94a527445e3694ae6549e1f15d859

Best regards,
--
Suzuki K Poulose <suzuki.poulose@xxxxxxx>