[PATCH v2] ocxl: Allow contexts to be attached with a NULL mm
Nicholas Piggin
npiggin at gmail.com
Thu Jun 20 15:25:38 AEST 2019
Alastair D'Silva's on June 20, 2019 2:12 pm:
> From: Alastair D'Silva <alastair at d-silva.org>
>
> 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 at d-silva.org>
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 at gmail.com>
More information about the Linuxppc-dev
mailing list