[Libre-soc-bugs] [Bug 855] add libre-soc to kestrel

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Jul 4 00:53:50 BST 2022


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

--- Comment #15 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to tpearson from comment #14)
> Fair enough, the 10x slower bit may explain a lot actually especially in the
> context of an RTOS that is expecting time slices in wall clock time.
> 
> I'll push what I have into some branches shortly.

now that there's *a* difference spotted i have to write a unit test
for mtmsr anyway. the sooner i can get that started the better.

i also need to add corresponding DEC/TB counting in the python simulator

> Yes, I've seen DEC firing differently than under Microwatt.

it even makes life difficult to write comparative unit tests against
the python-based simulator, because the (small) program even if it is
3 lines will not react identically.

annoying but it is what it is.

> Agreed on unit tests, I've been spending some time trying to figure out what
> the differences are so that they can be isolated / pulled into unit tests. 
> So far, the biggest one may well be the slower execution, and that may be
> throwing Zephyr for a loop.  I'll try adjusting the timeslice configuration
> to better match the execution speed; unfortunately that is a difference that
> I can't really work around any other way.

no, agreed. i hit this with the linux kernel as well, it was getting
timer interrupts actually overlapping at one point.

> The good news is it does talk over the network. 

dang.

> Once I have the timer
> issues sorted I expect receive to work as well.

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


More information about the libre-soc-bugs mailing list