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

From: Nicholas Piggin
Date: Mon Aug 14 2017 - 02:05:49 EST


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.

Thanks,
Nick