Re: [PATCH v2] ocxl: Allow contexts to be attached with a NULL mm

From: Nicholas Piggin
Date: Thu Jun 20 2019 - 01:30:53 EST


Alastair D'Silva's on June 20, 2019 2:12 pm:
> From: Alastair D'Silva <alastair@xxxxxxxxxxx>
>
> If an OpenCAPI context is to be used directly by a kernel driver, there
> may not be a suitable mm to use.
>
> The patch makes the mm parameter to ocxl_context_attach optional.
>
> Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>

Yeah I don't think you need to manage a kernel context explicitly
because it will always be flushed with tlbie, comment helps. For
the powerpc/mm bit,

Acked-by: Nicholas Piggin <npiggin@xxxxxxxxx>