Replies: 13 comments 32 replies
-
Hi, here is the output of the commands
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately, in above dump, no meaningful values are showing up. Can you now try to read MSR
Bits of interest could be |
Beta Was this translation helpful? Give feedback.
-
In |
Beta Was this translation helpful? Give feedback.
-
Can you read those from Rembrandt ? for addr in 0x0006f010 0x0006f014 0x0006f018 0x0006f01c ; do ./zencli smu ${addr}; done |
Beta Was this translation helpful? Give feedback.
-
Is it possible that the SoC voltage is reported by the Motherboard and not part of the CPU registers? |
Beta Was this translation helpful? Give feedback.
-
It seems like k10temp driver used to support zen3 SoC voltage, but this support for was dropped here torvalds/linux@0a4e668 It seems like zen3 and zen4 are both from 19h fameliy so i guess they will have similar way of reading SoC voltage. |
Beta Was this translation helpful? Give feedback.
-
I have scanned the Range of addresses and I found two values that change relative to system performance. 0x000730d8 and 0x00073010 I am able to see package power via turbostat command, so I wonder if it's possible to find SoC VID in msr registers, also what is the relationship between MSR registers and PCI (what is zencli is reading)? |
Beta Was this translation helpful? Give feedback.
-
In none MSR I've found SoC voltage. VID is usually an 8-bits you will supply to a voltage formula:
The register values you found in SMU addresses Then compute Voltage using formulas (which are solving Vcore but also SoC voltage, if we're lucky) MSR may cache PCI registers or other IP registers, can be IP microcode. |
Beta Was this translation helpful? Give feedback.
-
Fyi, Registers you found in Zen4 don't seem to work on Zen2. These are results on my 3950X:
|
Beta Was this translation helpful? Give feedback.
-
We can try other ports for the HSMP protocol: Line 164 in a28ea7b and replace with: #define SMU_AMD_INDEX_PORT_F17H 0xc4
#define SMU_AMD_DATA_PORT_F17H 0xc8 rebuild all and load driver make clean all
insmod ./corefreqk.ko next check into your kernel log ( |
Beta Was this translation helpful? Give feedback.
-
In the article of igorslab.de you'll find the link to the "Renesas Electronics Corporation. 2020. ISL62776 Multiphase PWM Regulator for AMD CPUs Using SVI2" Once PDF downloaded, you will go to Table 5. Serial VID Codes Concerning SVI3 on Zen4, I have not found much info on renesas.com |
Beta Was this translation helpful? Give feedback.
-
@amfern Hello, I'm still not giving up with this subject. Can you try the AMD HSMP driver ? Based on latest Linux kernel, make sure zgrep CONFIG_AMD_HSMP /proc/config.gz
CONFIG_AMD_HSMP=m If unset, build your own kernel: in Next, load the module and post the result from the kernel log. modprobe amd_hsmp If you reach the point where driver is correctly inserted, we will submit commands in subsequent post. Thank you |
Beta Was this translation helpful? Give feedback.
-
Meanwhile in this EPYC/Genoa output, we have confirmation that HSMP has worked for Version and some PL fields: Processor [AMD EPYC 9274F 24-Core Processor]
|- Firmware [ 71.121.0-5]
...
|- Thermal Design Power Package < Enable>
|- Power Limit PL1 < 400 W>
|- Time Window TW1 < 0 ns>
|- Power Limit PL2 < 400 W> |
Beta Was this translation helpful? Give feedback.
-
Specifications
Known addresses
Dump
Prerequisite
zencli
Scan actions
Remark:
A register output value of
0xffffffff
means "does not exist".Beta Was this translation helpful? Give feedback.
All reactions