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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250721135540-2e295c9b-2032-4139-83cc-ad904d73dc41@linutronix.de>
Date: Mon, 21 Jul 2025 13:55:54 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Matthew Wood <thepacketgeek@...il.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>, 
	Mario Limonciello <superm1@...nel.org>, Jonathan Cameron <Jonathan.Cameron@...wei.com>, 
	linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH v6 1/1] PCI/sysfs: Expose PCIe device serial number

On Fri, Jul 18, 2025 at 12:32:29PM -0700, Matthew Wood wrote:
> Add a single sysfs read-only interface for reading PCIe device serial
> numbers from userspace in a programmatic way. This device attribute
> uses the same hexadecimal 1-byte dashed formatting as lspci serial number
> capability output. If a device doesn't support the serial number
> capability, the serial_number sysfs attribute will not be visible.
> 
> Signed-off-by: Matthew Wood <thepacketgeek@...il.com>
> Reviewed-by: Mario Limonciello <superm1@...nel.org>

Reviewed-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>

> ---
>  Documentation/ABI/testing/sysfs-bus-pci |  9 +++++++++
>  drivers/pci/pci-sysfs.c                 | 27 ++++++++++++++++++++++---
>  2 files changed, 33 insertions(+), 3 deletions(-)

(...)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ