From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xSqNM462czDqkX for ; Thu, 10 Aug 2017 23:53:23 +1000 (AEST) Received: by mail-pf0-x244.google.com with SMTP id c65so758735pfl.0 for ; Thu, 10 Aug 2017 06:53:23 -0700 (PDT) Date: Thu, 10 Aug 2017 23:53:06 +1000 From: Nicholas Piggin To: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, "Gautham R . Shenoy" , kvm-ppc@vger.kernel.org Subject: Re: [PATCH 10/13] powerpc/64s: idle simplify KVM idle on POWER9 Message-ID: <20170810235251.65f3046a@roar.ozlabs.ibm.com> In-Reply-To: <87zib7lg3d.fsf@concordia.ellerman.id.au> References: <20170805170241.22966-1-npiggin@gmail.com> <20170805170241.22966-11-npiggin@gmail.com> <87zib7lg3d.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 10 Aug 2017 23:14:46 +1000 Michael Ellerman wrote: > 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. I agree it's really a KVM patch, but patch 12 depends on this, it is a Linux patch. Not sure how you want to handle that? Thanks, Nick