Re: Thinkpad T14 AMD Gen 3

2022-11-11 Thread Jonathan Gray
On Fri, Nov 11, 2022 at 12:53:29AM -0500, Philippe Meunier wrote:
> Jonathan Gray wrote:
> >Glad to hear amdgpu works on Rembrandt/Yellow Carp.
> 
> On a related note, I noticed I get the following kernel message when
> shutting down the X server:
> 
> [drm] *ERROR* Error waiting for DMUB idle: status=3
> 
> Otherwise X seems to work fine.
> 
> >diff below for those, though it is just cosmetic
> >run 'make' in /sys/dev/pci before building a kernel
> 
> New dmesg below, although as you say it's just cosmetic.

thanks, committed

> 
> >Does sound work when using headphones?
> 
> Neither built-in speakers nor plugged-in headphones work.
> 
> Regarding networking, the following also shows up at boot, using the
> default pf.conf and when there's no ethernet cable plugged in (I think: I
> don't remember seeing this when the cable was plugged in):
> 
> pfctl: DIOCADDRULE: Operation not supported by device
> pf enabled
> starting network
> pfctl: DIOCADDRULE: Operation not supported by device

A pf struct was recently changed.  This message occurs when the kernel
and pfctl are out of sync.

> 
> Philippe
> 
> 
> 
> OpenBSD 7.2-current (GENERIC.MP) #1: Thu Nov 10 22:06:16 EST 2022
> meun...@t14.fios-router.home:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 33014763520 (31485MB)
> avail mem = 31996751872 (30514MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x73888000 (70 entries)
> bios0: vendor LENOVO version "R23ET47W (1.17 )" date 05/27/2022
> bios0: LENOVO 21CF003XUS
> efi0 at bios0: UEFI 2.7
> efi0: Lenovo rev 0x1110
> acpi0 at bios0: ACPI 6.3Undefined scope: \\_SB_.PCI0.GPP1
> Undefined scope: \\_SB_.PCI0.GPP2
> Undefined scope: \\_SB_.PCI0.GPP2.WWAN
> Undefined scope: \\_SB_.PCI0.GPP0
> 
> acpi0: sleep states S0 S4 S5
> acpi0: tables DSDT FACP SSDT SSDT IVRS SSDT SSDT SSDT SSDT TPM2 MSDM BATB 
> HPET APIC MCFG SBST WSMT SSDT CRAT CDIT VFCT FPDT SSDT SSDT SSDT BGRT SSDT 
> SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI SSDT SSDT SSDT
> acpi0: wakeup devices GPP5(S4) GPP6(S0) GPP7(S0) LID_(S4) SLPB(S3)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpihpet0 at acpi0: 14318180 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache
> 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 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache
> cpu1: smt 1, core 0, package 0
> tsc: cpu0/cpu1: sync test failed
> timecounter: active counter changed: tsc -> acpihpet0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 
> 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 

Re: Thinkpad T14 AMD Gen 3

2022-11-10 Thread Philippe Meunier
Jonathan Gray wrote:
>Glad to hear amdgpu works on Rembrandt/Yellow Carp.

On a related note, I noticed I get the following kernel message when
shutting down the X server:

[drm] *ERROR* Error waiting for DMUB idle: status=3

Otherwise X seems to work fine.

>diff below for those, though it is just cosmetic
>run 'make' in /sys/dev/pci before building a kernel

New dmesg below, although as you say it's just cosmetic.

>Does sound work when using headphones?

Neither built-in speakers nor plugged-in headphones work.

Regarding networking, the following also shows up at boot, using the
default pf.conf and when there's no ethernet cable plugged in (I think: I
don't remember seeing this when the cable was plugged in):

pfctl: DIOCADDRULE: Operation not supported by device
pf enabled
starting network
pfctl: DIOCADDRULE: Operation not supported by device

Philippe



OpenBSD 7.2-current (GENERIC.MP) #1: Thu Nov 10 22:06:16 EST 2022
meun...@t14.fios-router.home:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 33014763520 (31485MB)
avail mem = 31996751872 (30514MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x73888000 (70 entries)
bios0: vendor LENOVO version "R23ET47W (1.17 )" date 05/27/2022
bios0: LENOVO 21CF003XUS
efi0 at bios0: UEFI 2.7
efi0: Lenovo rev 0x1110
acpi0 at bios0: ACPI 6.3Undefined scope: \\_SB_.PCI0.GPP1
Undefined scope: \\_SB_.PCI0.GPP2
Undefined scope: \\_SB_.PCI0.GPP2.WWAN
Undefined scope: \\_SB_.PCI0.GPP0

acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SSDT SSDT IVRS SSDT SSDT SSDT SSDT TPM2 MSDM BATB HPET 
APIC MCFG SBST WSMT SSDT CRAT CDIT VFCT FPDT SSDT SSDT SSDT BGRT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT UEFI SSDT SSDT SSDT
acpi0: wakeup devices GPP5(S4) GPP6(S0) GPP7(S0) LID_(S4) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
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 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu1: smt 1, core 0, package 0
tsc: cpu0/cpu1: sync test failed
timecounter: active counter changed: tsc -> acpihpet0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 19-44-01
cpu3: 

Re: Thinkpad T14 AMD Gen 3

2022-11-08 Thread Jonathan Gray
On Tue, Nov 08, 2022 at 03:36:12AM -0700, Theo de Raadt wrote:
> Jonathan Gray  wrote:
> 
> > > More importantly the wifi card (Qualcomm QCNFA765) is not recognized.  Is
> > > there any chance that it might become supported in the reasonable future 
> > > or
> > > should I try to get a different wifi card (and in such a case, which one)?
> > > Any advice?  Thank you.
> > 
> > It is possible someone will look at this.  I'm not sure what the
> > current situation is with changing cards.  In the past Lenovo systems
> > have had a list of permitted PCI devices and will refuse to boot if a
> > card not in the list is added.
> 
> 
> An iwx card will definately work in the machine.  It is crucial you get
> one with the correct minipcie connector, since there is big variation.
> I believe it is the same FRU as used on the T14gen2.  I don't know the
> FRU, but OpenBSD calls it "Intel Wi-Fi 6 AX200".

Be careful not to get one designed for an Intel SoC.

https://www.intel.com.au/content/www/au/en/support/articles/26155/wireless.html
AX411
AX211
AX203
AX201
AX101
9560
9462
9461

"Though you can insert these CRF into a standard M.2 Key E socket, they
are only compatible with a system designed for the CNVi."



Re: Thinkpad T14 AMD Gen 3

2022-11-08 Thread Theo de Raadt
Jonathan Gray  wrote:

> > More importantly the wifi card (Qualcomm QCNFA765) is not recognized.  Is
> > there any chance that it might become supported in the reasonable future or
> > should I try to get a different wifi card (and in such a case, which one)?
> > Any advice?  Thank you.
> 
> It is possible someone will look at this.  I'm not sure what the
> current situation is with changing cards.  In the past Lenovo systems
> have had a list of permitted PCI devices and will refuse to boot if a
> card not in the list is added.


An iwx card will definately work in the machine.  It is crucial you get
one with the correct minipcie connector, since there is big variation.
I believe it is the same FRU as used on the T14gen2.  I don't know the
FRU, but OpenBSD calls it "Intel Wi-Fi 6 AX200".


BTW, we want some loose Qualcomm QCNFA765 cards, or similar.





Re: Thinkpad T14 AMD Gen 3

2022-11-08 Thread Jonathan Gray
On Tue, Nov 08, 2022 at 12:45:42AM -0500, Philippe Meunier wrote:
> Hi,
> 
> I have a new Thinkpad T14 AMD Gen 3.  I tried OpenBSD 7.2-current and the
> install went smoothly (from USB thumb drive to USB thumb drive, for now).
> The machine booted, X11 seems to work fine, and so does the Ethernet

Glad to hear amdgpu works on Rembrandt/Yellow Carp.

To make suspend/resume possible look for an option along the lines of
"Linux S3" in the UEFI firmware settings for sleep state.

> interface, but there's a whole bunch of "unknown" and "not configured"
> stuff in the dmesg (see below).  For example there doesn't seem to be any
> sound (the keyboard doesn't beep, at least).

diff below for those, though it is just cosmetic
run 'make' in /sys/dev/pci before building a kernel

Does sound work when using headphones?

> 
> More importantly the wifi card (Qualcomm QCNFA765) is not recognized.  Is
> there any chance that it might become supported in the reasonable future or
> should I try to get a different wifi card (and in such a case, which one)?
> Any advice?  Thank you.

It is possible someone will look at this.  I'm not sure what the
current situation is with changing cards.  In the past Lenovo systems
have had a list of permitted PCI devices and will refuse to boot if a
card not in the list is added.

Index: sys/dev/pci/pcidevs
===
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.2010
diff -u -p -r1.2010 pcidevs
--- sys/dev/pci/pcidevs 24 Oct 2022 09:12:09 -  1.2010
+++ sys/dev/pci/pcidevs 8 Nov 2022 08:35:28 -
@@ -775,6 +775,11 @@ product AMD 17_7X_PCIE_2   0x1484  17h PCIE
 product AMD 17_3X_CCP  0x1486  17h Crypto
 product AMD 17_3X_HDA  0x1487  17h HD Audio
 product AMD 17_7X_XHCI 0x149c  17h xHCI
+product AMD 19_4X_RC   0x14b5  19h/4xh Root Complex
+product AMD 19_4X_IOMMU0x14b6  19h/4xh IOMMU
+product AMD 19_4X_HB_1 0x14b7  19h/4xh Host
+product AMD 19_4X_PCIE_1   0x14b9  19h/4xh PCIE
+product AMD 19_4X_PCIE_2   0x14ba  19h/4xh PCIE
 product AMD 14_HB  0x1510  14h Host
 product AMD 14_PCIE_1  0x1512  14h PCIE
 product AMD 14_PCIE_2  0x1513  14h PCIE
@@ -812,6 +817,8 @@ product AMD 16_3X_MISC_20x1585  16h Misc
 product AMD 17_1X_RC   0x15d0  17h/1xh Root Complex
 product AMD 17_1X_IOMMU0x15d1  17h/1xh IOMMU
 product AMD 17_1X_PCIE_1   0x15d3  17h/1xh PCIE
+product AMD 19_4X_XHCI_4   0x15d6  19h/4xh xHCI
+product AMD 19_4X_XHCI_5   0x15d7  19h/4xh xHCI
 product AMD 17_1X_PCIE_2   0x15db  17h/1xh PCIE
 product AMD 17_1X_PCIE_3   0x15dc  17h/1xh PCIE
 product AMD 17_1X_CCP  0x15df  17h/1xh Crypto
@@ -834,6 +841,9 @@ product AMD 15_0X_DRAM  0x1602  15/0xh DR
 product AMD 15_0X_MISC 0x1603  15/0xh Misc Cfg
 product AMD 15_0X_CPU_PM   0x1604  15/0xh CPU Power
 product AMD 15_0X_HB   0x1605  15/0xh Host
+product AMD 19_4X_XHCI_1   0x161d  19h/4xh xHCI
+product AMD 19_4X_XHCI_2   0x161e  19h/4xh xHCI
+product AMD 19_4X_XHCI_3   0x161f  19h/4xh xHCI
 product AMD 17_90_XHCI_1   0x162c  17h/90h xHCI
 product AMD 17_6X_RC   0x1630  17h/6xh Root Complex
 product AMD 17_6X_IOMMU0x1631  17h/6xh IOMMU
@@ -863,6 +873,14 @@ product AMD 19_5X_DF_4 0x166e  19h/5xh D
 product AMD 19_5X_DF_5 0x166f  19h/5xh Data Fabric
 product AMD 19_5X_DF_6 0x1670  19h/5xh Data Fabric
 product AMD 19_5X_DF_7 0x1671  19h/5xh Data Fabric
+product AMD 19_4X_DF_0 0x1679  19h/4xh Data Fabric
+product AMD 19_4X_DF_1 0x167a  19h/4xh Data Fabric
+product AMD 19_4X_DF_2 0x167b  19h/4xh Data Fabric
+product AMD 19_4X_DF_3 0x167c  19h/4xh Data Fabric
+product AMD 19_4X_DF_4 0x167d  19h/4xh Data Fabric
+product AMD 19_4X_DF_5 0x167e  19h/4xh Data Fabric
+product AMD 19_4X_DF_6 0x167f  19h/4xh Data Fabric
+product AMD 19_4X_DF_7 0x1680  19h/4xh Data Fabric
 product AMD 14_LINK0x1700  14h Link Cfg
 product AMD 14_ADDR0x1701  14h Address Map
 product AMD 14_DRAM0x1702  14h DRAM Cfg



Thinkpad T14 AMD Gen 3

2022-11-07 Thread Philippe Meunier
Hi,

I have a new Thinkpad T14 AMD Gen 3.  I tried OpenBSD 7.2-current and the
install went smoothly (from USB thumb drive to USB thumb drive, for now).
The machine booted, X11 seems to work fine, and so does the Ethernet
interface, but there's a whole bunch of "unknown" and "not configured"
stuff in the dmesg (see below).  For example there doesn't seem to be any
sound (the keyboard doesn't beep, at least).

More importantly the wifi card (Qualcomm QCNFA765) is not recognized.  Is
there any chance that it might become supported in the reasonable future or
should I try to get a different wifi card (and in such a case, which one)?
Any advice?  Thank you.

(I can provide more information like a pcidump or acpidump if anyone is
interested in having a look...)

Philippe



OpenBSD 7.2-current (GENERIC.MP) #825: Sun Nov  6 12:50:38 MST 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 33014763520 (31485MB)
avail mem = 31996776448 (30514MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x73888000 (70 entries)
bios0: vendor LENOVO version "R23ET47W (1.17 )" date 05/27/2022
bios0: LENOVO 21CF003XUS
efi0 at bios0: UEFI 2.7
efi0: Lenovo rev 0x1110
acpi0 at bios0: ACPI 6.3Undefined scope: \\_SB_.PCI0.GPP1
Undefined scope: \\_SB_.PCI0.GPP2
Undefined scope: \\_SB_.PCI0.GPP2.WWAN
Undefined scope: \\_SB_.PCI0.GPP0

acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SSDT SSDT IVRS SSDT SSDT SSDT SSDT TPM2 MSDM BATB HPET 
APIC MCFG SBST WSMT SSDT CRAT CDIT VFCT FPDT SSDT SSDT SSDT BGRT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT UEFI SSDT SSDT SSDT
acpi0: wakeup devices GPP5(S4) GPP6(S0) GPP7(S0) LID_(S4) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
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 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu1: smt 1, core 0, package 0
tsc: cpu0/cpu1: sync test failed
timecounter: active counter changed: tsc -> acpihpet0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.00 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Ryzen 7 PRO 6850U with Radeon Graphics, 2700.01 MHz, 19-44-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,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLU