Giter Site home page Giter Site logo

Comments (17)

irusanov avatar irusanov commented on May 21, 2024 1

Thanks for the report!
I have many debug files from desktop systems, but very few from server parts, which is understandable due to the app being Windows-only.

The second part of the grayed out values I don't know how to fix, but other readings can be adjusted.
The offsets don't match, it seems. Current offsets for your CPU are mostly based on assumption and I've only hit the VDDP i and maybe MCLK it seems :)

Will make the necessary adjustments and will get back to you.
I would be happy if you could make even more tests for me.

Update:
I see what's going on. The command for table version is disabled for Rome, since I'm not sure if it is the same as on Matisse (desktop Zen2).
You can find it experimentally, but it's kind of risky, because that command (0x8) might mean something completely different on Rome.

from zentimings.

irusanov avatar irusanov commented on May 21, 2024 1

Yes, overvoltage. The command for setting VSOC was blocked some time ago in one of the newer updates, but it is probably active for the ES. It's close to the retails and I have no access to other Rome CPUs, so can't test it myself, but I think it should be fine.
Just have to avoid sending unknown command IDs with random or 0x0 arguments to be on the safer side.

from zentimings.

irusanov avatar irusanov commented on May 21, 2024 1

There is such command, but it was long time ago and I don't remember the exact id.
It is not recommended at all, because it accepts VID (and not voltage), where 0 is the highest VID, resulting in 1.55V VSOC.
0 is the default argument, so 1.55V will probably damage/kill your CPU.

from zentimings.

irusanov avatar irusanov commented on May 21, 2024 1

Good, it works as expected. Thanks for the test!

from zentimings.

chraac avatar chraac commented on May 21, 2024

Thanks for the report!
I have many debug files from desktop systems, but very few from server parts, which is understandable due to the app being Windows-only.

The second part of the grayed out values I don't know how to fix, but other readings can be adjusted.
The offsets don't match, it seems. Current offsets for your CPU are mostly based on assumption and I've only hit the VDDP i and maybe MCLK it seems :)

Will make the necessary adjustments and will get back to you.
I would be happy if you could make even more tests for me.

Update:
I see what's going on. The command for table version is disabled for Rome, since I'm not sure if it is the same as on Matisse (desktop Zen2).
You can find it experimentally, but it's kind of risky, because that command (0x8) might mean something completely different on Rome.

Thanks for quick reply, I'll be happy to test the new software in may computer.

Another words, is the 0x8 a SMU command that will write to CPU?

from zentimings.

irusanov avatar irusanov commented on May 21, 2024

Yes, SMU command with ID 0x8 is "get power table version" for Zen2, but I was unsure it is the same on the server parts and left it disabled. It gets sent to the SMU and the result returned is the table version.
There are other commands that apparently work.

0x5 is the command to refresh power table and it is fine, because your debug reports a correct table.
I believe the chance 0x8 also matches is very big, but still there's a risk.

from zentimings.

chraac avatar chraac commented on May 21, 2024

Just curious that is there a detailed doc about these SMU commands, I am working on the Rome ES overclock, there is also some SMU command to control the Frequency/Voltage of ES, so may be we could summarize them if no such doc.

Further thoughts, we know that AMD CPU has a build-in ARM security processor, maybe the SMU is just an another build-in processor or just a service run on the OS of this embedded CPU.

In the group of PSPReverse in github, they did a lot in revere engineering the PSP, there also a emulator can run local compiling code, maybe we could leverage form it.
PSPReverse - Github

from zentimings.

chraac avatar chraac commented on May 21, 2024

After some search, I found that SMU is a special 32bit processor call "Lattice
LM32 microprocessor". There i a tool to dump the SMU fw and I think we could disasm the fw to get more information about the 0x8 command.
smutool - Github

from zentimings.

chraac avatar chraac commented on May 21, 2024

Here is an analysis about SMU fw, though it's for old model (family 16h), I think it's helpful for digging into the fw.

The analysis doc contains almost everything: image structure, first instruction offset, instruction set, toolchain etc.

AMD x86 SMU firmware analysis

from zentimings.

irusanov avatar irusanov commented on May 21, 2024

Not much available, just what was discovered about a year ago on another Rome CPU.
I only know 5-6 commands for it, others are unknown.

from zentimings.

chraac avatar chraac commented on May 21, 2024

@irusanov, I'm happy to test if you have any new version

from zentimings.

irusanov avatar irusanov commented on May 21, 2024

We can try this one, but I'm still a bit concerned. Some ES chips don't have the protection retails do.
ZenTimings_v1.2.3.148-debug.zip

from zentimings.

chraac avatar chraac commented on May 21, 2024

What kinds of protection? Over-frequency or over-voltage? My 7452 QS is b0 stepping, I tried to overclock it and it runs very well.

from zentimings.

chraac avatar chraac commented on May 21, 2024

Is there any command known to set the soc voltage? My soc voltage seems always 0.8-0.9v

from zentimings.

chraac avatar chraac commented on May 21, 2024

We can try this one, but I'm still a bit concerned. Some ES chips don't have the protection retails do.
ZenTimings_v1.2.3.148-debug.zip

I run it in my rome es computer for several minutes and it runs well,the clocks looks good. Thks

from zentimings.

chraac avatar chraac commented on May 21, 2024

The SOC voltage seems untouched after running.

from zentimings.

chraac avatar chraac commented on May 21, 2024

ZenTimings_Screenshot_26876736.6036615.png

from zentimings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.