[Libre-soc-bugs] [Bug 812] invalid access to 0x0 on startup leads to core hang

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Apr 16 19:47:49 BST 2022


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

--- Comment #6 from tpearson at raptorengineering.com ---
Created attachment 161
  --> https://bugs.libre-soc.org/attachment.cgi?id=161&action=edit
PC async reset fix

OK so this is what I'd come up with in parallel, it's pretty minimal as far as
changes and I think we've both kinda figured out the same root cause.

The openpower-isa change is a "nice to have", right now SoC reset forces the PC
to 0x0 which I think is incorrect.  The patch to fix that (no access to push a
branch) is attached.

For the other reset / WB address issues, here's the fixes I came up with. 
Working in hardware and simulation now:

https://git.libre-soc.org/?p=soc.git;a=commit;h=95348f69a936ad4dbf02f02f647613d302d3ec14

https://git.libre-soc.org/?p=soc.git;a=commit;h=b25bcf06665b246515186a10b954dcea24df5bf4

https://git.libre-soc.org/?p=soc.git;a=commit;h=c1a38c32b850f96c0d83da0a5cd3c04285271147

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


More information about the libre-soc-bugs mailing list