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

Christoph Hellwig
2017-09-08T07:53:49Z

> +/*
> + * 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.