Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752294AbdHNGFp (ORCPT ); Mon, 14 Aug 2017 02:05:45 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36598 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbdHNGFo (ORCPT ); Mon, 14 Aug 2017 02:05:44 -0400 Date: Mon, 14 Aug 2017 16:05:22 +1000 From: Nicholas Piggin To: Michael Ellerman 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 Message-ID: <20170814160522.4f9b517a@roar.ozlabs.ibm.com> In-Reply-To: <877ey6sp03.fsf@concordia.ellerman.id.au> 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> Organization: IBM X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 21 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. Thanks, Nick