From: Luke Kenneth Casson Leighton Date: Mon, 10 Jan 2022 16:08:28 +0000 (+0000) Subject: enable privileged-instruction detection which had previously X-Git-Tag: sv_maxu_works-initial~571 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52e7e115aa683995c0557e3474cefabac0a6bffc;p=openpower-isa.git enable privileged-instruction detection which had previously been commented-out --- 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