diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2013-11-27 16:59:27 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 11:05:54 -0800 |
commit | 39cacefa893b2c4362bbb60ac3da4de1a442c007 (patch) | |
tree | 8d9cb39c32a39d0536ebef5eda4eb654604dd04d /arch/s390 | |
parent | fd5cd457f8de18a96a59655a7c432fda96aaea60 (diff) | |
download | linux-rt-39cacefa893b2c4362bbb60ac3da4de1a442c007.tar.gz |
arm64: Move PTE_PROT_NONE higher up
commit 3676f9ef5481d614f8c5c857f5319755be248268 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions