freebsd-dev/sys/dev/pci
John F. Carr f010b9c2b9 pci: recognize "non-essential instrumentation" devices
Some AMD EPYC VCPUs generated boot message of the type:

     pci4: <unknown> at device 0.0 (no driver attached)

These are displayed for device class 0x13 devices, e.g.:

none8@pci0:130:0:0:	class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 \
			device=0x148a subvendor=0x1022 subdevice=0x148a
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Starship/Matisse PCIe Dummy Function'
    class      = non-essential instrumentation

Since these devices serve no purpose (no driver attaches) I have
enabled the reporting of suich devices only for verbose boots (a
diversion from the patch provided in the PR).

A verbose boot will now display such devices as:

  pci4: <non-essential instrumentation> at device 0.0 (no driver attached)

PR:		263469
Reported by:	jfc@mit.edu (John F. Carr)
MFC after:	1 week
2022-04-22 16:39:23 +02:00
..
controller Use pmap_qenter in the N1SDP PCIe driver 2021-02-25 12:38:05 +00:00
fixup_pci.c
hostb_pci.c
ignore_pci.c
isa_pci.c
pci_dw_if.m
pci_dw_mv.c pci_dw_mv: Don't enable unhandled interrupts. 2021-03-01 14:03:34 +01:00
pci_dw.c pci_dw: Drop unconditional explicit DEBUG define 2021-08-07 21:25:36 +01:00
pci_dw.h pci_dw: Detect number of outbound regions automatically 2021-07-21 05:51:20 +01:00
pci_host_generic_acpi.c pci_host_generic_acpi: Remove unused variable. 2022-04-08 17:25:15 -07:00
pci_host_generic_acpi.h
pci_host_generic_fdt.c pci fdt host drivers: Remove unused variables. 2022-04-08 17:25:14 -07:00
pci_host_generic_fdt.h pci_host_generic_fdt.c: Add support for mapping dts nodes to PCI devices 2021-06-08 17:51:40 +02:00
pci_host_generic.c pci fdt host drivers: Remove unused variables. 2022-04-08 17:25:14 -07:00
pci_host_generic.h pci_host_generic: Add Synopsys Designware PCIe controller quirk 2021-09-15 15:17:40 +02:00
pci_if.m
pci_iov_if.m
pci_iov_private.h pci: Implement pci_bar_enabled() for SR-IOV VFs 2021-11-09 13:13:36 -05:00
pci_iov_schema.c
pci_iov.c pci: Fix a -Wunused-but-set-variable warning 2022-02-28 10:54:42 -05:00
pci_iov.h
pci_pci.c Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
pci_private.h Add UEFI locator for bus_get_device_path, pci acpi 2022-03-01 08:06:41 -07:00
pci_subr.c
pci_user.c dev/pci: fix potential panic due to bogus VPD data 2022-02-20 22:36:04 +01:00
pci.c pci: recognize "non-essential instrumentation" devices 2022-04-22 16:39:23 +02:00
pcib_if.m
pcib_private.h pcib(4): Switch from callout to timeout_task. 2021-09-03 15:03:44 -04:00
pcib_support.c
pcireg.h
pcivar.h Implement pci_get_relaxed_ordering_enabled() helper function. 2021-03-17 13:48:04 +01:00
schema_private.h
vga_pci.c