From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6C111373; Fri, 22 Aug 2025 00:04:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755821048; cv=none; b=eQnCWsaH69F7G3OexIYG14jTJlc9s6oWUqVGcE7zD9sTG95wMx8OjKeGIGNkUXWXfZ9/7t4WO3rpycugo9/xrtJRk4TV5DG0knGVcUp+R2Q1G22mfWnR/zIbk2VR67tX2AYb6Cr5SIQJAkmrZq/XlSq861Th9vDvo9nv9qMtNiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755821048; c=relaxed/simple; bh=pJDxfmEvrLatKoQIO1F3BeLhAEfZPFG31TFiqZtyEoY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pNfhBpM5keLYk+H3jGXKrDNbCbRb1lGjYOOvMsFmePiBKLYG7bdwYy79+w4iJSEK1+UxYN9Cb6pl9m3wwAs0xDArXqny3xLglvZGHU3a2pz9MGTvfv87cUnqtdVbIBY3MoIHircrJBV/9ZOdfeJMyqBHNjN3f9zYOktmDK/rwKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FufC/fWb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FufC/fWb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 099D5C4CEEB; Fri, 22 Aug 2025 00:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755821048; bh=pJDxfmEvrLatKoQIO1F3BeLhAEfZPFG31TFiqZtyEoY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FufC/fWbECysfkMHBIODlkl6zs9gaUYBuyVSbL7EyHcmj1Mp9OzaEh91CeaxbV2ai CUdGM4O1k+BK6Xj2sCEI8m9z1Ysr8FsDJl6iAzUSgBTJX+/YZ28rQeRtnIcemwRsPE TWHLYmQIWptfoUHjkN+WnBHFp+9hY8Odcd01/gXffiUYhFG0eYkQL/+4qvJUxvEIEw VlRYqGIg8Rhg9+ISVB+oJhgOJXw6pugK3NHzpAEEN7m2kNl5QcuG+/45+aFGiLTHP+ PYqgb+EXI0ISxD2K7MdfWRYSpW5LJJaINUoI/6bXdXJITbRlqmkCL7dhJSzck5/nFv B5XFiixkGFeHA== Date: Thu, 21 Aug 2025 18:04:06 -0600 From: Keith Busch To: Matthew Wood Cc: Bjorn Helgaas , Mario Limonciello , Jonathan Cameron , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [RESEND PATCH v7 1/1] PCI/sysfs: Expose PCIe device serial number Message-ID: References: <20250821232239.599523-1-thepacketgeek@gmail.com> <20250821232239.599523-2-thepacketgeek@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250821232239.599523-2-thepacketgeek@gmail.com> On Thu, Aug 21, 2025 at 04:22:38PM -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. Looks good to me. Reviewed-by: Keith Busch