[Libre-soc-dev] daily kan-ban update 10nov2021
lkcl
luke.leighton at gmail.com
Wed Nov 10 18:18:10 GMT 2021
On November 10, 2021 6:07:18 PM UTC, Tobias Platen <libre-soc at platen-software.de> wrote:
>wrote case_5_ldst_exception, where I saw that the "problem" state MSR
>is not passed to LoadStore1. I guess that this is a bug in the core or
>in the issuer.
no, neither: remember, we have never added any kind of exception handling, virtual memory, anything, to any data structures, it is entirely missing, not a bug, because it was intentional not to handle exceptions at all for the first ASIC.
you've identified a location where in the ripple-effect propagation of exceptions and privileged state needed, MSR.PR is simply missing.
it will need adding to the LDST record, first. ldst multicompunit:
103 from soc.fu.ldst.ldst_input_record import CompLDSTOpSubset
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/fu/ldst/ldst_input_record.py;h=8ba8f0255c8e7b62d6607360bd6a6cd32123773e;hb=HEAD#l23
23 ('msr', 64), # TODO: a lot less bits. only need PR
ok! so that is already there. but it is missing from pipe_data.py
hmmm trap has msr:
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/fu/trap/pipe_data.py;h=93a135b81c3056292338bcd65f263897a5e468dc;hb=HEAD
ok i will just add that, gimme 1 sec
l.
More information about the Libre-soc-dev
mailing list