On Thu, May 05, 2022 at 11:26:23AM +0200, Frederic Cambus wrote: > Hi tech@, > > Here is a diff to add ID for the AMD Sensor Fusion Hub found on my > Ryzen-based ZBOX CA621. Full dmesg below. > > Comments? OK?
Can the string instead be "17h/1xh SFH"? > > Index: sys/dev/pci/pcidevs > =================================================================== > RCS file: /cvs/src/sys/dev/pci/pcidevs,v > retrieving revision 1.1988 > diff -u -p -r1.1988 pcidevs > --- sys/dev/pci/pcidevs 11 Mar 2022 08:28:40 -0000 1.1988 > +++ sys/dev/pci/pcidevs 4 May 2022 09:04:34 -0000 > @@ -818,6 +818,7 @@ product AMD 17_1X_XHCI_1 0x15e0 17h/1xh > product AMD 17_1X_XHCI_2 0x15e1 17h/1xh xHCI > product AMD 17_1X_ACP 0x15e2 17h/1xh I2S Audio > product AMD 17_1X_HDA 0x15e3 17h/1xh HD Audio > +product AMD 17_1X_SFH 0x15e6 17h/1xh Sensor Fusion Hub > product AMD 17_1X_DF_0 0x15e8 17h/1xh Data Fabric > product AMD 17_1X_DF_1 0x15e9 17h/1xh Data Fabric > product AMD 17_1X_DF_2 0x15ea 17h/1xh Data Fabric > > > OpenBSD 7.1-current (GENERIC.MP) #1: Wed May 4 13:09:09 CEST 2022 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 32125165568 (30636MB) > avail mem = 31134224384 (29691MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xeacc0 (44 entries) > bios0: vendor American Megatrends Inc. version "B410P112" date 09/08/2021 > bios0: ZOTAC B410 > acpi0 at bios0: ACPI 6.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT SSDT MCFG HPET UEFI TPM2 SSDT CRAT > CDIT SSDT SSDT SSDT WSMT SSDT > acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) > GPP6(S4) GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) SIO1(S3) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2595.56 MHz, 17-18-01 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache > cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=1.1, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2595.10 MHz, 17-18-01 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache > cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu1: smt 1, core 0, package 0 > cpu2 at mainbus0: apid 2 (application processor) > cpu2: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2595.10 MHz, 17-18-01 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache > cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2595.10 MHz, 17-18-01 > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu3: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache > cpu3: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu3: smt 1, core 1, package 0 > ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins > ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318180 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (GPP0) > acpiprt2 at acpi0: bus 1 (GPP1) > acpiprt3 at acpi0: bus 2 (GPP2) > acpiprt4 at acpi0: bus 3 (GPP3) > acpiprt5 at acpi0: bus -1 (GPP4) > acpiprt6 at acpi0: bus -1 (GPP5) > acpiprt7 at acpi0: bus -1 (GPP6) > acpiprt8 at acpi0: bus 4 (GP17) > acpiprt9 at acpi0: bus 5 (GP18) > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > acpicmos0 at acpi0 > acpibtn0 at acpi0: PWRB > amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins > tpm0 at acpi0 TPM_: unsupported TPM2 start method 2 > acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpicpu1 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpicpu2 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpicpu3 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpivideo0 at acpi0: VGA_ > acpivideo1 at acpi0: VGA_ > acpivout0 at acpivideo1: LCD_ > cpu0: 2595 MHz: speeds: 2600 1700 1400 MHz > pci0 at mainbus0 bus 0 > ksmn0 at pci0 dev 0 function 0 "AMD 17h/1xh Root Complex" rev 0x00 > pchb0 at pci0 dev 1 function 0 "AMD 17h PCIE" rev 0x00 > ppb0 at pci0 dev 1 function 2 "AMD 17h/1xh PCIE" rev 0x00: msi > pci1 at ppb0 bus 1 > re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G > (0x4c00), msi, address 00:01:2e:a4:31:41 > rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 > ppb1 at pci0 dev 1 function 3 "AMD 17h/1xh PCIE" rev 0x00: msi > pci2 at ppb1 bus 2 > re1 at pci2 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G > (0x4c00), msi, address 00:01:2e:a4:31:42 > rgephy1 at re1 phy 7: RTL8251 PHY, rev. 0 > ppb2 at pci0 dev 1 function 4 "AMD 17h/1xh PCIE" rev 0x00: msi > pci3 at ppb2 bus 3 > iwm0 at pci3 dev 0 function 0 "Intel AC 3165" rev 0x81, msi > pchb1 at pci0 dev 8 function 0 "AMD 17h PCIE" rev 0x00 > ppb3 at pci0 dev 8 function 1 "AMD 17h/1xh PCIE" rev 0x00 > pci4 at ppb3 bus 4 > amdgpu0 at pci4 dev 0 function 0 "ATI Picasso" rev 0xc4 > drm0 at amdgpu0 > amdgpu0: msi > azalia0 at pci4 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi > azalia0: no supported codecs > ccp0 at pci4 dev 0 function 2 "AMD 17h/1xh Crypto" rev 0x00 > xhci0 at pci4 dev 0 function 3 "AMD 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 > addr 1 > xhci1 at pci4 dev 0 function 4 "AMD 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10 > usb1 at xhci1: USB revision 3.0 > uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 > addr 1 > "AMD 17h/1xh I2S Audio" rev 0x00 at pci4 dev 0 function 5 not configured > azalia1 at pci4 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: apic 6 int > 30 > azalia1: codecs: Realtek ALC888 > audio0 at azalia1 > "AMD 17h/1xh Sensor Fusion Hub" rev 0x00 at pci4 dev 0 function 7 not > configured > ppb4 at pci0 dev 8 function 2 "AMD 17h/1xh PCIE" rev 0x00 > pci5 at ppb4 bus 5 > ahci0 at pci5 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1 > ahci0: port 0: 6.0Gb/s > ahci0: port 1: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 860, RVT0> > naa.5002538e9087a3b3 > sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin > sd1 at scsibus1 targ 1 lun 0: <ATA, TS480GMTS420S, U100> naa.57c35481d7766dfb > sd1: 457862MB, 512 bytes/sector, 937703088 sectors, thin > piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI > iic0 at piixpm0 > spdmem0 at iic0 addr 0x50: 16GB DDR4 SDRAM PC4-21300 SO-DIMM > spdmem1 at iic0 addr 0x51: 16GB DDR4 SDRAM PC4-21300 SO-DIMM > iic1 at piixpm0 > pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 > pchb2 at pci0 dev 24 function 0 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb3 at pci0 dev 24 function 1 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb4 at pci0 dev 24 function 2 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb5 at pci0 dev 24 function 3 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb6 at pci0 dev 24 function 4 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb7 at pci0 dev 24 function 5 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb8 at pci0 dev 24 function 6 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb9 at pci0 dev 24 function 7 "AMD 17h/1xh Data Fabric" rev 0x00 > isa0 at pcib0 > isadma0 at isa0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: SVM/RVI > uhidev0 at uhub0 port 4 configuration 1 interface 0 "Lenovo ThinkPad Compact > USB Keyboard with TrackPoint" rev 2.00/3.30 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd0 at ukbd0: console keyboard > uhidev1 at uhub0 port 4 configuration 1 interface 1 "Lenovo ThinkPad Compact > USB Keyboard with TrackPoint" rev 2.00/3.30 addr 2 > uhidev1: iclass 3/1, 22 report ids > ums0 at uhidev1 reportid 1: 5 buttons, Z and W dir > wsmouse0 at ums0 mux 0 > ucc0 at uhidev1 reportid 16: 573 usages, 18 keys, array > wskbd1 at ucc0 mux 1 > uhid0 at uhidev1 reportid 17: input=2, output=0, feature=0 > uhid1 at uhidev1 reportid 19: input=8, output=8, feature=8 > uhid2 at uhidev1 reportid 21: input=2, output=0, feature=0 > uhid3 at uhidev1 reportid 22: input=2, output=0, feature=0 > umass0 at uhub0 port 7 configuration 1 interface 0 "Verbatim Portable USB 3.0 > Drive" rev 3.00/5.10 addr 3 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd2 at scsibus2 targ 1 lun 0: <M4-CT128, M4SSD1, 000F> > serial.18a50237210051208081 > sd2: 122104MB, 512 bytes/sector, 250069676 sectors > ugen0 at uhub1 port 1 "Intel Bluetooth" rev 2.00/0.01 addr 2 > umass1 at uhub1 port 2 configuration 1 interface 0 "Generic USB2.0-CRW" rev > 2.00/57.13 addr 3 > umass1: using SCSI over Bulk-Only > scsibus3 at umass1: 2 targets, initiator 0 > sd3 at scsibus3 targ 1 lun 0: <Generic-, SD/MMC/MS PRO, 1.00> removable > serial.0bda0153926571200000 > vscsi0 at root > scsibus4 at vscsi0: 256 targets > softraid0 at root > scsibus5 at softraid0: 256 targets > root on sd2a (4561d3363de7f2a6.a) swap on sd2b dump on sd2b > iwm0: hw rev 0x210, fw ver 29.4063824552.0, address 64:6e:e0:46:91:28 > amdgpu0: PICASSO 3 CU rev 0x01 > amdgpu0: 3840x2160, 32bpp > wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > >
