Re: [PATCH v6 05/11] arm64/mm: Add support for XPFO

From: Christoph Hellwig
Date: Fri Sep 08 2017 - 03:53:54 EST


> +/*
> + * Lookup the page table entry for a virtual address and return a pointer to
> + * the entry. Based on x86 tree.
> + */
> +static pte_t *lookup_address(unsigned long addr)

Seems like this should be moved to common arm64 mm code and used by
kernel_page_present.