On Thu, 2016-21-01 at 16:15:31 UTC, Vasant Hegde wrote: > With commit 90a545e9 (restrict /dev/mem to idle io memory ranges) mapping > rtas_rmo_buf from user space is failing. Hence we are not able to make > RTAS syscall. > > This patch calls page_is_rtas_user_buf before calling iomem_is_exclusive > in devmem_is_allowed(). This will allow user space to map rtas_rmo_buf > and we are able to make RTAS syscall. > > Reported-by: Bharata B Rao <[email protected]> > CC: Dan Williams <[email protected]> > CC: Nathan Fontenot <[email protected]> > CC: Michael Ellerman <[email protected]> > Signed-off-by: Vasant Hegde <[email protected]> > Acked-by: Dan Williams <[email protected]>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/e256caa7d0515e301f8c8c6e7d cheers _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
