On Wed, 2017-05-24 at 06:49:59 UTC, Jeremy Kerr wrote: > Change ac29c64089b7 swapped _PAGE_USER for _PAGE_PRIVILEGED, and > introduced check_pte_access() which denied kernel access to > non-_PAGE_PRIVILEGED pages. > > However, it didn't add _PAGE_PRIVILEGED to the hash fault handler for > spufs' kernel accesses, so the DMAs required to establish SPE memory > no longer work. > > This change adds _PAGE_PRIVILEGED to the hash fault handler for > kernel accesses. > > Signed-off-by: Jeremy Kerr <j...@ozlabs.org> > Reported-by: Sombat Tragolgosol <sombat3...@gmail.com> > CC: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> > Reviewed-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/d75e4919cc0b6fbcbc8d6654ef66d8 cheers