Missing SATP checks.
pawks opened this issue · 0 comments
pawks commented
Even though the mode
field is warl, the spec lists various constraints on the allowed behavior of the various fields in satp
register. These checks aren't implemented right now.
- Behaviour of writes when
satp.mode
is written with an illegal value. The spec says the following:Hence all the fields inif satp is written with an unsupported MODE, the entire write has no effect; no fields in satp are modified.
satp
will need to containsatp.mode
as a dependency and the only allowed illegal behavior on illegalmode
fields is unchanged.