freebsd-dev/sys
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
..
amd64 FB_INSTALL_CDEV: Remove this option and related code. 2022-04-21 10:29:14 -07:00
arm busdma_bounce: Add free_bounce_pages helper function. 2022-04-21 10:42:14 -07:00
arm64 busdma_bounce: Add free_bounce_pages helper function. 2022-04-21 10:42:14 -07:00
bsm
cam iscsi: Fetch limits based on a socket rather than assuming global limits. 2022-04-18 12:53:28 -07:00
cddl zfs: merge openzfs/zfs@a86e08941 (master) into main 2022-03-08 18:53:02 +01:00
compat linux: plug a set-but-not-used var 2022-04-19 12:45:57 +00:00
conf FB_INSTALL_CDEV: Remove this option and related code. 2022-04-21 10:29:14 -07:00
contrib acpica: Drop a local patch in favor of an upstream patch 2022-04-15 16:29:09 -04:00
crypto ccp: Use devclass_find to lookup devclass in db_show_ccp. 2022-04-21 10:29:14 -07:00
ddb
dev pci: recognize "non-essential instrumentation" devices 2022-04-22 16:39:23 +02:00
dts
fs ext2: plug a set-but-not-used var 2022-04-19 12:45:57 +00:00
gdb
geom geli: Add a chicken switch for unmapped I/O 2022-04-18 17:55:24 -04:00
gnu
i386 FB_INSTALL_CDEV: Remove this option and related code. 2022-04-21 10:29:14 -07:00
isa vgapm: Use devclass_find to lookup the vga devclass in suspend and resume. 2022-04-21 10:29:15 -07:00
kern busdma_bounce: Batch bounce page free operations when possible. 2022-04-21 12:01:55 -07:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix two typos in source code comments 2022-04-09 09:36:34 +02:00
modules mac_pimd: Support for privilege drop in pimd 2022-04-20 08:07:37 +02:00
net pf: allow the use of tables in ethernet rules 2022-04-20 13:01:12 +02:00
net80211 net80211: Fix traffic hang on STA/AP VAPs on a multi-VAP interface 2022-04-21 22:49:01 -07:00
netgraph ng_netflow: Move various variables under INET || INET6. 2022-04-13 16:08:21 -07:00
netinet sctp: cleanup 2022-04-19 21:40:22 +02:00
netinet6 mld6: Ensure that mld_domifattach() always succeeds 2022-04-21 13:23:59 -04:00
netipsec ipsec_encap: setdf is only used for INET. 2022-04-13 16:08:21 -07:00
netpfil pf: counter argument to pfr_pool_get() may never be NULL 2022-04-21 17:59:45 +02:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: do not panic on bootpc_init when no interfaces are found 2022-04-07 19:33:26 -03:00
nfsclient
nfsserver
nlm
ofed ofed: Fix a typo in a source code comment 2022-04-09 14:39:36 +02:00
opencrypto KTLS: Free the MAC session when destroying AES-CBC software sessions. 2022-04-21 13:49:40 -07:00
powerpc powerpc: add GENERIC64LE-NODEBUG config and improve GENERIC64-NODEBUG 2022-04-22 01:06:13 +02:00
riscv busdma_bounce: Add free_bounce_pages helper function. 2022-04-21 10:42:14 -07:00
rpc svc_vc_rendezvous_stat: eliminiate write only variable stat 2022-04-04 22:31:04 -06:00
security mac_pimd: Support for privilege drop in pimd 2022-04-20 08:07:37 +02:00
sys Run softclock threads at a hardware ithread priority. 2022-04-21 10:40:01 -07:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
tests
tools syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
ufs ffs: plug a set-but-not-used var 2022-04-19 16:51:12 +02:00
vm vm_phys_init: Quiet unused but set warnings about npages. 2022-04-18 12:06:14 -07:00
x86 busdma_bounce: Add free_bounce_pages helper function. 2022-04-21 10:42:14 -07:00
xdr
xen xen: Use __diagused for a variable only used in KASSERT(). 2022-04-13 16:08:20 -07:00
Makefile