Re: [Qemu-devel] [PATCH 05/17] ppc: Fix hreg_store_msr() so that non-HV mode cannot alter MSR:HV

2016-03-15 Thread David Gibson
On Mon, Mar 14, 2016 at 08:29:10PM +0100, Thomas Huth wrote: > On 14.03.2016 17:56, Cédric Le Goater wrote: > > From: Benjamin Herrenschmidt > > > > This helper is only used by the various instructions that can alter > > MSR and not interrupts. Add a comment to that effect to the interrupt > > co

Re: [Qemu-devel] [PATCH 05/17] ppc: Fix hreg_store_msr() so that non-HV mode cannot alter MSR:HV

2016-03-14 Thread Thomas Huth
On 14.03.2016 17:56, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt > > This helper is only used by the various instructions that can alter > MSR and not interrupts. Add a comment to that effect to the interrupt > code as well in case somebody wants to change this > > Signed-off-by: Benj

[Qemu-devel] [PATCH 05/17] ppc: Fix hreg_store_msr() so that non-HV mode cannot alter MSR:HV

2016-03-14 Thread Cédric Le Goater
From: Benjamin Herrenschmidt This helper is only used by the various instructions that can alter MSR and not interrupts. Add a comment to that effect to the interrupt code as well in case somebody wants to change this Signed-off-by: Benjamin Herrenschmidt Reviewed-by: David Gibson --- target-