Thread (9 messages) 9 messages, 5 authors, 2016-01-29

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

From: Dan Williams <hidden>
Date: 2016-01-21 16:32:16

On Thu, Jan 21, 2016 at 8:15 AM, Vasant Hegde
[off-list ref] 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 <redacted>
CC: Dan Williams <redacted>
Acked-by: Dan Williams <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help