[PATCH] powerpc/mm: Allow user space to map rtas_rmo_buf

Dan Williams dan.j.williams at intel.com
Fri Jan 22 03:32:11 AEDT 2016


On Thu, Jan 21, 2016 at 8:15 AM, Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> 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 <bharata at linux.vnet.ibm.com>
> CC: Dan Williams <dan.j.williams at intel.com>

Acked-by: Dan Williams <dan.j.williams at intel.com>


More information about the Linuxppc-dev mailing list