From 52e7e115aa683995c0557e3474cefabac0a6bffc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 10 Jan 2022 16:08:28 +0000 Subject: [PATCH] enable privileged-instruction detection which had previously been commented-out --- src/openpower/decoder/power_decoder2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 8714fa3c..923c8ed1 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -1506,7 +1506,7 @@ class PowerDecode2(PowerDecodeSubset): comb += ext_irq_ok.eq(ext_irq & msr[MSR.EE]) # v3.0B p944 (MSR.EE) comb += dec_irq_ok.eq(dec_spr[63] & msr[MSR.EE]) # 6.5.11 p1076 - #comb += priv_ok.eq(is_priv_insn & msr[MSR.PR]) + comb += priv_ok.eq(is_priv_insn & msr[MSR.PR]) comb += illeg_ok.eq(op.internal_op == MicrOp.OP_ILLEGAL) # absolute top priority: check for an instruction failed -- 2.30.2