Re: [PATCH v2 14/31] PCI/TSM: Report active IDE streams per host bridge

Dan Williams
2026-04-02T22:48:40Z

Xu Yilun wrote:
> From: Dan Williams <dan.j.williams@intel.com>
>
> The first attempt at an ABI for this failed to account for naming
> collisions across host bridges:
>
> Commit a4438f06b1db ("PCI/TSM: Report active IDE streams")
>
> Revive this ABI with a per host bridge link that appears at first stream
> creation for a given host bridge and disappears after the last stream is
> removed.
>
> For systems with many host bridge objects it allows:
>
> ls /sys/class/tsm/tsmN/pci*/stream*
>
> ...to find all the host bridges with active streams without first iterating
> over all host bridges. Yilun notes that is handy to have this short cut [1]
> and from an administrator perspective it helps with inventory for
> constrained stream resources.
>
> Link: http://lore.kernel.org/aXLtILY85oMU5qlb@yilunxu-OptiPlex-7050 [1]
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>

Oh, looks like I had yet to get this reviewed on the list. Can I add
your review and / or test tags and take this for v7.1?