From: Luke Kenneth Casson Leighton Date: Mon, 20 Dec 2021 14:40:57 +0000 (+0000) Subject: whoops forgot to trap if non-execute (instruction) invalid X-Git-Tag: sv_maxu_works-initial~617 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1eeaf5c938ed8ddf59963f9674e933653cfe914;p=openpower-isa.git whoops forgot to trap if non-execute (instruction) invalid ISACaller RADIXMMU returns exception, there are two types: LDST (0x300) and I-Fetch (0x400) --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 206a2d9e..4ee485f6 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -1039,6 +1039,8 @@ class ISACaller(ISACallerHelper, ISAFPHelpers): # else # v.intr_vec := 16#480#; self.call_trap(0x400, PIb.PRIV) # 0x400, privileged + else: + self.call_trap(0x300, PIb.PRIV) # 0x300, privileged return # not supported yet: raise e # ... re-raise