lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6972c9b522ef_1d3310053@dwillia2-mobl4.notmuch>
Date: Thu, 22 Jan 2026 17:07:01 -0800
From: <dan.j.williams@...el.com>
To: <dan.j.williams@...el.com>, Xu Yilun <yilun.xu@...ux.intel.com>,
	<linux-coco@...ts.linux.dev>, <linux-pci@...r.kernel.org>,
	<dan.j.williams@...el.com>
CC: <yilun.xu@...el.com>, <yilun.xu@...ux.intel.com>,
	<baolu.lu@...ux.intel.com>, <zhenzhong.duan@...el.com>,
	<linux-kernel@...r.kernel.org>, <yi1.lai@...el.com>, <helgaas@...nel.org>
Subject: Re: [PATCH v2] PCI/IDE: Fix duplicate stream symlink names for TSM
 class devices

dan.j.williams@ wrote:
[..]
> However, after seeing Jonathan's feedback and noticing that he missed
> that 'H' 'R' and 'E' are documented in the host bridge ABI I think it
> would be better to simplify this to just a link back to the host bridge.
> 
>     /sys/class/tsm/tsmN/pciDDDD:BB => /sys/devices/pciDDDD:BB
> 
> That achieves the same result and is easier to document as "When a TSM
> has a established any IDE stream it links to the host bridge. When the
> last stream is removed the link is removed." It achieves the goal of
> letting an admin do "ls /sys/class/tsm/tsmN/*/stream*" to get a survey
> of all consumed stream resources in the system.

In fact it does not even need to be dynamic. At tsm_register() time when
@pci_ops is provided, link all host bridges. Unlink them at unregister
time. The only driving need for it to be dynamic is if there is ever a
platform that supports multiple TSMs each supporting a different set of
host bridges. Can cross that bridge later.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ