Closed adam900710 closed 1 year ago
Ok, the dump is failing because of the new CONFIG_STRICT_DEVMEM
config of default arch kernel, as to rebuild a custom kernel just for this...
Hi @adam900710! I don't know which device you are trying this on, but I'm also running Arch Linux (kernel 6.5.0-rc6-1-mainline
) on a GPW Win Max 2 2023 with a Ryzen 7840U.
With a locally built ryzenadj, version 0.13.0
(commit 7201ff25533698bfe3c402a87d479e02358bd929) I first received the same error message as you did when trying sudo ./ryzenadj -i
. However, after adding iomem=relaxed
to my kernel boot parameters and restarting I now no longer receive an error and now seem to get correct output:
CPU Family: Phoenix
SMU BIOS Interface Version: 12
Version: v0.13.0
PM Table Version: 4c0007
| Name | Value | Parameter |
|---------------------|-----------|--------------------|
| STAPM LIMIT | 22.000 | stapm-limit |
| STAPM VALUE | 4.361 | |
| PPT LIMIT FAST | 24.000 | fast-limit |
| PPT VALUE FAST | 14.703 | |
| PPT LIMIT SLOW | 24.000 | slow-limit |
| PPT VALUE SLOW | 4.418 | |
| StapmTimeConst | nan | stapm-time |
| SlowPPTTimeConst | nan | slow-time |
| PPT LIMIT APU | nan | apu-slow-limit |
| PPT VALUE APU | nan | |
| TDC LIMIT VDD | nan | vrm-current |
| TDC VALUE VDD | nan | |
| TDC LIMIT SOC | nan | vrmsoc-current |
| TDC VALUE SOC | nan | |
| EDC LIMIT VDD | nan | vrmmax-current |
| EDC VALUE VDD | nan | |
| EDC LIMIT SOC | nan | vrmsocmax-current |
| EDC VALUE SOC | nan | |
| THM LIMIT CORE | nan | tctl-temp |
| THM VALUE CORE | nan | |
| 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 | nan | power-saving / |
| CCLK BUSY VALUE | nan | max-performance |
I know your APU is slightly different, being the 7940HS instead of my 7840U, but adding the kernel boot parameter might help you too :)
Cheers, Thomas
Thanks a lot, especially on the iomem=relaxed
option which I didn't know.
With that we can access /dev/mem
and to dump the table.
Git version built from AUR.
And ryzen_smu module is not working either.
lscpu
output: