Re: [PATCH 12/13] powerpc/64s: idle POWER9 can execute stop in virtual mode

2017-08-08 Thread Gautham R Shenoy
On Sun, Aug 06, 2017 at 03:02:40AM +1000, Nicholas Piggin wrote: > The hardware can execute stop in any context, and KVM does not > require real mode. This saves a switch to real-mode when going > idle. > > Signed-off-by: Nicholas Piggin Acked-by: Gautham R. Shenoy > --- > arch/powerpc/kernel

Re: [PATCH 12/13] powerpc/64s: idle POWER9 can execute stop in virtual mode

2017-08-05 Thread Benjamin Herrenschmidt
On Sun, 2017-08-06 at 03:02 +1000, Nicholas Piggin wrote: > The hardware can execute stop in any context, and KVM does not > require real mode. This saves a switch to real-mode when going > idle. +Paulus. > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/kernel/idle_book3s.S | 9 + >

[PATCH 12/13] powerpc/64s: idle POWER9 can execute stop in virtual mode

2017-08-05 Thread Nicholas Piggin
The hardware can execute stop in any context, and KVM does not require real mode. This saves a switch to real-mode when going idle. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/idle_book3s.S | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/kernel/idle_book3s.S