[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 02:56:07 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1193

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |programmerjake at gmail.com

--- Comment #2 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #1)
> (In reply to Jacob Lifshay from comment #0)
> 
> > Since I need to ensure all the trap opcodes work
> 
> i did not specify that. please re-read what i said, twice. i said
> *sc*.

yes, but in order for pytest/CI to properly test sc, the other cases in the
same class need to pass, otherwise they stop the test early and later cases
don't get run. This is because pytest treats the whole class as a unit.
> 
> > #1066 after it was reverted, I'm marking TrapTestCase.case_2_rfid as skipped
> > with a FIXME for now.
> 
> 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.

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


More information about the libre-soc-bugs mailing list