From: Michael Ellerman Date: Thu, 10 Aug 2017 13:14:46 +0000 Subject: Re: [PATCH 10/13] powerpc/64s: idle simplify KVM idle on POWER9 Message-Id: <87zib7lg3d.fsf@concordia.ellerman.id.au> List-Id: References: <20170805170241.22966-1-npiggin@gmail.com> <20170805170241.22966-11-npiggin@gmail.com> In-Reply-To: <20170805170241.22966-11-npiggin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Cc: "Gautham R . Shenoy" , kvm-ppc@vger.kernel.org, Nicholas Piggin Nicholas Piggin writes: > POWER9 CPUs have independent MMU contexts per thread so KVM > does not have to bring sibling threads into real-mode when > switching MMU mode to guest. This can simplify POWER9 sleep/wake > paths and avoids hwsyncs. > > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/include/asm/kvm_book3s_asm.h | 4 ++++ > arch/powerpc/kernel/idle_book3s.S | 8 ++----- > arch/powerpc/kvm/book3s_hv.c | 37 ++++++++++++++++++++++++++----- > arch/powerpc/kvm/book3s_hv_rmhandlers.S | 8 +++++++ This will need to go via, or at least be shared with Paul's tree. So if it's possible, splitting it out of this series would be easier. cheers