[Libre-soc-bugs] [Bug 1193] TrapTestCase.case_2_rfid is broken, without an obvious fix

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Oct 20 03:24:10 BST 2023


--- Comment #3 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #2)
> (In reply to Luke Kenneth Casson Leighton from comment #1)
> > please remove that. it works as compatible with microwatt.
> > if you remove tat test it could damage TestIssuer.
> ok, well in that case, microwatt is just wrong, since it's in privileged
> mode, not problem mode (unless reserved MSR bits 1:2 are causing the trap).
> I'll revert that skip_case commit.


the commit message where the expected state for case_2_rfid was added makes me
think you added whatever made the soc tests happy at the time, rather than what
matched microwatt:


this is when you were working on https://bugs.libre-soc.org/show_bug.cgi?id=859

microwatt's privileged tests do give pc=0x700, but only because they set
Problem state and try to run rfid, which traps because it is privileged.


You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list