Re: [PATCH v3.1 4/4] arm64: mm: Implement pte_devmap support

2019-05-29 Thread Will Deacon
On Tue, May 28, 2019 at 02:46:59PM +0100, Robin Murphy wrote: > In order for things like get_user_pages() to work on ZONE_DEVICE memory, > we need a software PTE bit to identify device-backed PFNs. Hook this up > along with the relevant helpers to join in with ARCH_HAS_PTE_DEVMAP. > >

[PATCH v3.1 4/4] arm64: mm: Implement pte_devmap support

2019-05-28 Thread Robin Murphy
In order for things like get_user_pages() to work on ZONE_DEVICE memory, we need a software PTE bit to identify device-backed PFNs. Hook this up along with the relevant helpers to join in with ARCH_HAS_PTE_DEVMAP. Signed-off-by: Robin Murphy --- Fix to build correctly under all combinations of