Re: [PATCH v6 01/17] powerpc/vas: Define macros, register fields and structures

From: Michael Ellerman
Date: Mon Aug 14 2017 - 07:01:07 EST


Nicholas Piggin <npiggin@xxxxxxxxx> writes:

> On Mon, 14 Aug 2017 15:21:48 +1000
> Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
>
>> Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx> 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