Vasant Hegde e256caa7d0 powerpc/mm: Allow user space to map rtas_rmo_buf
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@linux.vnet.ibm.com>
CC: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-01-25 16:31:13 +11:00
..
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2015-11-26 22:25:58 +08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-18 16:44:24 -08:00
2016-01-15 17:56:32 -08:00
2016-01-19 17:54:15 -08:00
2016-01-18 16:44:24 -08:00