Re: [Qemu-devel] [PATCH] ppc: Fix support for odd MSR combinations

2016-07-08 Thread Benjamin Herrenschmidt
On Sat, 2016-07-09 at 13:22 +1000, Benjamin Herrenschmidt wrote: > MacOS uses an architecturally illegal MSR combination that > seems nonetheless supported by 32-bit processors, which is > to have MSR[PR]=1 and one or more of MSR[DR/IR/EE]=0. > > This adds support for it. To work properly we need

[Qemu-devel] [PATCH] ppc: Fix support for odd MSR combinations

2016-07-08 Thread Benjamin Herrenschmidt
MacOS uses an architecturally illegal MSR combination that seems nonetheless supported by 32-bit processors, which is to have MSR[PR]=1 and one or more of MSR[DR/IR/EE]=0. This adds support for it. To work properly we need to also properly include support for PR=1,{I,D}R=0 to the MMU index used by