aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2016-01-21 21:45:31 +0530
committerMichael Ellerman <[email protected]>2016-01-25 16:31:13 +1100
commite256caa7d0515e301f8c8c6e7d1204a2b67b1381 (patch)
treedf649e11ac264790fb1cecaf96cb13d58fd22150 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent0e2bce7411542fa336ef49041471ea3e7dc911f8 (diff)
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 <[email protected]> CC: Nathan Fontenot <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Acked-by: Dan Williams <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions