[PATCH v12 07/11] mm: Provide address parameter to p{te,md,ud}_user_accessible_page()

Pasha Tatashin pasha.tatashin at soleen.com
Wed Apr 3 16:48:26 PDT 2024


On Tue, Apr 2, 2024 at 1:13 AM Rohan McLure <rmclure at linux.ibm.com> wrote:
>
> On several powerpc platforms, a page table entry may not imply whether
> the relevant mapping is for userspace or kernelspace. Instead, such
> platforms infer this by the address which is being accessed.
>
> Add an additional address argument to each of these routines in order to
> provide support for page table check on powerpc.
>
> Signed-off-by: Rohan McLure <rmclure at linux.ibm.com>

Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>



More information about the linux-arm-kernel mailing list