From c1eeaf5c938ed8ddf59963f9674e933653cfe914 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 20 Dec 2021 14:40:57 +0000 Subject: [PATCH] whoops forgot to trap if non-execute (instruction) invalid ISACaller RADIXMMU returns exception, there are two types: LDST (0x300) and I-Fetch (0x400) --- src/openpower/decoder/isa/caller.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2