ARM: 8732/1: NOMMU: Allow userspace to access background MPU region
authorVladimir Murzin <vladimir.murzin@arm.com>
Fri, 1 Dec 2017 09:19:11 +0000 (10:19 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sun, 17 Dec 2017 22:16:19 +0000 (22:16 +0000)
commit7710cc691cfc5ad457173944d989875a6e79d238
treeb68740ba838b4d70eae8c09581f966eeb5017434
parent7e19092f60038c60fcc72c86edf5399f708b1084
ARM: 8732/1: NOMMU: Allow userspace to access background MPU region

Currently, with MPU enabled, we prohibit userspace access to anything
except RAM. Benjamin, reported that because of that his userspace
application cannot access framebuffer's memory he reserved in device
tree. It turns out we have no option other than to allow userspace
access memory covered by background region.

Reported-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/pmsa-v7.c