Skip to content

Commit 290b633

Browse files
committed
PCI: Establish document for PCI host bridge sysfs attributes
In preparation for adding more host bridge sysfs attributes, document the existing naming format and 'firmware_node' attribute. Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Link: https://patch.msgid.link/20251031212902.2256310-7-dan.j.williams@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent c0c1262 commit 290b633

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
What: /sys/devices/pciDDDD:BB
2+
/sys/devices/.../pciDDDD:BB
3+
Contact: linux-pci@vger.kernel.org
4+
Description:
5+
A PCI host bridge device parents a PCI bus device topology. PCI
6+
controllers may also parent host bridges. The DDDD:BB format
7+
conveys the PCI domain (ACPI segment) number and root bus number
8+
(in hexadecimal) of the host bridge. Note that the domain number
9+
may be larger than the 16-bits that the "DDDD" format implies
10+
for emulated host-bridges.
11+
12+
What: pciDDDD:BB/firmware_node
13+
Contact: linux-pci@vger.kernel.org
14+
Description:
15+
(RO) Symlink to the platform firmware device object "companion"
16+
of the host bridge. For example, an ACPI device with an _HID of
17+
PNP0A08 (/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00). See
18+
/sys/devices/pciDDDD:BB entry for details about the DDDD:BB
19+
format.

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19910,6 +19910,7 @@ Q: https://patchwork.kernel.org/project/linux-pci/list/
1991019910
B: https://bugzilla.kernel.org
1991119911
C: irc://irc.oftc.net/linux-pci
1991219912
T: git git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
19913+
F: Documentation/ABI/testing/sysfs-devices-pci-host-bridge
1991319914
F: Documentation/PCI/
1991419915
F: Documentation/devicetree/bindings/pci/
1991519916
F: arch/x86/kernel/early-quirks.c

0 commit comments

Comments
 (0)