enable privileged-instruction detection which had previously
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 10 Jan 2022 16:08:28 +0000 (16:08 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 10 Jan 2022 16:10:04 +0000 (16:10 +0000)
been commented-out

src/openpower/decoder/power_decoder2.py

index 8714fa3c038c74766a2c6b8aefe1c28153db1e10..923c8ed1e01e24c202764c5b54258e237397db27 100644 (file)
@@ -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