aboutsummaryrefslogtreecommitdiff
path: root/qobject
diff options
context:
space:
mode:
authorMichael Clark <mjc@sifive.com>2018-03-06 09:48:41 +1300
committerMichael Clark <mjc@sifive.com>2018-05-06 10:39:38 +1200
commit33e3bc8d77b6ce95e622bdc0fce622d35b7ee56c (patch)
tree8156f6516347fdc27a08bf4f84115e300b6bc157 /qobject
parent79f86934267135080e13e02b52c74371220d8e06 (diff)
RISC-V: Hardwire satp to 0 for no-mmu case
satp is WARL so it should not trap on illegal writes, rather it can be hardwired to zero and silently ignore illegal writes. It seems the RISC-V WARL behaviour is preferred to having to trap overhead versus simply reading back the value and checking if the write took (saves hundreds of cycles and more complex trap handling code). Cc: Sagar Karandikar <sagark@eecs.berkeley.edu> Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Cc: Palmer Dabbelt <palmer@sifive.com> Cc: Alistair Francis <Alistair.Francis@wdc.com> Signed-off-by: Michael Clark <mjc@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions