Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help needed] Please provide debug data from zenpower #12

Open
ocerman opened this issue Sep 29, 2019 · 150 comments
Open

[Help needed] Please provide debug data from zenpower #12

ocerman opened this issue Sep 29, 2019 · 150 comments

Comments

@ocerman
Copy link
Owner

ocerman commented Sep 29, 2019

Hello everyone,
It would be very helpful for me for further development of Zenpower if you can share debug data from zenpower. Zenpower debug data contains raw data from SMN.

If you have latest zenpower driver installed, you can get debug data from file /sys/class/hwmon/hwmon[num]/debug_data or via this bash script

Please also state your CPU, Motherboard and Linux kernel version. Also, please state if you think that Core/SOC values are swapped or incorrect.

Thank you.

//EDIT:
If possible, please post also sensors output sensors zenpower-*

@ocerman
Copy link
Owner Author

ocerman commented Sep 29, 2019

ASUS ROG Strix X570-E Gaming
Ryzen 7 3700X
Linux 5.0.0 (patched)

0005a008 = 00000002
0005a00c = 014a0023
0005a010 = 01630002
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000ad6
00059958 = 00000000
0005995c = 00000000

SOC/Core values are swapped by default. Amperage and Wattage is not correct.

@kattjevfel
Copy link

ASUS PRIME B350M-A
Ryzen 5 1600X
Linux 5.3.1

0005a008 = 00000002
0005a00c = 0136003b
0005a010 = 017f0014
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

@ocerman ocerman pinned this issue Sep 29, 2019
@terroreek
Copy link

Asus ROG Strix X399-E Gaming
Threadripper 2920x
Linux 5.2.17

0005a008 = 00000002  
0005a00c = 0158003a    
0005a010 = 01f70000  
000598bc = 0fff00ff  
0005994c = 00000000  
00059954 = 00000b7a  
00059958 = 00000000  
0005995c = 00000000

and

0005a008 = 00000002
0005a00c = 0119000f
0005a010 = 01f70000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

@NoXPhasma
Copy link

NoXPhasma commented Sep 29, 2019

Ryzen 7 1700
Asus Prime X370-Pro
Kernel 5.2.0-17.2-liquorix-amd64

0005a008 = 00000002
0005a00c = 0121000a
0005a010 = 015a001d
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

Values seem to be correct. But I'm not sure which Ampere values would look right, this is the output in sensors:

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:    +1.34 V  
SVI2_SoC:     +0.99 V  
Tdie:         +27.5°C  (high = +70.0°C)
Tctl:         +27.5°C  
SVI2_P_Core:  16.76 W  
SVI2_P_SoC:    9.68 W  
SVI2_C_Core: +13.51 A  
SVI2_C_SoC:   +9.74 A 

@birdie-github
Copy link

Ryzen 7 3700X on a X570 motherboard.

0005a008 = 00000002
0005a00c = 014a001b
0005a010 = 01660003
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a90
00059958 = 00000000
0005995c = 00000000

Linux 5.2 with the two patches which allow the k10temp driver to recognize my CPU.

@jrugia
Copy link

jrugia commented Sep 29, 2019

CPU - Ryzen 1700X
Motherboard - Asus PRIME B350M-A
Kernel 5.3.1

0005a008 = 00000002
0005a00c = 0139000c
0005a010 = 014a001a
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

Output when idle (more or less):

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: +1.20 V
SVI2_SoC: +1.09 V
Tdie: +40.2°C (high = +70.0°C)
Tctl: +60.2°C
SVI2_P_Core: 25.09 W
SVI2_P_SoC: 10.60 W
SVI2_C_Core: +18.70 A
SVI2_C_SoC: +10.10 A

During Prime95 Small FFTs (AVX enabled):

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: +1.09 V
SVI2_SoC: +1.09 V
Tdie: +63.4°C (high = +70.0°C)
Tctl: +83.4°C
SVI2_P_Core: 91.58 W
SVI2_P_SoC: 11.84 W
SVI2_C_Core: +84.18 A
SVI2_C_SoC: +10.10 A

Judging by the 91 watts on the core, I think the values are fine for this CPU.

@crt0mega
Copy link

crt0mega commented Oct 3, 2019

Ryzen R7 3700X
Asus Prime X370-PRO
5.2.0-17.2-liquorix-amd64

0005a008 = 00000002
0005a00c = 014a0023
0005a010 = 010a0009
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000ae0
00059958 = 00000000
0005995c = 00000000

@wedens
Copy link

wedens commented Oct 7, 2019

Ryzen 3600
MSI B450 Gaming Pro Carbon AC
Linux 5.3.4

0005a008 = 00000002
0005a00c = 014b001f
0005a010 = 011a0014
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000b40
00059958 = 00000000
0005995c = 00000000

Core/SOC values were swapped before the latest version.

Output from the latest version:

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:    +1.41 V  
SVI2_SoC:     +1.08 V  
Tdie:         +50.8°C  (high = +70.0°C)
Tctl:         +50.8°C  
SVI2_P_Core:  27.81 W  
SVI2_P_SoC:   10.19 W  
SVI2_C_Core: +19.76 A  
SVI2_C_SoC:   +9.42 A

@sambolinux
Copy link

CPU: RYZEN 2700X
MB:ASUS CROSSHAIR VII HERO (WIFI)
KERNEL: 5.3.6-050306
DEBUG_DATA:
0005a008 = 00000002
0005a00c = 01760006
0005a010 = 01750013
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

ZENPOWER DATA:
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: +0.81 V
SVI2_SoC: +0.82 V
Tdie: +30.8°C (high = +70.0°C)
Tctl: +40.8°C
SVI2_P_Core: 4.22 W
SVI2_P_SoC: 5.61 W
SVI2_C_Core: +5.20 A
SVI2_C_SoC: +6.85 A

@jjrams
Copy link

jjrams commented Oct 19, 2019

Ryzen 3900X
MSI X570-A Pro
Linux 5.3.6-arch1-1-ARCH

% ./zp_read_debug.sh
0005a008 = 00000002
0005a00c = 014b003a
0005a010 = 0127007a
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000c1a
00059958 = 00000bac
0005995c = 00000000
% sensors zenpower-pci-00c3
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:    +1.31 V
SVI2_SoC:     +1.08 V
Tdie:         +81.8°C  (high = +70.0°C)
Tctl:         +81.8°C
SVI2_P_Core: 105.91 W
SVI2_P_SoC:   18.47 W
SVI2_C_Core: +81.03 A
SVI2_C_SoC:  +17.07 A

@lizardb0y
Copy link

MB: Gigabyte AB350N-Gaming-Wifi
CPU: Ryzen 5 2400G
Kernel Linux 5.0.0-32-generic #34-Ubuntu

0005a008 = 00000002
0005a00c = 016d0001
0005a010 = 0139000a
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

Output from zenpower looks good. Under load (stress-ng --cpu=8):

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: +1.34 V
SVI2_SoC: +1.19 V
Tdie: +64.1°C (high = +70.0°C)
Tctl: +64.1°C
SVI2_P_Core: 41.71 W
SVI2_P_SoC: 4.31 W
SVI2_C_Core: +30.14 A
SVI2_C_SoC: +3.97 A

@lucasxteixeira
Copy link

Gygabyte X570 Aorus Elite
Ryzen 9 3900X
Linux 5.3.8 (xanmod)

Debug data:
0005a008 = 00000002
0005a00c = 014c0028
0005a010 = 016d0009
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000ac4
00059958 = 00000acc
0005995c = 00000000

The output from zenpower for Core looks correct, the output for SoC is static (never changes):
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: +1.31 V
SVI2_SoC: +1.07 V
Tdie: +48.9°C (high = +70.0°C)
Tctl: +48.9°C
SVI2_P_Core: 11.19 W
SVI2_P_SoC: 12.65 W
SVI2_C_Core: +8.56 A
SVI2_C_SoC: +11.77 A

@birdie-github
Copy link

@lucasxteixeira

The output from zenpower for Core looks correct, the output for SoC is static (never changes):
SVI2_P_Core: 11.19 W

Could you post your results under load as well? 7z b will suffice.

@lucasxteixeira
Copy link

lucasxteixeira commented Nov 8, 2019

There you go, results under load:

Debug data:
0005a008 = 00000002
0005a00c = 014c002a
0005a010 = 01330044
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000bb0
00059958 = 00000ba6
0005995c = 00000000

Adapter: PCI adapter
SVI2_Core:    +1.23 V  
SVI2_SoC:     +1.07 V  
Tdie:         +66.8°C  (high = +70.0°C)
Tctl:         +66.8°C  
SVI2_P_Core:  56.82 W  
SVI2_P_SoC:   12.65 W  
SVI2_C_Core: +46.12 A  
SVI2_C_SoC:  +11.77 A

@birdie-github
Copy link

birdie-github commented Nov 8, 2019

@lucasxteixeira

This doesn't look right. The Ryzen 9 3900X consumes over 115W under load and your values are really really low. Unless you somehow limited your CPU performance they are outright wrong. My 3700X consumes around 90W for this test.

Please try running this script after launching 7z b and report your values.

@ocerman
Copy link
Owner Author

ocerman commented Nov 8, 2019

@birdie-github @lucasxteixeira let's move discussion about power to #11

@cyboerg42
Copy link

cyboerg42 commented Nov 11, 2019

System : HP Proliant DL325 G10
CPU : EPYC 7351P
Kernel : Linux 5.0.15-1-pve

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 01610051
0005a010 = 01f70000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000a7a
00059958 = 00000a70
0005995c = 00000a66
kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 0140000a
0005a010 = 01f70000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 00000000
0005a010 = 00000000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 00000000
0005a010 = 00000000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

sensors output :

zenpower-pci-00d3
Adapter: PCI adapter
SVI2_Core:    +1.55 V  
SVI2_SoC:     +1.55 V  
Tdie:         +29.6°C  (high = +70.0°C)
Tctl:         +29.6°C  
SVI2_P_Core:   0.00 W  
SVI2_P_SoC:    0.00 W  
SVI2_C_Core:  +0.00 A  
SVI2_C_SoC:   +0.00 A  

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:    +0.94 V  
SVI2_SoC:     +0.01 V  
Tdie:         +30.5°C  (high = +70.0°C)
Tctl:         +30.5°C  
SVI2_P_Core:  76.52 W  
SVI2_P_SoC:    0.00 W  
SVI2_C_Core: +81.06 A  
SVI2_C_SoC:   +0.00 A  

zenpower-pci-00db
Adapter: PCI adapter
SVI2_Core:    +1.55 V  
SVI2_SoC:     +1.55 V  
Tdie:         +27.9°C  (high = +70.0°C)
Tctl:         +27.9°C  
SVI2_P_Core:   0.00 W  
SVI2_P_SoC:    0.00 W  
SVI2_C_Core:  +0.00 A  
SVI2_C_SoC:   +0.00 A  

zenpower-pci-00cb
Adapter: PCI adapter
SVI2_Core:    +1.15 V  
SVI2_SoC:     +0.01 V  
Tdie:         +30.4°C  (high = +70.0°C)
Tctl:         +30.4°C  
SVI2_P_Core:  13.15 W  
SVI2_P_SoC:    0.00 W  
SVI2_C_Core: +13.51 A  
SVI2_C_SoC:   +0.00 A  

core voltage for p0 state is fixed to +1.15 V, so that's alright. - the iLO is also reporting the same avg cpu temp - so that should be fine too.

@lots0logs
Copy link

lots0logs commented Nov 12, 2019

Distro: Arch
Kernel: 5.3.10
CPU: Ryzen 9 3900x

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 014b002c
0005a010 = 010b0014
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000aee
00059958 = 00000ada
0005995c = 00000000
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.39 V
SVI2_SoC:      1.08 V
Tdie:         +70.6°C  (high = +70.0°C)
Tctl:         +70.6°C
Tccd1:        +72.0°C
Tccd2:        +42.8°C
SVI2_P_Core:  24.90 W
SVI2_P_SoC:   13.37 W
SVI2_C_Core:  17.79 A
SVI2_C_SoC:   12.36 A

@Myrddin-Wyllt
Copy link

Motherboard: Biostar X370GT7

CPU: Ryzen 7 1700

Kernel: 5.3.7-arch1-2-fsync

Debug Data:

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 012e0004
0005a010 = 0149000a
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

sensors Data:

    IDLE:
=======================

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.26 V  
SVI2_SoC:      1.09 V  
Tdie:         +26.8°C  (high = +70.0°C)
Tctl:         +26.8°C  
SVI2_P_Core:  11.81 W  
SVI2_P_SoC:    3.55 W  
SVI2_C_Core:  11.43 A  
SVI2_C_SoC:    3.61 A
    LOAD (7z b):
=======================

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.26 V  
SVI2_SoC:      1.09 V  
Tdie:         +49.8°C  (high = +70.0°C)
Tctl:         +49.8°C  
SVI2_P_Core:  77.07 W  
SVI2_P_SoC:    4.32 W  
SVI2_C_Core:  61.31 A  
SVI2_C_SoC:    3.97 A 

@mbana
Copy link

mbana commented Nov 15, 2019

NB: You could made it easier to run this script.

$ curl -s https://gist.githubusercontent.com/ocerman/6566b00072c8af96a109f65075f2d8b7/raw/4a015fe1d2b6eca95e38ce0400a023de57d901ab/zp_read_debug.sh | bash
kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 01480030
0005a010 = 01600001
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a8c
00059958 = 00000a8e
0005995c = 00000000
$ sensors
iwlwifi-virtual-0
Adapter: Virtual device
temp1:        +32.0°C  

enp36s0-pci-2400
Adapter: PCI adapter
PHY Temperature:  +46.2°C  

amdgpu-pci-3300
Adapter: PCI adapter
vddgfx:      725.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 2970 RPM)
edge:         +47.0°C  (crit = +118.0°C, hyst =  +0.0°C)
                       (emerg = +80000.0°C)
junction:     +47.0°C  (crit = +80000.0°C, hyst =  +0.0°C)
                       (emerg = +80000.0°C)
mem:          +56.0°C  (crit = +80000.0°C, hyst =  +0.0°C)
                       (emerg = +80000.0°C)
power1:       35.00 W  (cap = 210.00 W)

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   950.00 mV 
SVI2_SoC:      1.10 V  
Tdie:         +38.8°C  (high = +70.0°C)
Tctl:         +38.8°C  
Tccd1:        +32.8°C  
Tccd2:        +33.5°C  
SVI2_P_Core:   1.25 W  
SVI2_P_SoC:   14.24 W  
SVI2_C_Core:   1.32 A  
SVI2_C_SoC:   12.95 A  
$ sudo lshw
mbana-pc1                   
    description: Desktop Computer
    product: MS-7C36 (To be filled by O.E.M.)
    vendor: Micro-Star International Co., Ltd.
    version: 1.0
    serial: To be filled by O.E.M.
    width: 64 bits
    capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
    configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=To be filled by O.E.M. uuid=ACE4BF3A-C485-16BA-ABC4-00D861A3342D
  *-core
       description: Motherboard
       product: PRESTIGE X570 CREATION (MS-7C36)
       vendor: Micro-Star International Co., Ltd.
       physical id: 0
       version: 1.0
       serial: J816282762
       slot: To be filled by O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 1.61
          date: 11/06/2019
          size: 64KiB
          capacity: 15MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: f
          slot: System board or motherboard
          size: 64GiB
        *-bank:0
             description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719) 3000 MHz (0.3 ns) [empty]
             product: Unknown
             vendor: Unknown
             physical id: 0
             serial: Unknown
             slot: DIMM 0
             clock: 3GHz (0.3ns)
        *-bank:1
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3000 MHz (0.3 ns)
             product: CMK32GX4M1D3000C16
             vendor: Unknown
             physical id: 1
             serial: 00000000
             slot: DIMM 1
             size: 32GiB
             width: 64 bits
             clock: 3GHz (0.3ns)
        *-bank:2
             description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2018-07-12 13:19+0000X-Generator: Launchpad (build 18719) 3000 MHz (0.3 ns) [empty]
             product: Unknown
             vendor: Unknown
             physical id: 2
             serial: Unknown
             slot: DIMM 0
             clock: 3GHz (0.3ns)
        *-bank:3
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3000 MHz (0.3 ns)
             product: CMK32GX4M1D3000C16
             vendor: Unknown
             physical id: 3
             serial: 00000000
             slot: DIMM 1
             size: 32GiB
             width: 64 bits
             clock: 3GHz (0.3ns)
     *-cache:0
          description: L1 cache
          physical id: 12
          slot: L1 - Cache
          size: 768KiB
          capacity: 768KiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 13
          slot: L2 - Cache
          size: 6MiB
          capacity: 6MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 14
          slot: L3 - Cache
          size: 64MiB
          capacity: 64MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: AMD Ryzen 9 3900X 12-Core Processor
          vendor: Advanced Micro Devices [AMD]
          physical id: 15
          bus info: cpu@0
          version: AMD Ryzen 9 3900X 12-Core Processor
          serial: Unknown
          slot: AM4
          size: 2199MHz
          capacity: 3800MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca cpufreq
          configuration: cores=12 enabledcores=12 threads=24
     *-pci:0
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: msi ht cap_list
             configuration: latency=0
        *-pci:0
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:27 memory:f7d00000-f7dfffff
           *-storage
                description: Non-Volatile memory controller
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: storage pciexpress msix msi pm nvm_express bus_master cap_list
                configuration: driver=nvme latency=0
                resources: irq:82 memory:f7d00000-f7d03fff
        *-pci:1
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.2
             bus info: pci@0000:00:01.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:28 ioport:d000(size=8192) memory:f6800000-f75fffff
           *-pci
                description: PCI bridge
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:20:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:24 ioport:d000(size=8192) memory:f6800000-f75fffff
              *-pci:0
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 1
                   bus info: pci@0000:21:01.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:35 memory:f7500000-f75fffff
                 *-storage
                      description: Non-Volatile memory controller
                      physical id: 0
                      bus info: pci@0000:23:00.0
                      version: 01
                      width: 64 bits
                      clock: 33MHz
                      capabilities: storage pciexpress msix msi pm nvm_express bus_master cap_list
                      configuration: driver=nvme latency=0
                      resources: irq:42 memory:f7500000-f7503fff
              *-pci:1
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 2
                   bus info: pci@0000:21:02.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:36 memory:f6800000-f6cfffff
                 *-network
                      description: Ethernet interface
                      product: AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion]
                      vendor: Aquantia Corp.
                      physical id: 0
                      bus info: pci@0000:24:00.0
                      logical name: enp36s0
                      version: 02
                      serial: 00:d8:61:a3:34:2e
                      size: 1Gbit/s
                      capacity: 10Gbit/s
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pciexpress pm msix msi vpd bus_master cap_list rom ethernet physical tp 100bt-fd 1000bt-fd 10000bt-fd autonegotiation
                      configuration: autonegotiation=on broadcast=yes driver=atlantic driverversion=5.3.10-050310-generic-kern duplex=full firmware=3.1.69 ip=192.168.1.11 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                      resources: irq:44 memory:f6c40000-f6c4ffff memory:f6c50000-f6c50fff memory:f6800000-f6bfffff memory:f6c00000-f6c3ffff
              *-pci:2
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 3
                   bus info: pci@0000:21:03.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:37
                 *-pci
                      description: PCI bridge
                      product: ASMedia Technology Inc.
                      vendor: ASMedia Technology Inc.
                      physical id: 0
                      bus info: pci@0000:25:00.0
                      version: 00
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                      configuration: driver=pcieport
                      resources: irq:47
                    *-pci:0
                         description: PCI bridge
                         product: ASMedia Technology Inc.
                         vendor: ASMedia Technology Inc.
                         physical id: 1
                         bus info: pci@0000:26:01.0
                         version: 00
                         width: 32 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: irq:48
                    *-pci:1
                         description: PCI bridge
                         product: ASMedia Technology Inc.
                         vendor: ASMedia Technology Inc.
                         physical id: 3
                         bus info: pci@0000:26:03.0
                         version: 00
                         width: 32 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: irq:49
                    *-pci:2
                         description: PCI bridge
                         product: ASMedia Technology Inc.
                         vendor: ASMedia Technology Inc.
                         physical id: 5
                         bus info: pci@0000:26:05.0
                         version: 00
                         width: 32 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: irq:50
                    *-pci:3
                         description: PCI bridge
                         product: ASMedia Technology Inc.
                         vendor: ASMedia Technology Inc.
                         physical id: 7
                         bus info: pci@0000:26:07.0
                         version: 00
                         width: 32 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: irq:51
              *-pci:3
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 4
                   bus info: pci@0000:21:04.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:38 ioport:e000(size=4096) memory:f7400000-f74fffff
                 *-network
                      description: Ethernet interface
                      product: I211 Gigabit Network Connection
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:2b:00.0
                      logical name: enp43s0
                      version: 03
                      serial: 00:d8:61:a3:34:2d
                      size: 1Gbit/s
                      capacity: 1Gbit/s
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                      configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.6.0-k duplex=full firmware=0. 6-1 ip=192.168.1.10 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                      resources: irq:24 memory:f7400000-f741ffff ioport:e000(size=32) memory:f7420000-f7423fff
              *-pci:4
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 5
                   bus info: pci@0000:21:05.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:39 ioport:d000(size=4096) memory:f7300000-f73fffff
                 *-storage
                      description: SATA controller
                      product: ASM1062 Serial ATA Controller
                      vendor: ASMedia Technology Inc.
                      physical id: 0
                      bus info: pci@0000:2c:00.0
                      version: 02
                      width: 32 bits
                      clock: 33MHz
                      capabilities: storage msi pm pciexpress ahci_1.0 bus_master cap_list
                      configuration: driver=ahci latency=0
                      resources: irq:85 ioport:d050(size=8) ioport:d040(size=4) ioport:d030(size=8) ioport:d020(size=4) ioport:d000(size=32) memory:f7300000-f73001ff
              *-pci:5
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 6
                   bus info: pci@0000:21:06.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:40 memory:f7200000-f72fffff
                 *-network
                      description: Wireless interface
                      product: Intel Corporation
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:2d:00.0
                      logical name: wlo1
                      version: 1a
                      serial: 90:78:41:cb:a5:70
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
                      configuration: broadcast=yes driver=iwlwifi driverversion=5.3.10-050310-generic firmware=46.3cfab8da.0 ip=192.168.1.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                      resources: irq:44 memory:f7200000-f7203fff
              *-pci:6
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 8
                   bus info: pci@0000:21:08.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:41 memory:f6e00000-f6ffffff
                 *-generic UNCLAIMED
                      description: Non-Essential Instrumentation
                      product: Advanced Micro Devices, Inc. [AMD]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:2e:00.0
                      version: 00
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm pciexpress cap_list
                      configuration: latency=0
                 *-usb:0
                      description: USB controller
                      product: Advanced Micro Devices, Inc. [AMD]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0.1
                      bus info: pci@0000:2e:00.1
                      version: 00
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi xhci bus_master cap_list
                      configuration: driver=xhci_hcd latency=0
                      resources: irq:55 memory:f6f00000-f6ffffff
                    *-usbhost:0
                         product: xHCI Host Controller
                         vendor: Linux 5.3.10-050310-generic xhci-hcd
                         physical id: 0
                         bus info: usb@1
                         logical name: usb1
                         version: 5.03
                         capabilities: usb-2.00
                         configuration: driver=hub slots=6 speed=480Mbit/s
                       *-usb:0
                            description: USB hub
                            product: ASM107x
                            vendor: Asmedia
                            physical id: 1
                            bus info: usb@1:1
                            version: 0.01
                            capabilities: usb-2.10
                            configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                       *-usb:1
                            description: USB hub
                            product: ASM107x
                            vendor: Asmedia
                            physical id: 2
                            bus info: usb@1:2
                            version: 0.01
                            capabilities: usb-2.10
                            configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                       *-usb:2
                            description: Bluetooth wireless interface
                            vendor: Intel Corp.
                            physical id: 4
                            bus info: usb@1:4
                            version: 0.01
                            capabilities: bluetooth usb-2.01
                            configuration: driver=btusb maxpower=100mA speed=12Mbit/s
                    *-usbhost:1
                         product: xHCI Host Controller
                         vendor: Linux 5.3.10-050310-generic xhci-hcd
                         physical id: 1
                         bus info: usb@2
                         logical name: usb2
                         version: 5.03
                         capabilities: usb-3.10
                         configuration: driver=hub slots=4 speed=10000Mbit/s
                       *-usb:0
                            description: USB hub
                            product: ASM107x
                            vendor: Asmedia
                            physical id: 1
                            bus info: usb@2:1
                            version: 0.01
                            capabilities: usb-3.00
                            configuration: driver=hub maxpower=8mA slots=4 speed=5000Mbit/s
                       *-usb:1
                            description: USB hub
                            product: ASM107x
                            vendor: Asmedia
                            physical id: 2
                            bus info: usb@2:2
                            version: 0.01
                            capabilities: usb-3.00
                            configuration: driver=hub maxpower=8mA slots=4 speed=5000Mbit/s
                 *-usb:1
                      description: USB controller
                      product: Advanced Micro Devices, Inc. [AMD]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0.3
                      bus info: pci@0000:2e:00.3
                      version: 00
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi msix xhci bus_master cap_list
                      configuration: driver=xhci_hcd latency=0
                      resources: irq:44 memory:f6e00000-f6efffff
                    *-usbhost:0
                         product: xHCI Host Controller
                         vendor: Linux 5.3.10-050310-generic xhci-hcd
                         physical id: 0
                         bus info: usb@3
                         logical name: usb3
                         version: 5.03
                         capabilities: usb-2.00
                         configuration: driver=hub slots=6 speed=480Mbit/s
                       *-usb:0
                            description: Human interface device
                            product: MYSTIC LIGHT
                            vendor: MSI
                            physical id: 5
                            bus info: usb@3:5
                            version: 0.01
                            serial: A02019071108
                            capabilities: usb-1.10
                            configuration: driver=usbhid maxpower=500mA speed=12Mbit/s
                       *-usb:1
                            description: USB hub
                            product: USB2.0 Hub
                            vendor: Genesys Logic, Inc.
                            physical id: 6
                            bus info: usb@3:6
                            version: 88.32
                            capabilities: usb-2.00
                            configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                          *-usb
                               description: Human interface device
                               product: NZXT USB Device
                               vendor: NZXT. - Inc.
                               physical id: 3
                               bus info: usb@3:6.3
                               version: 2.00
                               serial: 00000000001A
                               capabilities: usb-2.00
                               configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
                    *-usbhost:1
                         product: xHCI Host Controller
                         vendor: Linux 5.3.10-050310-generic xhci-hcd
                         physical id: 1
                         bus info: usb@4
                         logical name: usb4
                         version: 5.03
                         capabilities: usb-3.10
                         configuration: driver=hub slots=4 speed=10000Mbit/s
              *-pci:7
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 9
                   bus info: pci@0000:21:09.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:43 memory:f7100000-f71fffff
                 *-storage
                      description: SATA controller
                      product: FCH SATA Controller [AHCI mode]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:2f:00.0
                      version: 51
                      width: 32 bits
                      clock: 33MHz
                      capabilities: storage pm pciexpress msi ahci_1.0 bus_master cap_list
                      configuration: driver=ahci latency=0
                      resources: irq:91 memory:f7100000-f71007ff
              *-pci:8
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: a
                   bus info: pci@0000:21:0a.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:45 memory:f7000000-f70fffff
                 *-storage
                      description: SATA controller
                      product: FCH SATA Controller [AHCI mode]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:30:00.0
                      version: 51
                      width: 32 bits
                      clock: 33MHz
                      capabilities: storage pm pciexpress msi ahci_1.0 bus_master cap_list
                      configuration: driver=ahci latency=0
                      resources: irq:92 memory:f7000000-f70007ff
        *-pci:2
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 3.1
             bus info: pci@0000:00:03.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:29 ioport:f000(size=4096) memory:f7900000-f7afffff ioport:e0000000(size=270532608)
           *-pci
                description: PCI bridge
                product: Advanced Micro Devices, Inc. [AMD/ATI]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:31:00.0
                version: c1
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:53 memory:f7a00000-f7a03fff ioport:f000(size=4096) memory:f7900000-f79fffff ioport:e0000000(size=270532608)
              *-pci
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD/ATI]
                   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                   physical id: 0
                   bus info: pci@0000:32:00.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:54 ioport:f000(size=4096) memory:f7900000-f79fffff ioport:e0000000(size=270532608)
                 *-display
                      description: VGA compatible controller
                      product: Advanced Micro Devices, Inc. [AMD/ATI]
                      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                      physical id: 0
                      bus info: pci@0000:33:00.0
                      version: c1
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
                      configuration: driver=amdgpu latency=0
                      resources: irq:133 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:f000(size=256) memory:f7900000-f797ffff memory:f7980000-f799ffff
                 *-multimedia
                      description: Audio device
                      product: Advanced Micro Devices, Inc. [AMD/ATI]
                      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                      physical id: 0.1
                      bus info: pci@0000:33:00.1
                      version: 00
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi bus_master cap_list
                      configuration: driver=snd_hda_intel latency=0
                      resources: irq:130 memory:f79a0000-f79a3fff
        *-pci:3
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 7.1
             bus info: pci@0000:00:07.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:31
           *-generic UNCLAIMED
                description: Non-Essential Instrumentation
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:34:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress cap_list
                configuration: latency=0
        *-pci:4
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:32 memory:f7700000-f78fffff
           *-generic UNCLAIMED
                description: Non-Essential Instrumentation
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:35:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress cap_list
                configuration: latency=0
           *-usb
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:35:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:64 memory:f7700000-f77fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 5.3.10-050310-generic xhci-hcd
                   physical id: 0
                   bus info: usb@5
                   logical name: usb5
                   version: 5.03
                   capabilities: usb-2.00
                   configuration: driver=hub slots=4 speed=480Mbit/s
                 *-usb
                      description: USB hub
                      product: 4-Port USB 2.1 Hub
                      vendor: Generic
                      physical id: 4
                      bus info: usb@5:4
                      version: 1.07
                      capabilities: usb-2.10
                      configuration: driver=hub slots=5 speed=480Mbit/s
                    *-usb:0
                         description: Mouse
                         product: G502 HERO Gaming Mouse
                         vendor: Logitech
                         physical id: 3
                         bus info: usb@5:4.3
                         version: 27.02
                         serial: 198C385C3731
                         capabilities: usb-2.00
                         configuration: driver=usbhid maxpower=300mA speed=12Mbit/s
                    *-usb:1
                         description: Keyboard
                         product: G513 Carbon GX Blue
                         vendor: Logitech
                         physical id: 4
                         bus info: usb@5:4.4
                         version: 19.00
                         serial: 0F7437773437
                         capabilities: usb-2.00
                         configuration: driver=usbhid maxpower=500mA speed=12Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 5.3.10-050310-generic xhci-hcd
                   physical id: 1
                   bus info: usb@6
                   logical name: usb6
                   version: 5.03
                   capabilities: usb-3.10
                   configuration: driver=hub slots=4 speed=10000Mbit/s
                 *-usb
                      description: USB hub
                      product: 4-Port USB 3.1 Hub
                      vendor: Generic
                      physical id: 3
                      bus info: usb@6:3
                      version: 1.07
                      capabilities: usb-3.10
                      configuration: driver=hub slots=4 speed=5000Mbit/s
           *-multimedia
                description: Audio device
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.4
                bus info: pci@0000:35:00.4
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:132 memory:f7800000-f7807fff
        *-pci:5
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.2
             bus info: pci@0000:00:08.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:33 memory:f7c00000-f7cfffff
           *-storage
                description: SATA controller
                product: FCH SATA Controller [AHCI mode]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:36:00.0
                version: 51
                width: 32 bits
                clock: 33MHz
                capabilities: storage pm pciexpress msi ahci_1.0 bus_master cap_list
                configuration: driver=ahci latency=0
                resources: irq:94 memory:f7c00000-f7c007ff
        *-pci:6
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.3
             bus info: pci@0000:00:08.3
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:34 memory:f7b00000-f7bfffff
           *-storage
                description: SATA controller
                product: FCH SATA Controller [AHCI mode]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:37:00.0
                version: 51
                width: 32 bits
                clock: 33MHz
                capabilities: storage pm pciexpress msi ahci_1.0 bus_master cap_list
                configuration: driver=ahci latency=0
                resources: irq:96 memory:f7b00000-f7b007ff
        *-serial
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 61
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
     *-pci:1
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:03.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:04.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:05.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:07.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:08.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:8
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:10
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:11
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=zenpower
          resources: irq:0
     *-pci:12
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10c
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:13
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10d
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:14
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10e
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:15
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10f
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: Samsung SSD 860
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: 1B6Q
             serial: S4CXNF0M416281M
             size: 3726GiB (4TB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=f60c04cc-7b2d-4bea-a1f6-02472e347754 logicalsectorsize=512 sectorsize=512
           *-volume:0
                description: Windows FAT volume
                vendor: MSDOS5.0
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sda1
                version: FAT32
                serial: 8e0b-30b5
                size: 625MiB
                capacity: 628MiB
                capabilities: boot fat initialized
                configuration: FATs=2 filesystem=fat label=SYSTEM name=EFI system partition
           *-volume:1
                description: reserved partition
                vendor: Windows
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                serial: fb5c0142-72a2-4b5b-ba9b-b6a2ec003152
                capacity: 15MiB
                capabilities: nofs
                configuration: name=Microsoft reserved partition
           *-volume:2
                description: Windows NTFS volume
                vendor: Windows
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                version: 3.1
                serial: 3c8a9fd4-1fef-0d45-afe6-db8936d56d18
                size: 959GiB
                capacity: 3007GiB
                capabilities: ntfs initialized
                configuration: clustersize=4096 created=2019-11-05 11:49:37 filesystem=ntfs name=Basic data partition state=clean
           *-volume:3
                description: Windows NTFS volume
                vendor: Windows
                physical id: 4
                bus info: scsi@0:0.0.0,4
                logical name: /dev/sda4
                version: 3.1
                serial: 84a90fe0-9138-d840-b082-95bf27f52410
                size: 488GiB
                capacity: 488GiB
                capabilities: ntfs initialized
                configuration: clustersize=4096 created=2019-11-05 12:44:08 filesystem=ntfs label=sata5_ntfs name=sata5_ntfs state=clean
           *-volume:4
                description: Windows FAT volume
                vendor: mkfs.fat
                physical id: 5
                bus info: scsi@0:0.0.0,5
                logical name: /dev/sda5
                logical name: /mnt/sata5_fat32
                version: FAT32
                serial: e997-2527
                size: 97GiB
                capacity: 97GiB
                capabilities: fat initialized
                configuration: FATs=2 filesystem=fat label=SATA5_FAT32 mount.fstype=vfat mount.options=rw,relatime,gid=46,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro name=sata5_fat32 state=mounted
           *-volume:5
                description: EXT4 volume
                vendor: Linux
                physical id: 6
                bus info: scsi@0:0.0.0,6
                logical name: /dev/sda6
                logical name: /mnt/sata5_ext4
                version: 1.0
                serial: 7a74e757-cd77-4c3d-897a-9a5c8ebfd6db
                size: 132GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2019-11-05 12:44:10 filesystem=ext4 label=sata5_ext4 modified=2019-11-15 15:21:16 mount.fstype=ext4 mount.options=rw,relatime mounted=2019-11-15 15:21:16 name=sata5_ext4 state=mounted
     *-scsi:1
          physical id: 2
          logical name: scsi1
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: Samsung SSD 860
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/sdb
             version: 1B6Q
             serial: S4CZNF0M821563Z
             size: 931GiB (1TB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=06eefe4f-5143-4d1c-be1a-b7adfac8a5ef logicalsectorsize=512 sectorsize=512
           *-volume:0 UNCLAIMED
                description: Windows FAT volume
                vendor: mkfs.fat
                physical id: 1
                bus info: scsi@1:0.0.0,1
                version: FAT32
                serial: b6d3-fedc
                size: 2045MiB
                capacity: 2046MiB
                capabilities: boot fat initialized
                configuration: FATs=2 filesystem=fat
           *-volume:1
                description: Linux swap volume
                vendor: Linux
                physical id: 2
                bus info: scsi@1:0.0.0,2
                logical name: /dev/sdb2
                version: 1
                serial: bc9f33d0-1d7d-472a-98eb-03ed7c042510
                size: 119GiB
                capacity: 119GiB
                capabilities: nofs swap initialized
                configuration: filesystem=swap name=CLR_SWAP pagesize=4095
           *-volume:2
                description: EXT4 volume
                vendor: Linux
                physical id: 3
                bus info: scsi@1:0.0.0,3
                logical name: /dev/sdb3
                version: 1.0
                serial: cc1d6e91-11c2-4481-bb32-52325dffdc42
                size: 238GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
                configuration: created=2019-11-05 16:09:51 filesystem=ext4 label=ubuntu-19.10-des lastmountpoint=/ modified=2019-11-10 13:04:28 mounted=2019-11-05 18:35:47 name=ubuntu-19.10-desktop-amd64 state=clean
           *-volume:3
                description: EXT4 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@1:0.0.0,4
                logical name: /dev/sdb4
                logical name: /
                version: 1.0
                serial: 1fa736b6-b13a-407e-b9ac-fb948400d871
                size: 238GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                configuration: created=2019-11-05 16:43:28 filesystem=ext4 label=ubuntu-18.04.3-d lastmountpoint=/ modified=2019-11-15 15:21:15 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro mounted=2019-11-15 15:21:15 name=ubuntu-18.04.3-desktop-amd64 state=mounted
           *-volume:4
                description: EXT4 volume
                vendor: Linux
                physical id: 5
                bus info: scsi@1:0.0.0,5
                logical name: /dev/sdb5
                version: 1.0
                serial: 374d22b5-ea0e-4dfe-93b5-c698b7a92c0e
                size: 119GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
                configuration: created=2019-11-05 13:36:47 filesystem=ext4 lastmountpoint=/ modified=2019-11-05 17:37:39 mounted=2019-11-05 17:37:39 name=CLR_ROOT state=clean
           *-volume:5
                description: EXT4 volume
                vendor: Linux
                physical id: 6
                bus info: scsi@1:0.0.0,6
                logical name: /dev/sdb6
                logical name: /home
                version: 1.0
                serial: e67e1146-e715-475b-8f6c-cb1dc3c4a7d3
                size: 119GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                configuration: created=2019-11-05 16:45:35 filesystem=ext4 lastmountpoint=/home modified=2019-11-15 15:21:16 mount.fstype=ext4 mount.options=rw,relatime mounted=2019-11-15 15:21:16 state=mounted
           *-volume:6
                description: EXT4 volume
                vendor: Linux
                physical id: 7
                bus info: scsi@1:0.0.0,7
                logical name: /dev/sdb7
                version: 1.0
                serial: ce006e86-c7eb-47f8-b85d-95ef75249e0c
                size: 95GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                configuration: created=2019-11-05 16:11:58 filesystem=ext4 lastmountpoint=/home modified=2019-11-05 18:35:48 mounted=2019-11-05 18:35:48 state=clean
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: docker0
       serial: 02:42:0b:33:69:cc
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes

@cyboerg42
Copy link

curl -s https://gist.githubusercontent.com/ocerman/6566b00072c8af96a109f65075f2d8b7/raw/4a015fe1d2b6eca95e38ce0400a023de57d901ab/zp_read_debug.sh | bash

i can not recommend this, because it's kinda bad practice... :/

be sure to know, what you run. :)

@jiblime
Copy link
Contributor

jiblime commented Nov 18, 2019

curl -s https://gist.githubusercontent.com/ocerman/6566b00072c8af96a109f65075f2d8b7/raw/4a015fe1d2b6eca95e38ce0400a023de57d901ab/zp_read_debug.sh | bash

i can not recommend this, because it's kinda bad practice... :/

be sure to know, what you run. :)

"Safer" way, compat with bash and zsh: This prints out the contents of a random shell script to let you know what you're going to be doing.

zp_dbg=$(curl -s https://gist.githubusercontent.com/ocerman/6566b00072c8af96a109f65075f2d8b7/raw/4a015fe1d2b6eca95e38ce0400a023de57d901ab/zp_read_debug.sh) ; echo "${zp_dbg}" ; SHELL=/bin/bash printf '\nIf you believe this script to be safe, press any key to continue. Other wise, SIGINT or CTRL+C.\n' ; read ret && SHELL=/bin/bash sh -c ${zp_dbg}

But I do very much agree with adding a disclaimer any time curling a shell script is ever mentioned. I know I've made my mistakes...

@Chlorophytus
Copy link

Chlorophytus commented Dec 19, 2019

Threadripper 3960X with a Gigabyte Aorus Pro Wi-Fi and DDR4-3200.

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 01f70000
0005a010 = 01710029
000598bc = 0fff0fff
0005994c = 0fff0fff
00059954 = 00000a8c
00059958 = 00000000
0005995c = 00000a8c

Kernel is 5.0.0-37 with Ubuntu patches.

@hydrian
Copy link

hydrian commented Dec 27, 2019

ASRock B450 Gaming K4 Firmware P3.40
Kernel: 5.0.0-37-generic #40~18.04.1-Ubuntu SMP
AMD Ryzen 5 2600X

$ bash Downloads/zp_read_debug.sh
kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 01560017
0005a010 = 014a0020
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

@haromu
Copy link

haromu commented Dec 27, 2019

Gigabyte B450M S2H
Ryzen 5 3400G

Kernel 5.4.6-arch3-1:

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 016c0007
0005a010 = 014c0013
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

edit: added
Kernel 5.4.6-zen3-1-zen

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 01610007
0005a010 = 014a001e
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000

@notzed
Copy link

notzed commented Jan 6, 2020

linux 5.4.7
ryzen 3900x
gigabyte x570I aorus pro wifi

kernel_smn_support = 1
0005a008 = 00000002
0005a00c = 0150002a
0005a010 = 015f0003
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a9e
00059958 = 00000aae
0005995c = 00000000

@fkosec
Copy link

fkosec commented Nov 15, 2021

My system:

Asus ROG Crosshair VIII Dark Hero X570
Amd Ryzen 9 5900X
Kernel: 5.11.0-40-generic
./zp_read_debug.sh 
KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 014b0031
0005a010 = 01590001
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000ab8
00059958 = 00000aae
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
sensors "zenpower-*"
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   994.00 mV 
SVI2_SoC:      1.08 V  
Tdie:         +36.9°C  (high = +95.0°C)
Tctl:         +36.9°C  
Tccd1:        +38.2°C  
Tccd2:        +36.8°C  
SVI2_P_Core:   1.25 W  
SVI2_P_SoC:   15.28 W  
SVI2_C_Core: 658.00 mA 
SVI2_C_SoC:   13.83 A

Seems to be fine.

@harrykipper
Copy link

harrykipper commented Nov 17, 2021

Thinkpad E14 Gen 3
Ryzen 7 5800U
Kernel: 5.15.2

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

With the zenpower3 fork (current git) I only get:

zenpower-pci-00c3
Adapter: PCI adapter
Tdie:         +35.5°C  (high = +95.0°C)
Tctl:         +35.5°C 

regards

@gardotd426
Copy link

5900X
ASRock X570 Taichi
5.14.17

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01490017
0005a010 = 01190013
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a88
00059958 = 00000a68
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

There is no sensors information other than:

zenpower-pci-00c3
Adapter: PCI adapter
Tdie:         +36.4°C  (high = +95.0°C)
Tctl:         +36.4°C  

Using the zenpower3 fork provides full output:

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   950.00 mV 
SVI2_SoC:      1.09 V  
Tdie:         +47.5°C  (high = +95.0°C)
Tctl:         +47.5°C  
Tccd1:        +32.0°C  
Tccd2:        +27.2°C  
SVI2_P_Core:   0.00 W  
SVI2_P_SoC:    7.40 W  
SVI2_C_Core:   0.00 A  
SVI2_C_SoC:    6.77 A  

@DistantThunder
Copy link

Ryzen 5800x
5.15.2-zen1-1-zen
Micro-Star model: B450 GAMING PLUS MAX (MS-7B86) v: 3.0

Zenpower3

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01590012
0005a010 = 0118001a
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000aae
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
sensors zenpower-\* 
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.36 V  
SVI2_SoC:    994.00 mV 
Tdie:         +42.9°C  (high = +95.0°C)
Tctl:         +42.9°C  
Tccd1:        +35.8°C  
SVI2_P_Core:  18.77 W  
SVI2_P_SoC:    5.27 W  
SVI2_C_Core:  15.15 A  
SVI2_C_SoC:    5.30 A 

Didn't we use to be able to see temps for each core?

@mauricioquintela
Copy link

Ryzen 5800x
5.15.4-1-MANJARO
Aorus Elite B550 V2

 ~  cat /sys/class/hwmon/hwmon*/debug_data
KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 014d0013
0005a010 = 015f0001
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a68
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

 ~  sensors zenpower-*
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 969.00 mV
SVI2_SoC: 1.07 V
Tdie: +28.1°C (high = +95.0°C)
Tctl: +28.1°C
Tccd1: +27.2°C
SVI2_P_Core: 1.91 W
SVI2_P_SoC: 5.66 W
SVI2_C_Core: 1.98 A
SVI2_C_SoC: 5.30 A

@rodrigogarcia2021
Copy link

Ryzen 3 3200U
Manjaro 5.15.6-2
Lenovo Ideapad L340-15API

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01870006
0005a010 = 01520025
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 08400001
00059968 = 00004a25
0005996c = 00000041
00059970 = c0800005

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 744.00 mV
SVI2_SoC: 1.04 V
Tdie: +37.0°C (high = +95.0°C)
Tctl: +37.0°C
SVI2_P_Core: 7.73 W
SVI2_P_SoC: 14.60 W
SVI2_C_Core: 10.39 A
SVI2_C_SoC: 13.71 A

@atarist
Copy link

atarist commented Dec 29, 2021

asrock x570m pro
5950x
Linux pve 5.15.7-1-pve #1 SMP PVE 5.15.7-1 (Tue, 14 Dec 2021 16:42:34 +0100) x86_64 GNU/Linux
proxmox-ve: 7.1-1(running kernel: 5.15.7-1-pve)
watch -n.5 "sensors 'zenpower-*'"
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 1.48 V
SVI2_SoC: 975.00 mV
Tdie: +37.1°C (high = +95.0°C)
Tctl: +37.1°C
Tccd1: +44.2°C
Tccd2: +42.0°C
SVI2_P_Core: 30.27 W
SVI2_P_SoC: 2.01 W
SVI2_C_Core: 20.42 A
SVI2_C_SoC: 2.06 A

./zp_read_debug.sh
KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 015c0007
0005a010 = 012f0051
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000bcc
00059958 = 00000bdc
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

@Miss-Inputs
Copy link

MSI B450I Gaming Plus AC (MS-7A40) (BIOS: 7A40vAF5)
Ryzen 5 1600 AF (note: this is reported as AMD Ryzen 5 1600 Six-Core Processor but it's a Zen+/Pinnacle Ridge CPU, which may make things interesting)
5.13.0-22-generic (standard Ubuntu 21.10 kernel)

cat /sys/class/hwmon/hwmon3/debug_data

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 016f0007
0005a010 = 01460021
0005a014 = 00000000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 08400001
00059968 = 00008040
0005996c = 00000064
00059970 = c0800005

sensors zenpower-* (idle)

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   850.00 mV 
SVI2_SoC:      1.11 V  
Tdie:         +77.5°C  (high = +95.0°C)
Tctl:         +77.5°C  
SVI2_P_Core:   8.83 W  
SVI2_P_SoC:   13.25 W  
SVI2_C_Core:   7.27 A  
SVI2_C_SoC:   11.90 A  

I don't have any way of verifying it really, but this seems to be about right for idle.

@stromnet
Copy link

stromnet commented Feb 8, 2022

ASUS Prime X570-PRO with AMD Ryzen 9 5900X

Kernel 5.16.2-arch1-1 #1 SMP PREEMPT Thu, 20 Jan 2022 16:18:29 +0000 x86_64 GNU/Linux

NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01590011
0005a010 = 0157000a
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000adc
00059958 = 00000ac4
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = ffffffff
0006f03c = ffffffff
$ sensors zenpower-\*
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.48 V  
SVI2_SoC:    1000.00 mV 
Tdie:         +50.6°C  (high = +95.0°C)
Tctl:         +50.6°C  
Tccd1:        +52.8°C  
Tccd2:        +46.8°C  
SVI2_P_Core:  35.81 W  
SVI2_P_SoC:    5.00 W  
SVI2_C_Core:  24.38 A  
SVI2_C_SoC:    4.71 A  

No idea about values, but at least temperatures are similar to what k10temp reported.

@tribals
Copy link

tribals commented Apr 20, 2022

$ lscpu 
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 5800H with Radeon Graphics
    CPU family:          25
    Model:               80
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU max MHz:         3200,0000
    CPU min MHz:         1200,0000
    BogoMIPS:            6388.32
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf r
                         apl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_cor
                         e perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 x
                         saves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_v
                         mload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    16 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling
  Srbds:                 Not affected
  Tsx async abort:       Not affected

$ uname -rm
5.15.32-213.current x86_64

$ ./zp_read_debug.sh 
KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = 01120014
0006f03c = 0165000f

$ sensors zenpower-\*
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.35 V  
SVI2_SoC:    650.00 mV 
Tdie:         +51.4°C  (high = +95.0°C)
Tctl:         +51.4°C  
SVI2_P_Core:  17.79 W  
SVI2_P_SoC:    1.34 W  
SVI2_C_Core:  14.49 A  
SVI2_C_SoC:    2.06 A  

https://github.com/Ta180m/zenpower3

@banduccm
Copy link

Motherboard: ASRock X570M Pro4

lscpu

  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  24
  On-line CPU(s) list:   0-23
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 9 5900X 12-Core Processor
    CPU family:          25
    Model:               33
    Thread(s) per core:  2
    Core(s) per socket:  12
    Socket(s):           1
    Stepping:            2
    Frequency boost:     enabled
    CPU max MHz:         4950.1948
    CPU min MHz:         2200.0000
    BogoMIPS:            7385.94
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse ss
                         e2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid
                          extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe po
                         pcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
                         3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx 
                         cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms 
                         invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc
                          cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbr
                         v svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avi
                         c v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor s
                         mca fsrm
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   384 KiB (12 instances)
  L1i:                   384 KiB (12 instances)
  L2:                    6 MiB (12 instances)
  L3:                    64 MiB (2 instances)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-23
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling
  Srbds:                 Not affected
  Tsx async abort:       Not affected

uname

5.17.4-200.fc35.x86_64 x86_64

debug_data:

NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 0159000f
0005a010 = 011b0027
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000b2c
00059958 = 00000b3a
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = ffffffff
0006f03c = ffffffff

@tdjb
Copy link

tdjb commented May 16, 2022

Ryzen 5 3600

Board: ASRock X570 Pro4
Kernel: 5.17.8-xanmod1-x64v2

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 013b001b
0005a010 = 01220007
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000aa4
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

idle:

SVI2_Core:     1.34 V  
SVI2_SoC:      1.18 V  
Tdie:         +34.6°C  (high = +95.0°C)
Tctl:         +34.6°C  
Tccd1:        +37.5°C  
SVI2_P_Core:   8.85 W  
SVI2_P_SoC:    9.39 W  
SVI2_C_Core:   7.25 A  
SVI2_C_SoC:    7.95 A

loaded:

SVI2_Core:     1.32 V
SVI2_SoC:      1.19 V
Tdie:         +71.2°C  (high = +95.0°C)
Tctl:         +71.2°C
Tccd1:        +71.8°C
SVI2_P_Core:  26.94 W
SVI2_P_SoC:    9.44 W
SVI2_C_Core:  20.42 A
SVI2_C_SoC:    7.95 A

The values add up, but seem too low for a fully loaded 3600.
I'd expect at least 60W.


Ryzen 7 1700X

Board: ASRock A320M-HDV R4.0
Kernel: Debian 5.10.0-13-amd64

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 0165000d
0005a010 = 014a0017
0005a014 = 00000000
000598bc = 0fff00ff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 08400001
00059968 = 00006432
0005996c = 00000042
00059970 = c0800005

idle:

SVI2_Core:   925.00 mV 
SVI2_SoC:      1.09 V  
Tdie:         +30.8°C  (high = +95.0°C)
Tctl:         +50.8°C  
SVI2_P_Core:  12.41 W  
SVI2_P_SoC:    9.03 W  
SVI2_C_Core:  13.51 A  
SVI2_C_SoC:    8.30 A

loaded:

SVI2_Core:     1.16 V  
SVI2_SoC:      1.10 V  
Tdie:         +48.2°C  (high = +95.0°C)
Tctl:         +68.2°C  
SVI2_P_Core: 200.80 W  
SVI2_P_SoC:    9.47 W  
SVI2_C_Core: 173.55 A  
SVI2_C_SoC:    9.02 A

Looks fine.

@deathxxx123
Copy link

deathxxx123 commented May 19, 2022

CPU: 8-core AMD Ryzen 7 5800X3D (-MT MCP-) speed/min/max: 3067/2200/4549 MHz
Mobo: Gigabyte X570S AORUS ELITE AX, BIOS: F5a (with AMD AGESA V2 1.2.0.6 B for Ryzen 7 5800X3D)
Kernel: 5.17.6-1-MANJARO x86_64 Up: 7m Mem: 2163.1/32058.7 MiB (6.7%)

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   969.00 mV 
SVI2_SoC:    994.00 mV 
Tdie:         +25.9°C  (high = +95.0°C)
Tctl:         +25.9°C  
Tccd1:        +25.5°C  
SVI2_P_Core:   3.81 W  
SVI2_P_SoC:    6.73 W  
SVI2_C_Core:   3.95 A  
SVI2_C_SoC:    6.77 A
KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01590015
0005a010 = 01360008
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a7c
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = ffffffff
0006f03c = ffffffff

This is working with MANGOHUD just amazing.

@ciolansteen
Copy link

ASUS Flow x13 - GV301QH / Ryzen 5980HS

Kernel: 5.17.9-zen1-1-zen

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.43 V  
SVI2_SoC:    907.00 mV 
Tdie:         +81.0°C  (high = +95.0°C)
Tctl:         +81.0°C  
SVI2_P_Core:  33.02 W  
SVI2_P_SoC:    3.74 W  
SVI2_C_Core:  24.38 A  
SVI2_C_SoC:    4.41 A  

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = 010d001f
0006f03c = 0167000e

@suarezvictor
Copy link

CPU AMD Ryzen 9 4900H on a Minisforum HM90 PC
uname -a: Linux maguimini 5.16.4 #5 SMP PREEMPT Wed Jun 8 19:43:53 -03 2022 x86_64 GNU/Linux
zenpower module is installed and zenmonitor works well

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

@linuxazo
Copy link

linuxazo commented Jul 23, 2022

Lenovo Legion 5 Pro 16ACH6H - Debian GNU/Linux Sid

$ lscpu

Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 5800H with Radeon Graphics
    CPU family:          25
    Model:               80
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     disabled
    CPU(s) scaling MHz:  90%
    CPU max MHz:         3200.0000
    CPU min MHz:         1200.0000
    BogoMIPS:            6388.14
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx f
                         xsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good no
                         pl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16
                          sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic 
                         cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfct
                         r_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs 
                         ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx sma
                         p clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm
                         _total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock n
                         rip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
                         v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov 
                         succor smca fsrm
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    16 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP always-on, RSB filli
                         ng
  Srbds:                 Not affected
  Tsx async abort:       Not affected

uname -rm
5.15.0-3-amd64 x86_64

./zp_read_debug.sh

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = 01420013
0006f03c = 0160001c

sensors zenpower-*

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.09 V  
SVI2_SoC:    950.00 mV 
Tdie:         +53.6°C  (high = +95.0°C)
Tctl:         +53.6°C  
SVI2_P_Core:  14.34 W  
SVI2_P_SoC:    6.99 W  
SVI2_C_Core:  13.18 A  
SVI2_C_SoC:    7.06 A 

Thank You for all your work and effort!!

@Malya03
Copy link

Malya03 commented Jul 30, 2022

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = ffffffff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = 0111000b
0006f03c = 01610014
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 5800H with Radeon Graphics
    CPU family:          25
    Model:               80
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU(s) scaling MHz:  35%
    CPU max MHz:         4463.0000
    CPU min MHz:         400.0000
    BogoMIPS:            6394.70
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpu
                         id extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalign
                         sse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2
                          erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc
                          arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl pku ospke vaes vpclmulqdq rdpid overflow_reco
                         v succor smca fsrm
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    16 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling
  Srbds:                 Not affected
  Tsx async abort:       Not affected
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: HP
	Product Name: 88EE
	Version: 80.72
	Serial Number: PLNBL038JFG19V
	Asset Tag: Base Board Asset Tag
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Base Board Chassis Location
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0
5.18.9-263-tkg-pds
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.06 V  
SVI2_SoC:    944.00 mV 
Tdie:         +48.9 C  (high = +95.0 C)
Tctl:         +48.9 C  
SVI2_P_Core:   6.96 W  
SVI2_P_SoC:    5.56 W  
SVI2_C_Core:   7.91 A  
SVI2_C_SoC:    5.89 A  

https://linux-hardware.org/?probe=97f6892c6c

@bagusnl
Copy link

bagusnl commented Aug 7, 2022

Acer Aspire A315-41-R69L
AMD Ryzen 3 3200U

HW probe link : https://linux-hardware.org/?probe=6a9c811ea3
zenpower debug:

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 0149001b
0005a010 = 017a0004
0005a014 = 00000000
000598bc = ffff0fff
0005994c = 00000000
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 08400001
00059968 = 00005028
0005996c = 00000050
00059970 = a7800005

sensors output:

Adapter: PCI adapter
SVI2_Core:     1.09 V  
SVI2_SoC:    807.00 mV 
Tdie:         +47.0°C  (high = +95.0°C)
Tctl:         +47.0°C  
SVI2_P_Core:  42.06 W  
SVI2_P_SoC:    2.91 W  
SVI2_C_Core:  39.49 A  
SVI2_C_SoC:    4.33 A

RyzenAdj PM Table output:


CPU Family: Picasso
SMU BIOS Interface Version: 8
Version: v0.10.0 
PM Table Version: 1e0004
|        Name         |   Value   |      Paramter      |
|---------------------|-----------|--------------------|
| STAPM LIMIT         |    25.000 | stapm-limit        |
| STAPM VALUE         |     7.868 |                    |
| PPT LIMIT FAST      |    30.000 | fast-limit         |
| PPT VALUE FAST      |     6.581 |                    |
| PPT LIMIT SLOW      |    25.000 | slow-limit         |
| PPT VALUE SLOW      |     6.832 |                    |
| StapmTimeConst      |   200.000 | stapm-time         |
| SlowPPTTimeConst    |     5.000 | slow-time          |
| PPT LIMIT APU       |       nan | apu-slow-limit     |
| PPT VALUE APU       |       nan |                    |
| TDC LIMIT VDD       |    35.000 | vrm-current        |
| TDC VALUE VDD       |     1.076 |                    |
| TDC LIMIT SOC       |    10.000 | vrmsoc-current     |
| TDC VALUE SOC       |     2.914 |                    |
| EDC LIMIT VDD       |    45.000 | vrmmax-current     |
| EDC VALUE VDD       |    43.026 |                    |
| EDC LIMIT SOC       |    13.000 | vrmsocmax-current  |
| EDC VALUE SOC       |     5.680 |                    |
| THM LIMIT CORE      |    89.000 | tctl-temp          |
| THM VALUE CORE      |    40.307 |                    |
| STT LIMIT APU       |       nan | apu-skin-temp      |
| STT VALUE APU       |       nan |                    |
| STT LIMIT dGPU      |       nan | dgpu-skin-temp     |
| STT VALUE dGPU      |       nan |                    |
| CCLK Boost SETPOINT |    70.000 | power-saving /     |
| CCLK BUSY VALUE     |    22.342 | max-performance    |

It seems that Core and SoC power is taken from the max value which most of the time isn't true as there is no way 3200U can go upwards of 60+ watts
image

@Dany-Wilde
Copy link

Dany-Wilde commented Jan 11, 2023

alain@sid:~$ sudo dmesg | grep DMI:
[sudo] Mot de passe de alain :
[ 0.000000] DMI: System manufacturer System Product Name/PRIME X570-PRO, BIOS 4408 10/27/2022

alain@sid:~$ lscpu | grep modèle
Nom de modèle : AMD Ryzen 9 3900X 12-Core Processor

alain@sid:~$ uname -a
Linux sid 6.1.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.4-1 (2023-01-07) x86_64 GNU/Linux

alain@sid:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bookworm/sid
Release: n/a
Codename: bookworm

alain@sid:~$ sudo dkms status
v4l2loopback/0.12.7, 6.0.0-6-amd64, x86_64: installed
v4l2loopback/0.12.7, 6.1.0-1-amd64, x86_64: installed
virtualbox/7.0.4, 6.0.0-6-amd64, x86_64: installed
virtualbox/7.0.4, 6.1.0-1-amd64, x86_64: installed
zenpower/0.1.12, 6.0.0-6-amd64, x86_64: installed
zenpower/0.1.12, 6.1.0-1-amd64, x86_64: installed

alain@sid:~/Téléchargements/6566b00072c8af96a109f65075f2d8b7-4a015fe1d2b6eca95e3
8ce0400a023de57d901ab$ sudo bash zp_read_debug.sh
Zenpower not found

alain@sid:~/Téléchargements/6566b00072c8af96a109f65075f2d8b7-4a015fe1d2b6eca95e3
8ce0400a023de57d901ab$ sensors zenpower-*
Specified sensor(s) not found!

alain@sid:~$ sensors asusec-*
asusec-isa-0000
Adapter: ISA adapter
Chipset: 1416 RPM
Chipset: +58.0°C
CPU: +38.0°C
Motherboard: +30.0°C
T_Sensor: -40.0°C
VRM: +0.0°C

where is the cpu power ?

friendly ,
dany (alain) .

happy new year 2023 from france .

@ojsl1
Copy link

ojsl1 commented Aug 21, 2023

Ryzen 7 5800X3D
ASUS PRIME X470 PRO
6.5.0-1-MANJARO x86_64

I just upgraded from zen+ to zen3 and now only the first two virtual cores display temperatures (within htop) and all the rest show N/A, with k10temp all show N/A

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01590011
0005a010 = 01400009
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a8e
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = ffffffff
0006f03c = ffffffff
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:     1.17 V
SVI2_SoC:    994.00 mV
Tdie:         +33.4°C  (high = +95.0°C)
Tctl:         +33.4°C
Tccd1:        +37.5°C
SVI2_P_Core:  12.32 W
SVI2_P_SoC:    4.97 W
SVI2_C_Core:  11.20 A
SVI2_C_SoC:    5.30 A

@Eiseiche
Copy link

Eiseiche commented Aug 23, 2023

AMD Ryzen 7 5700X (Eco Mode (45W (AM4 infrastructure H)) and Curve Optimizer (-29))
ASUS ROG STRIX B550-A GAMING
Linux 6.4.11-zen2-1-zen

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 0159000b
0005a010 = 015b0006
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a5c
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = ffffffff
0006f03c = ffffffff

idle:

Adapter: PCI adapter
SVI2_Core:   988.00 mV
SVI2_SoC:    994.00 mV
Tdie:         +27.4°C  (high = +95.0°C)
Tctl:         +27.4°C
Tccd1:        +27.0°C
SVI2_P_Core:   5.86 W
SVI2_P_SoC:    3.22 W
SVI2_C_Core:   6.59 A
SVI2_C_SoC:    3.24 A

loaded (stress -c 16):

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core:   950.00 mV
SVI2_SoC:    994.00 mV
Tdie:         +47.8°C  (high = +95.0°C)
Tctl:         +47.8°C
Tccd1:        +47.8°C
SVI2_P_Core:  22.84 W
SVI2_P_SoC:    3.51 W
SVI2_C_Core:  23.72 A
SVI2_C_SoC:    3.53 A

I think the power consumption must be higher.

@selukov
Copy link

selukov commented Aug 23, 2023

Linux 6.4.11-zen2-1-zen

Have you installed gcc-13 to compile zenpower?

└$► cat /var/lib/dkms/zenpower/0.1.12/build/make.log
DKMS make.log for zenpower-0.1.12 for kernel 6.4.12-060412-generic (x86_64)
Чт 24 авг 2023 02:09:40 +07
make[1]: Entering directory '/usr/src/linux-headers-6.4.12-060412-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-1ubuntu1) 13.2.0
  You are using:           
  CC [M]  /var/lib/dkms/zenpower/0.1.12/build/zenpower.o
/bin/sh: 1: gcc-13: not found
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/zenpower/0.1.12/build/zenpower.o] Error 127
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:2038: /var/lib/dkms/zenpower/0.1.12/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.4.12-060412-generic'
make: *** [Makefile:27: modules] Error 2

@Lillecarl
Copy link

AMD Ryzen 7 PRO 6850U, Lenovo ThinkPad T14 Gen 3

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000000
0005a00c = 00000000
0005a010 = 00000000
0005a014 = 00000000
000598bc = 0fb9fd56
0005994c = 7f9a147e
00059954 = 00000000
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = 00000000
0006f03c = 00000000

@outsidefactor
Copy link

outsidefactor commented Nov 7, 2023

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 014e001c
0005a010 = 01110018
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000b4e
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000
0006f038 = ffffffff
0006f03c = ffffffff

Machine:
Type: Desktop System: Gigabyte product: X570 AORUS ULTRA v: -CF
Mobo: Gigabyte model: X570 AORUS ULTRA
UEFI: American Megatrends LLC. v: F37f date: 09/20/2023
CPU:
Info: 8-core AMD Ryzen 7 3700X [MT MCP] speed (MHz): avg: 2771
min/max: 2200/4426
Kernel: 6.5.9-1-MANJARO arch: x86_64

Output from sensors:
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 1.45 V
SVI2_SoC: 1.06 V
Tdie: +47.9°C (high = +95.0°C)
Tctl: +47.9°C
Tccd1: +46.5°C
SVI2_P_Core: 21.02 W
SVI2_P_SoC: 8.76 W
SVI2_C_Core: 14.49 A
SVI2_C_SoC: 8.24 A

@KeithMyers
Copy link

KeithMyers commented May 1, 2024

Epyc 7713
Motherboard Asrock Rack ROMED8-2T
kernel 6.8.0-31-generic

Tdie and Tctl are out to lunch and reading 50° C. too high under load.

But Tccd1-8 read correctly. Also the SIO chip NCT6779 chip output TSIO_TEMP is the Tctl temp and reads correctly.

And voltages, currents and powers read correctly. Only Tctl and Tdie are not correct, almost as if there is an offset being added. Or maybe just the wrong register is being read in the first place.

Another datapoint is that my Epyc 7H12 in a Asrock Rack EPYCD8 motherboard reads everything correctly.

~/Downloads/zenpower3-master$ ./zp_read_debug.sh
KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 01f70000
0005a010 = 0157002a
0005a014 = 016c0090
000598bc = 0fff0fff
0005994c = 0fff0fff
00059954 = 00000af8
00059958 = 00000afa
0005995c = 00000b04
00059960 = 00000b02
00059964 = 00000af0
00059968 = 00000af2
0005996c = 00000afe
00059970 = 00000aec
0006f038 = ffffffff
0006f03c = ffffffff

~/Downloads/zenpower3-master$ sensors
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 894.00 mV
SVI2_SoC: 1.01 V
Tdie: +96.6°C (high = +95.0°C)
Tctl: +96.6°C
Tccd1: +47.2°C
Tccd2: +47.0°C
Tccd3: +45.8°C
Tccd4: +45.5°C
Tccd5: +43.8°C
Tccd6: +44.5°C
Tccd7: +46.5°C
Tccd8: +46.5°C
SVI2_P_Core: 84.81 W
SVI2_P_SoC: 12.15 W
SVI2_C_Core: 95.53 A
SVI2_C_SoC: 12.07 A

nvme-pci-0100
Adapter: PCI adapter
Composite: +41.9°C (low = -0.1°C, high = +85.8°C)
(crit = +86.8°C)
Sensor 1: +35.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +41.9°C (low = -273.1°C, high = +65261.8°C)

ucsi_source_psy_3_00081-i2c-3-08
Adapter: NVIDIA GPU I2C adapter
in0: 0.00 V (min = +0.00 V, max = +0.00 V)
curr1: 0.00 A (max = +0.00 A)

nct6779-isa-0290
Adapter: ISA adapter
Vcore: 992.00 mV (min = +0.00 V, max = +3.49 V)
in1: 232.00 mV (min = +0.00 V, max = +0.00 V) ALARM
AVCC: 3.31 V (min = +2.98 V, max = +3.63 V)
+3.3V: 3.30 V (min = +2.98 V, max = +3.63 V)
in4: 1.85 V (min = +0.00 V, max = +0.00 V) ALARM
in5: 1.06 V (min = +0.00 V, max = +0.00 V) ALARM
in6: 864.00 mV (min = +0.00 V, max = +0.00 V) ALARM
3VSB: 3.39 V (min = +2.98 V, max = +3.63 V)
Vbat: 3.23 V (min = +2.70 V, max = +3.63 V)
in9: 0.00 V (min = +0.00 V, max = +0.00 V)
in10: 848.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 824.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.68 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 912.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in14: 760.00 mV (min = +0.00 V, max = +0.00 V) ALARM
fan1: 0 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
SYSTIN: +47.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
CPUTIN: +45.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN0: +33.5°C sensor = thermistor
AUXTIN1: +34.0°C sensor = thermistor
AUXTIN2: +35.0°C sensor = thermistor
AUXTIN3: +39.0°C sensor = thermistor
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
PCH_MCH_TEMP: +0.0°C
PCH_DIM0_TEMP: +0.0°C
PCH_DIM1_TEMP: +0.0°C
TSI0_TEMP: +47.6°C
intrusion0: ALARM
intrusion1: ALARM
beep_enable: disabled

@mattkeenan
Copy link

AMD Ryzen 7 5700X3D 8-Core Processor
AMD Radeon RX 7600 (radeonsi, navi33, LLVM 17.0.6, DRM 3.57, 6.8.0-38-generic)

zenpower debug

KERN_SUP: 1
NODE0; CPU0; N/CPU: 1
0005a008 = 00000002
0005a00c = 015d0011
0005a010 = 01630005
0005a014 = 00000000
000598bc = 0fff0fff
0005994c = 00000000
00059954 = 00000a84
00059958 = 00000000
0005995c = 00000000
00059960 = 00000000
00059964 = 00000000
00059968 = 00000000
0005996c = 00000000
00059970 = 00000000

dmidecode

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: American Megatrends International, LLC.
Version: 2.J0
Release Date: 01/02/2024
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 32 MB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
5.25"/360 kB floppy services are supported (int 13h)
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 5.17

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Micro-Star International Co., Ltd.
Product Name: B550M PRO-VDH (MS-7C95)
Version: 1.0
Serial Number: XXXXXXXXXXXXXXXX
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

sensors zenpower-*

zenpower-pci-00c3
Adapter: PCI adapter
Tdie: +34.1°C (high = +95.0°C)
Tctl: +34.1°C

No power details... built from zenpower git repo, commit 5e2f56f

@KeithMyers
Copy link

Do you have the msr-tools installed? You need to read the msr registers to get power readings from zenpower.

@mattkeenan
Copy link

mattkeenan commented Jul 2, 2024

Do you have the msr-tools installed? You need to read the msr registers to get power readings from zenpower.

I have installed msr-tools, but no idea how to use msr-tools to get the power readings. I've had a look at the zenpower code an although my system has a recognised PCI ID (0x1443 / PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) it seems it's not detecting the SVI TEL plane(s).

Any clues?

p.s. just noticed that my CPU model (33) isn't in the zenpower code.

@KeithMyers
Copy link

KeithMyers commented Jul 2, 2024

Oh, realized I should have asked whether you were using the original zenpower code or the updated zenpower3 code that includes support for Zen 3 processors.

But I see the original zenpower3 fork is no longer on github now. But googling just found someone that also forked zenpower3. https://github.com/PutinVladimir/zenpower3

Or this location also. https://git.exozy.me/a/zenpower3

Use this one and build it and it might read your cpu. I didn't pay attention to your 5800X3D. You might have to add its model number into the code since is it newer.

Just modprobe msr into your system and then check with lsmod
sudo modprobe msr
lsmod | grep msr

@mattkeenan
Copy link

I got zenpower3 compiled and it works as intended, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests