Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xWCMb0NhxzDrG2 for ; Mon, 14 Aug 2017 21:00:59 +1000 (AEST) From: Michael Ellerman To: Nicholas Piggin Cc: Sukadev Bhattiprolu , Benjamin Herrenschmidt , mikey@neuling.org, stewart@linux.vnet.ibm.com, apopple@au1.ibm.com, hbabu@us.ibm.com, oohall@gmail.com, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 01/17] powerpc/vas: Define macros, register fields and structures In-Reply-To: <20170814160522.4f9b517a@roar.ozlabs.ibm.com> References: <1502233622-9330-1-git-send-email-sukadev@linux.vnet.ibm.com> <1502233622-9330-2-git-send-email-sukadev@linux.vnet.ibm.com> <877ey6sp03.fsf@concordia.ellerman.id.au> <20170814160522.4f9b517a@roar.ozlabs.ibm.com> Date: Mon, 14 Aug 2017 21:00:57 +1000 Message-ID: <87shguquqe.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Nicholas Piggin writes: > On Mon, 14 Aug 2017 15:21:48 +1000 > Michael Ellerman wrote: > >> Sukadev Bhattiprolu writes: > >> > arch/powerpc/include/asm/vas.h | 35 ++++ >> > arch/powerpc/include/uapi/asm/vas.h | 25 +++ >> >> I thought we weren't exposing VAS to userspace yet? >> >> If we are then we need to get things straight WRT copy/paste abort. > > No we should not be. This might be just a leftover hunk that should > be moved to a future series. > > At the moment (as far as I understand) it should be limited to > preempt-disabled, process context, kernel users which avoids any > concern for switch_to. I think that comment applied to a previous version, see patch 16. cheers