summaryrefslogtreecommitdiffstats
path: root/lib/earlycpio.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-11-27 16:59:27 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-11-29 15:22:59 +0000
commit3676f9ef5481d614f8c5c857f5319755be248268 (patch)
treec125b42a392111d30c7c795b055063b23d806663 /lib/earlycpio.c
parent4f00130b70e5eee813cc7bc298e0f3fdf79673cc (diff)
downloadop-kernel-dev-3676f9ef5481d614f8c5c857f5319755be248268.zip
op-kernel-dev-3676f9ef5481d614f8c5c857f5319755be248268.tar.gz
arm64: Move PTE_PROT_NONE higher up
PTE_PROT_NONE means that a pte is present but does not have any read/write attributes. However, setting the memory type like pgprot_writecombine() is allowed and such bits overlap with PTE_PROT_NONE. This causes mmap/munmap issues in drivers that change the vma->vm_pg_prot on PROT_NONE mappings. This patch reverts the PTE_FILE/PTE_PROT_NONE shift in commit 59911ca4325d (ARM64: mm: Move PTE_PROT_NONE bit) and moves PTE_PROT_NONE together with the other software bits. Signed-off-by: Steve Capper <steve.capper@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Steve Capper <steve.capper@linaro.org> Cc: <stable@vger.kernel.org> # 3.11+
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud