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 <[email protected]> > Reported-by: Sombat Tragolgosol <[email protected]> > CC: Aneesh Kumar K.V <[email protected]> > Reviewed-by: Aneesh Kumar K.V <[email protected]>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/d75e4919cc0b6fbcbc8d6654ef66d8 cheers
