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

PowerPC - Asset failure on CPUs that lack L2 cache #304

Open
techflashYT opened this issue Oct 24, 2024 · 0 comments
Open

PowerPC - Asset failure on CPUs that lack L2 cache #304

techflashYT opened this issue Oct 24, 2024 · 0 comments

Comments

@techflashYT
Copy link

I get the following assertion failure on CPUs that lack L2 cache - specifically on PPC (can't replicate on anything else).

cpufetch: src/common/cpu.c:136: get_str_l2: Assertion `cach->L2->exists' failed.
Aborted (core dumped)

I can replicate this on a "Broadway" (Nintendo Wii CPU - Modified PowerPC 750CL), as well as on a QEMU Virtual Machine running on a POWER9.
I have some code that can fix this, if you want it, however you've noted that you do not accept pull requests, and prefer to work on it yourself, so I have not provided it here. Let me know if you would like it.

I would be happy to try out any changes on the same hardware, if you want, as well.

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

1 participant