[v2] powerpc/mm: Check for _PAGE_PTE in *_devmap()

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jul 28 20:15:55 AEST 2017


On Thu, 2017-07-27 at 15:35:53 UTC, Oliver O'Halloran wrote:
> The ISA radix translation tree contains two different types of entry,
> directories and leaves. The formats of the two entries are different
> with the directory entries containing no spare bits for use by software.
> As a result we need to ensure that the *_devmap() family of functions
> check fail for everything except leaf (PTE) entries.
> 
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> Tested-by: Laurent Vivier <lvivier at redhat.com>
> Tested-by: Jose Ricardo Ziviani <joserz at linux.vnet.ibm.com>
> Reviewed-by: Suraj Jitindar Singh <sjitindarsingh at gmail.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/c9c98bc5cc2ab4e0d5c9ad58286fa7

cheers


More information about the Linuxppc-dev mailing list