rr-debugger / rr-debugger/rr

Zen 2 Lucienne

Open
#2,951 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

My AMD Ryzen 5700u (which seems untested) is not recognized as AMD Zen. It has type 0x60f80, and apparently is part of the Lucienne line.
Alongside this, zen_workaround.py fails to run, with the following log:

[moony@fedora obj]$ sudo ../rr/scripts/zen_workaround.py 
Traceback (most recent call last):
  File "/home/moony/Projects/obj/../rr/scripts/zen_workaround.py", line 46, in <module>
    os.write(msr, struct.pack('<q', val))
PermissionError: [Errno 1] Operation not permitted

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts/zen_workaround.py and the code that identifies AMD Zen CPUs; use the reported Ryzen 5700U type 0x60f80 and the logged PermissionError as the reproduction details. Done means the processor is recognized as AMD Zen and the workaround's behavior for this system is addressed, with relevant tests or reproduction steps documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.