ppc: Enforce setting MSR:EE,IR and DR when MSR:PR is set
commitb378bb0948277d71c78bc6d0c1ef80a253aafc80
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 27 Jun 2016 06:55:18 +0000 (27 08:55 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 30 Jun 2016 23:57:01 +0000 (1 09:57 +1000)
tree4f73f5c4fb975c115a5a8c254c3fa58d9c16a0ec
parentd1dbe37c1ee3f14cb64a9ae3c89f637fdd08fca1
ppc: Enforce setting MSR:EE,IR and DR when MSR:PR is set

The architecture specifies that any instruction that sets MSR:PR will also
set MSR:EE, IR and DR.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/helper_regs.h