> If you run without the script, with the same settings, do you experience > problems ?I have not tried this since the last BIOPS update which brought with it the latest AEGSA version. Previously the machine would lock uop if I enabled SMT though which is why looking at those settings and cross referencing them to the erata was very interesting. I just rebooted the machine to get you the log, and am going to run without applyingthose fixes for the rest of the week to see how it goes though. Will let you know one way or the other on Friday, and will do my best to lock it up before then.> Also, please show the 100 first lines of the verbose boot dmesg on this > machine.the dmesg wraps around if I boot verbosely, but heres the contnets of /var/log/messages from the time it starts to where it stops talking about CPU specific stuff... if you need something else then let me know - this is an easy machine to reboot and play about with. -pete. Jun 26 13:13:26 dilbert kernel: Table 'FACP' at 0xdd0fb6b8 Jun 26 13:13:26 dilbert kernel: Table 'APIC' at 0xdd0fb7d0 Jun 26 13:13:26 dilbert kernel: APIC: Found table at 0xdd0fb7d0 Jun 26 13:13:26 dilbert kernel: APIC: Using the MADT enumerator. Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 0 ACPI ID 1: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 0 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 1 ACPI ID 2: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 1 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 2 ACPI ID 3: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 2 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 3 ACPI ID 4: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 3 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 4 ACPI ID 5: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 4 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 5 ACPI ID 6: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 5 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 6 ACPI ID 7: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 6 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 7 ACPI ID 8: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 7 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 8 ACPI ID 9: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 8 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 9 ACPI ID 10: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 9 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 10 ACPI ID 11: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 10 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 11 ACPI ID 12: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 11 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 12 ACPI ID 13: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 12 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 13 ACPI ID 14: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 13 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 14 ACPI ID 15: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 14 (AP) Jun 26 13:13:26 dilbert kernel: MADT: Found CPU APIC ID 15 ACPI ID 16: enabled Jun 26 13:13:26 dilbert kernel: SMP: Added CPU 15 (AP) Jun 26 13:13:26 dilbert kernel: Copyright (c) 1992-2018 The FreeBSD Project. Jun 26 13:13:26 dilbert kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jun 26 13:13:26 dilbert kernel: The Regents of the University of California. All rights reserved. Jun 26 13:13:26 dilbert kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jun 26 13:13:26 dilbert kernel: FreeBSD 11.2-STABLE #0 r335659: Tue Jun 26 10:47:47 BST 2018 Jun 26 13:13:26 dilbert kernel: petefrench at dilbert.london-internal.ingresso.co.uk:/usr/obj/usr/src/sys/GENERIC amd64 Jun 26 13:13:26 dilbert kernel: FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Jun 26 13:13:26 dilbert kernel: Table 'FACP' at 0xdd0fb6b8 Jun 26 13:13:26 dilbert kernel: Table 'APIC' at 0xdd0fb7d0 Jun 26 13:13:26 dilbert kernel: Table 'FPDT' at 0xdd0fb8b0 Jun 26 13:13:26 dilbert kernel: Table 'FIDT' at 0xdd0fb8f8 Jun 26 13:13:26 dilbert kernel: Table 'SSDT' at 0xdd0fb998 Jun 26 13:13:26 dilbert kernel: Table 'SSDT' at 0xdd104630 Jun 26 13:13:26 dilbert kernel: Table 'CRAT' at 0xdd106948 Jun 26 13:13:26 dilbert kernel: Table 'CDIT' at 0xdd107898 Jun 26 13:13:26 dilbert kernel: Table 'SSDT' at 0xdd1078c8 Jun 26 13:13:26 dilbert kernel: Table 'MCFG' at 0xdd10a660 Jun 26 13:13:26 dilbert kernel: Table 'HPET' at 0xdd10a6a0 Jun 26 13:13:26 dilbert kernel: Table 'SSDT' at 0xdd10a6d8 Jun 26 13:13:26 dilbert kernel: Table 'UEFI' at 0xdd10a700 Jun 26 13:13:26 dilbert kernel: Table 'IVRS' at 0xdd10a748 Jun 26 13:13:26 dilbert kernel: Table 'SSDT' at 0xdd10a818 Jun 26 13:13:26 dilbert kernel: Table 'SSDT' at 0xdd10a910 Jun 26 13:13:26 dilbert kernel: Table 'WSMT' at 0xdd10c358 Jun 26 13:13:26 dilbert kernel: ACPI: No SRAT table found Jun 26 13:13:26 dilbert kernel: PPIM 0: PA=0xa0000, VA=0xffffffff82810000, size=0x10000, mode=0 Jun 26 13:13:26 dilbert kernel: VT(vga): resolution 640x480 Jun 26 13:13:26 dilbert kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff826bd000. Jun 26 13:13:26 dilbert kernel: Preloaded boot_entropy_cache "/boot/entropy" at 0xffffffff826c6148. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/aesni.ko" at 0xffffffff826c61a0. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/cryptodev.ko" at 0xffffffff826c6888. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/geom_eli.ko" at 0xffffffff826c6f38. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/fuse.ko" at 0xffffffff826c75e8. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/sem.ko" at 0xffffffff826c7c90. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/amdtemp.ko" at 0xffffffff826c82b8. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/amdsmn.ko" at 0xffffffff826c8860. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/linux.ko" at 0xffffffff826c8e08. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/linux_common.ko" at 0xffffffff826c96f0. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/zfs.ko" at 0xffffffff826c9e20. Jun 26 13:13:26 dilbert kernel: Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0xffffffff826ca648. Jun 26 13:13:26 dilbert kernel: Calibrating TSC clock ... TSC clock: 3000069750 Hz Jun 26 13:13:26 dilbert kernel: CPU: AMD Ryzen 7 1700 Eight-Core Processor (3000.07-MHz K8-class CPU) Jun 26 13:13:26 dilbert kernel: Origin="AuthenticAMD" Id=0x800f11 Family=0x17 Model=0x1 Stepping=1 Jun 26 13:13:26 dilbert kernel: Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Jun 26 13:13:26 dilbert kernel: Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> Jun 26 13:13:26 dilbert kernel: AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> Jun 26 13:13:26 dilbert kernel: AMD Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX> Jun 26 13:13:26 dilbert kernel: Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA> Jun 26 13:13:26 dilbert kernel: XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> Jun 26 13:13:26 dilbert kernel: AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr> Jun 26 13:13:26 dilbert kernel: SVM: Features=0x1bcff<NP,LbrVirt,SVML,NRIPS,TscRateMsr,VmcbClean,FlushByAsid,DecodeAssist,PauseFilter,<b11>,PauseFilterThreshold,AVIC> Jun 26 13:13:26 dilbert kernel: Revision=1, ASIDs=32768 Jun 26 13:13:26 dilbert kernel: TSC: P-state invariant, performance statistics Jun 26 13:13:26 dilbert kernel: L1 2MB data TLB: 64 entries, fully associative Jun 26 13:13:26 dilbert kernel: L1 2MB instruction TLB: 64 entries, fully associative Jun 26 13:13:26 dilbert kernel: L1 4KB data TLB: 64 entries, fully associative Jun 26 13:13:26 dilbert kernel: L1 4KB instruction TLB: 64 entries, fully associative Jun 26 13:13:26 dilbert kernel: L1 data cache: 32 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative Jun 26 13:13:26 dilbert kernel: L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 4-way associative Jun 26 13:13:26 dilbert kernel: L2 2MB data TLB: 1536 entries, 2-way associative Jun 26 13:13:26 dilbert kernel: L2 2MB instruction TLB: 1024 entries, 2-way associative Jun 26 13:13:26 dilbert kernel: L2 4KB data TLB: 1536 entries, 8-way associative Jun 26 13:13:26 dilbert kernel: L2 4KB instruction TLB: 1536 entries, 8-way associative Jun 26 13:13:26 dilbert kernel: L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative Jun 26 13:13:26 dilbert kernel: real memory = 8589934592 (8192 MB) Jun 26 13:13:26 dilbert kernel: Physical memory chunk(s): Jun 26 13:13:26 dilbert kernel: 0x0000000000010000 - 0x0000000000099fff, 565248 bytes (138 pages) Jun 26 13:13:26 dilbert kernel: 0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages) Jun 26 13:13:26 dilbert kernel: 0x0000000002800000 - 0x0000000003ffffff, 25165824 bytes (6144 pages) Jun 26 13:13:26 dilbert kernel: 0x000000000400a000 - 0x0000000009d7ffff, 98000896 bytes (23926 pages) Jun 26 13:13:26 dilbert kernel: 0x000000000a000000 - 0x000000000affffff, 16777216 bytes (4096 pages) Jun 26 13:13:26 dilbert kernel: 0x000000000b020000 - 0x00000000dce94fff, 3521597440 bytes (859765 pages) Jun 26 13:13:26 dilbert kernel: 0x00000000dcffd000 - 0x00000000dd0f3fff, 1011712 bytes (247 pages) Jun 26 13:13:26 dilbert kernel: 0x00000000de665000 - 0x00000000deffffff, 10072064 bytes (2459 pages) Jun 26 13:13:26 dilbert kernel: 0x0000000100000000 - 0x0000000211b2afff, 4591890432 bytes (1121067 pages) Jun 26 13:13:26 dilbert kernel: avail memory = 8208781312 (7828 MB) Jun 26 13:13:26 dilbert kernel: Event timer "LAPIC" quality 600 Jun 26 13:13:26 dilbert kernel: LAPIC: ipi_wait() us multiplier 13 (r 22217700 tsc 3000069750) Jun 26 13:13:26 dilbert kernel: ACPI APIC Table: <ALASKA A M I > Jun 26 13:13:26 dilbert kernel: Package ID shift: 4 Jun 26 13:13:26 dilbert kernel: L3 cache ID shift: 3 Jun 26 13:13:26 dilbert kernel: L2 cache ID shift: 1 Jun 26 13:13:26 dilbert kernel: L1 cache ID shift: 1 Jun 26 13:13:26 dilbert kernel: Core ID shift: 1 Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 2 as a target Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 4 as a target Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 6 as a target Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 8 as a target Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 10 as a target Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 12 as a target Jun 26 13:13:26 dilbert kernel: INTR: Adding local APIC 14 as a target Jun 26 13:13:26 dilbert kernel: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs Jun 26 13:13:26 dilbert kernel: FreeBSD/SMP: 1 package(s) x 8 core(s) x 2 hardware threads Jun 26 13:13:26 dilbert kernel: Package HW ID = 0 (0) Jun 26 13:13:26 dilbert kernel: Core HW ID = 0 (0) Jun 26 13:13:26 dilbert kernel: CPU0 (BSP): APIC ID: 0 (0) Jun 26 13:13:26 dilbert kernel: CPU1 (AP/HT): APIC ID: 1 (0x1) Jun 26 13:13:26 dilbert kernel: Core HW ID = 1 (0x1) Jun 26 13:13:26 dilbert kernel: CPU2 (AP): APIC ID: 2 (0x2) Jun 26 13:13:26 dilbert kernel: CPU3 (AP/HT): APIC ID: 3 (0x3) Jun 26 13:13:26 dilbert kernel: Core HW ID = 2 (0x2) Jun 26 13:13:26 dilbert kernel: CPU4 (AP): APIC ID: 4 (0x4) Jun 26 13:13:26 dilbert kernel: CPU5 (AP/HT): APIC ID: 5 (0x5) Jun 26 13:13:26 dilbert kernel: Core HW ID = 3 (0x3) Jun 26 13:13:26 dilbert kernel: CPU6 (AP): APIC ID: 6 (0x6) Jun 26 13:13:26 dilbert kernel: CPU7 (AP/HT): APIC ID: 7 (0x7) Jun 26 13:13:26 dilbert kernel: Core HW ID = 4 (0x4) Jun 26 13:13:26 dilbert kernel: CPU8 (AP): APIC ID: 8 (0x8) Jun 26 13:13:26 dilbert kernel: CPU9 (AP/HT): APIC ID: 9 (0x9) Jun 26 13:13:26 dilbert kernel: Core HW ID = 5 (0x5) Jun 26 13:13:26 dilbert kernel: CPU10 (AP): APIC ID: 10 (0xa) Jun 26 13:13:26 dilbert kernel: CPU11 (AP/HT): APIC ID: 11 (0xb) Jun 26 13:13:26 dilbert kernel: Core HW ID = 6 (0x6) Jun 26 13:13:26 dilbert kernel: CPU12 (AP): APIC ID: 12 (0xc) Jun 26 13:13:26 dilbert kernel: CPU13 (AP/HT): APIC ID: 13 (0xd) Jun 26 13:13:26 dilbert kernel: Core HW ID = 7 (0x7) Jun 26 13:13:26 dilbert kernel: CPU14 (AP): APIC ID: 14 (0xe) Jun 26 13:13:26 dilbert kernel: CPU15 (AP/HT): APIC ID: 15 (0xf) Jun 26 13:13:26 dilbert kernel: APIC: CPU 0 has ACPI ID 1 Jun 26 13:13:26 dilbert kernel: APIC: CPU 1 has ACPI ID 2 Jun 26 13:13:26 dilbert kernel: APIC: CPU 2 has ACPI ID 3 Jun 26 13:13:26 dilbert kernel: APIC: CPU 3 has ACPI ID 4 Jun 26 13:13:26 dilbert kernel: APIC: CPU 4 has ACPI ID 5 Jun 26 13:13:26 dilbert kernel: APIC: CPU 5 has ACPI ID 6 Jun 26 13:13:26 dilbert kernel: APIC: CPU 6 has ACPI ID 7 Jun 26 13:13:26 dilbert kernel: APIC: CPU 7 has ACPI ID 8 Jun 26 13:13:26 dilbert kernel: APIC: CPU 8 has ACPI ID 9 Jun 26 13:13:26 dilbert kernel: APIC: CPU 9 has ACPI ID 10 Jun 26 13:13:26 dilbert kernel: APIC: CPU 10 has ACPI ID 11 Jun 26 13:13:26 dilbert kernel: APIC: CPU 11 has ACPI ID 12 Jun 26 13:13:26 dilbert kernel: APIC: CPU 12 has ACPI ID 13 Jun 26 13:13:26 dilbert kernel: APIC: CPU 13 has ACPI ID 14 Jun 26 13:13:26 dilbert kernel: APIC: CPU 14 has ACPI ID 15 Jun 26 13:13:26 dilbert kernel: APIC: CPU 15 has ACPI ID 16 Jun 26 13:13:26 dilbert kernel: x86bios: IVT 0x000000-0x0004ff at 0xfffff80000000000 Jun 26 13:13:26 dilbert kernel: x86bios: SSEG 0x098000-0x098fff at 0xfffffe01ecfe8000 Jun 26 13:13:26 dilbert kernel: x86bios: EBDA 0x09d000-0x09ffff at 0xfffff8000009d000 Jun 26 13:13:26 dilbert kernel: x86bios: ROM 0x0a0000-0x0fefff at 0xfffff800000a0000 Jun 26 13:13:26 dilbert kernel: Pentium Pro MTRR support enabled Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 0 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 1 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 2 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 3 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 4 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 5 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 6 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 7 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 8 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 9 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 10 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 11 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 12 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 13 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 14 Jun 26 13:13:26 dilbert kernel: ULE: setup cpu 15 Jun 26 13:13:26 dilbert kernel: ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA) Jun 26 13:13:26 dilbert kernel: ACPI: XSDT 0x00000000DD0F4098 0000AC (v01 ALASKA A M I 01072009 AMI 00010013) Jun 26 13:13:26 dilbert kernel: ACPI: FACP 0x00000000DD0FB6B8 000114 (v06 ALASKA A M I 01072009 AMI 00010013) Jun 26 13:13:26 dilbert kernel: Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20171214/tbfadt-796) Jun 26 13:13:26 dilbert kernel: ACPI: DSDT 0x00000000DD0F41D8 0074DC (v02 ALASKA A M I 01072009 INTL 20120913) Jun 26 13:13:26 dilbert kernel: ACPI: FACS 0x00000000DD4BCE00 000040 Jun 26 13:13:26 dilbert kernel: ACPI: APIC 0x00000000DD0FB7D0 0000DE (v03 ALASKA A M I 01072009 AMI 00010013) Jun 26 13:13:26 dilbert kernel: ACPI: FPDT 0x00000000DD0FB8B0 000044 (v01 ALASKA A M I 01072009 AMI 00010013) Jun 26 13:13:26 dilbert kernel: ACPI: FIDT 0x00000000DD0FB8F8 00009C (v01 ALASKA A M I 01072009 AMI 00010013) Jun 26 13:13:26 dilbert kernel: ACPI: SSDT 0x00000000DD0FB998 008C98 (v02 AMD AMD ALIB 00000002 MSFT 04000000) Jun 26 13:13:26 dilbert kernel: ACPI: SSDT 0x00000000DD104630 002314 (v01 AMD AMD CPU 00000001 AMD 00000001) Jun 26 13:13:26 dilbert kernel: ACPI: CRAT 0x00000000DD106948 000F50 (v01 AMD AMD CRAT 00000001 AMD 00000001) Jun 26 13:13:26 dilbert kernel: ACPI: CDIT 0x00000000DD107898 000029 (v01 AMD AMD CDIT 00000001 AMD 00000001) Jun 26 13:13:26 dilbert kernel: ACPI: SSDT 0x00000000DD1078C8 002D94 (v01 AMD AMD AOD 00000001 INTL 20120913) Jun 26 13:13:26 dilbert kernel: ACPI: MCFG 0x00000000DD10A660 00003C (v01 ALASKA A M I 01072009 MSFT 00010013) Jun 26 13:13:26 dilbert kernel: ACPI: HPET 0x00000000DD10A6A0 000038 (v01 ALASKA A M I 01072009 AMI 00000005) Jun 26 13:13:26 dilbert kernel: ACPI: SSDT 0x00000000DD10A6D8 000024 (v01 AMDFCH FCHZP 00001000 INTL 20120913) Jun 26 13:13:26 dilbert kernel: ACPI: UEFI 0x00000000DD10A700 000042 (v01 00000000 00000000) Jun 26 13:13:26 dilbert kernel: ACPI: IVRS 0x00000000DD10A748 0000D0 (v02 AMD AMD IVRS 00000001 AMD 00000000) Jun 26 13:13:26 dilbert kernel: ACPI: SSDT 0x00000000DD10A818 0000F8 (v01 AMD AMD PT 00001000 INTL 20120913) Jun 26 13:13:26 dilbert kernel: ACPI: SSDT 0x00000000DD10A910 001A41 (v01 AMD AmdTable 00000001 INTL 20120913) Jun 26 13:13:26 dilbert kernel: ACPI: WSMT 0x00000000DD10C358 000028 (v01 ALASKA A M I 01072009 AMI 00010013) Jun 26 13:13:26 dilbert kernel: MADT: Found IO APIC ID 17, Interrupt 0 at 0xfec00000 Jun 26 13:13:26 dilbert kernel: ioapic0: Changing APIC ID to 17 Jun 26 13:13:26 dilbert kernel: ioapic0: ver 0x21 maxredir 0x17 Jun 26 13:13:26 dilbert kernel: ioapic0: Routing external 8259A's -> intpin 0 Jun 26 13:13:26 dilbert kernel: MADT: Found IO APIC ID 18, Interrupt 24 at 0xfec01000 Jun 26 13:13:26 dilbert kernel: ioapic1: Changing APIC ID to 18 Jun 26 13:13:26 dilbert kernel: ioapic1: ver 0x21 maxredir 0x1f Jun 26 13:13:26 dilbert kernel: lapic: Routing NMI -> LINT1 Jun 26 13:13:26 dilbert kernel: lapic: LINT1 trigger: edge Jun 26 13:13:26 dilbert kernel: lapic: LINT1 polarity: high Jun 26 13:13:26 dilbert kernel: MADT: Interrupt override: source 0, irq 2 Jun 26 13:13:26 dilbert kernel: ioapic0: Routing IRQ 0 -> intpin 2 Jun 26 13:13:26 dilbert kernel: MADT: Interrupt override: source 9, irq 9 Jun 26 13:13:26 dilbert kernel: ioapic0: intpin 9 trigger: level Jun 26 13:13:26 dilbert kernel: ioapic0: intpin 9 polarity: low Jun 26 13:13:26 dilbert kernel: ioapic0 <Version 2.1> irqs 0-23 on motherboard Jun 26 13:13:26 dilbert kernel: ioapic1 <Version 2.1> irqs 24-55 on motherboard Jun 26 13:13:26 dilbert kernel: lapic: Divisor 2, Frequency 50001164 Hz Jun 26 13:13:26 dilbert kernel: cpu0 BSP: Jun 26 13:13:26 dilbert kernel: ID: 0x00000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #15 Launched! Jun 26 13:13:26 dilbert kernel: cpu15 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x0f000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #13 Launched! Jun 26 13:13:26 dilbert kernel: cpu13 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x0d000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #9 Launched! Jun 26 13:13:26 dilbert kernel: cpu9 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x09000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #7 Launched! Jun 26 13:13:26 dilbert kernel: cpu7 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x07000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #3 Launched! Jun 26 13:13:26 dilbert kernel: cpu3 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x03000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #8 Launched! Jun 26 13:13:26 dilbert kernel: cpu8 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x08000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #11 Launched! Jun 26 13:13:26 dilbert kernel: cpu11 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x0b000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #4 Launched! Jun 26 13:13:26 dilbert kernel: cpu4 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x04000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #2 Launched! Jun 26 13:13:26 dilbert kernel: cpu2 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x02000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #5 Launched! Jun 26 13:13:26 dilbert kernel: cpu5 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x05000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #1 Launched! Jun 26 13:13:26 dilbert kernel: cpu1 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x01000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #12 Launched! Jun 26 13:13:26 dilbert kernel: cpu12 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x0c000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #14 Launched! Jun 26 13:13:26 dilbert kernel: cpu14 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x0e000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #10 Launched! Jun 26 13:13:26 dilbert kernel: cpu10 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x0a000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: AP CPU #6 Launched! Jun 26 13:13:26 dilbert kernel: cpu6 AP: Jun 26 13:13:26 dilbert kernel: ID: 0x06000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff Jun 26 13:13:26 dilbert kernel: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff Jun 26 13:13:26 dilbert kernel: timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 Jun 26 13:13:26 dilbert kernel: AMD ext features: 0x00040007 Jun 26 13:13:26 dilbert kernel: AMD elvt0: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt1: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt2: 0x00010000 Jun 26 13:13:26 dilbert kernel: AMD elvt3: 0x00010000 Jun 26 13:13:26 dilbert kernel: SMP: passed TSC synchronization test Jun 26 13:13:26 dilbert kernel: TSC timecounter discards lower 1 bit(s) Jun 26 13:13:26 dilbert kernel: Timecounter "TSC-low" frequency 1500034875 Hz quality 1000 Jun 26 13:13:26 dilbert kernel: snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024] Jun 26 13:13:26 dilbert kernel: feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25 Jun 26 13:13:26 dilbert kernel: random: entropy device external interface
On Tue, Jun 26, 2018, 5:33 AM Pete French, <petefrench at ingresso.co.uk> wrote:> > > Also, please show the 100 first lines of the verbose boot dmesg on this > > machine. > > the dmesg wraps around if I boot verbosely, but heres the contnets of > /var/log/messages from the time it starts to where it stops > talking about CPU specific stuff... if you need something else then > let me know - this is an easy machine to reboot and play about with. >/var/run/dmesg.boot is there for this various reason (dmesg buffer rolling over). :) It's the dmesg output for the current boot. Cheers, Freddie>
Konstantin Belousov
2018-Jun-30 16:55 UTC
Ryzen issues on FreeBSD ? (with sort of workaround)
On Tue, Jun 26, 2018 at 01:32:01PM +0100, Pete French wrote:> the dmesg wraps around if I boot verbosely, but heres the contnets of > /var/log/messages from the time it starts to where it stops > talking about CPU specific stuff... if you need something else then > let me know - this is an easy machine to reboot and play about with.This should be the kernel patch equivalent to the script. According to the revision document, some of the erratas are applicable to the Ryzen 2, but I do not want to do the bit tweaking without a confirmation. diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c index ccc5e64d0c4..aac3ccb7c73 100644 --- a/sys/amd64/amd64/initcpu.c +++ b/sys/amd64/amd64/initcpu.c @@ -130,6 +130,29 @@ init_amd(void) } } + /* Ryzen erratas. */ + if (CPUID_TO_FAMILY(cpu_id) == 0x17 && CPUID_TO_MODEL(cpu_id) == 0x1) { + /* 1021 */ + msr = rdmsr(0xc0011029); + msr |= 0x2000; + wrmsr(0xc0011029, msr); + + /* 1033 */ + msr = rdmsr(0xc0011020); + msr |= 0x10; + wrmsr(0xc0011020, msr); + + /* 1049 */ + msr = rdmsr(0xc0011028); + msr |= 0x10; + wrmsr(0xc0011028, msr); + + /* 1095 */ + msr = rdmsr(0xc0011020); + msr |= 0x200000000000000; + wrmsr(0xc0011020, msr); + } + /* * Work around a problem on Ryzen that is triggered by executing * code near the top of user memory, in our case the signal diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 0ea6e61e652..c3900dadf05 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -998,18 +998,18 @@ #define MSR_TOP_MEM 0xc001001a /* boundary for ram below 4G */ #define MSR_TOP_MEM2 0xc001001d /* boundary for ram above 4G */ #define MSR_NB_CFG1 0xc001001f /* NB configuration 1 */ +#define MSR_K8_UCODE_UPDATE 0xc0010020 /* update microcode */ +#define MSR_MC0_CTL_MASK 0xc0010044 #define MSR_P_STATE_LIMIT 0xc0010061 /* P-state Current Limit Register */ #define MSR_P_STATE_CONTROL 0xc0010062 /* P-state Control Register */ #define MSR_P_STATE_STATUS 0xc0010063 /* P-state Status Register */ #define MSR_P_STATE_CONFIG(n) (0xc0010064 + (n)) /* P-state Config */ #define MSR_SMM_ADDR 0xc0010112 /* SMM TSEG base address */ #define MSR_SMM_MASK 0xc0010113 /* SMM TSEG address mask */ +#define MSR_VM_CR 0xc0010114 /* SVM: feature control */ +#define MSR_VM_HSAVE_PA 0xc0010117 /* SVM: host save area address */ #define MSR_EXTFEATURES 0xc0011005 /* Extended CPUID Features override */ #define MSR_IC_CFG 0xc0011021 /* Instruction Cache Configuration */ -#define MSR_K8_UCODE_UPDATE 0xc0010020 /* update microcode */ -#define MSR_MC0_CTL_MASK 0xc0010044 -#define MSR_VM_CR 0xc0010114 /* SVM: feature control */ -#define MSR_VM_HSAVE_PA 0xc0010117 /* SVM: host save area address */ /* MSR_VM_CR related */ #define VM_CR_SVMDIS 0x10 /* SVM: disabled by BIOS */ diff --git a/sys/x86/x86/cpu_machdep.c b/sys/x86/x86/cpu_machdep.c index d897d518cbc..3416f949686 100644 --- a/sys/x86/x86/cpu_machdep.c +++ b/sys/x86/x86/cpu_machdep.c @@ -709,6 +709,13 @@ cpu_idle_tun(void *unused __unused) if (TUNABLE_STR_FETCH("machdep.idle", tunvar, sizeof(tunvar))) cpu_idle_selector(tunvar); + else if (cpu_vendor_id == CPU_VENDOR_AMD && + CPUID_TO_FAMILY(cpu_id) == 0x17 && CPUID_TO_MODEL(cpu_id) == 0x1) { + /* Ryzen erratas 1057, 1109. */ + cpu_idle_selector("hlt"); + idle_mwait = 0; + } + if (cpu_vendor_id == CPU_VENDOR_INTEL && cpu_id == 0x506c9) { /* * Apollo Lake errata APL31 (public errata APL30).
> This should be the kernel patch equivalent to the script.Ah, thankyou. I shall give this a try on tuesday when I am physically back in front of the machine. I have been trying without the oath as you asked by the way, and with the latest microcode update (0x8001137) it also seems stable, without these tweaks. But I havent stressed it too much - if the errata says to set the bits then we should set the bits.> According to the revision document, some of the erratas are applicable > to the Ryzen 2, but I do not want to do the bit tweaking without a > confirmation.I was wndeting about that - but I dont have a Ryzen 2 to hand to test with unfortunately. Will let you know how the patch goes next week, thanks, -pete.