Catalin Marinas
3676f9ef54
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
59911ca432 (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+
2013-11-29 15:22:59 +00:00
..
2013-10-25 10:39:49 +00:00
2013-09-26 09:47:43 +01:00
2013-10-25 15:59:38 +01:00
2013-11-09 00:00:13 +00:00
2012-09-17 13:42:21 +01:00
2013-03-21 17:39:31 +00:00
2012-09-17 13:42:00 +01:00
2013-06-07 17:58:30 +01:00
2012-09-17 13:42:00 +01:00
2013-10-24 15:46:35 +01:00
2013-10-25 15:59:35 +01:00
2012-09-17 13:42:21 +01:00
2013-10-25 11:33:21 +01:00
2012-09-17 13:41:59 +01:00
2013-06-20 17:03:59 +01:00
2013-07-19 15:49:43 +01:00
2013-06-11 18:15:55 +01:00
2013-10-18 16:01:32 +00:00
2013-10-25 15:59:35 +01:00
2013-04-17 15:58:25 +01:00
2013-03-26 16:02:23 +00:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2012-11-08 16:06:20 +00:00
2012-12-05 11:26:50 +00:00
2013-02-11 18:16:41 +00:00
2013-03-26 16:02:23 +00:00
2013-06-14 09:52:40 +01:00
2012-09-17 13:42:14 +01:00
2013-09-26 09:47:43 +01:00
2013-06-07 10:39:45 +00:00
2013-11-15 13:34:37 +09:00
2013-10-25 11:33:21 +01:00
2013-11-25 16:44:05 +00:00
2013-09-25 14:07:50 +02:00
2013-10-29 18:25:25 +00:00
2013-08-09 13:19:28 +01:00
2013-06-12 16:42:16 +01:00
2013-11-11 12:05:20 +01:00
2013-10-16 15:30:32 +03:00
2013-06-07 14:03:38 +01:00
2013-10-17 17:06:20 -07:00
2013-06-12 16:40:32 +01:00
2012-10-20 11:12:01 +01:00
2012-09-17 13:41:56 +01:00
2013-11-05 17:23:52 +00:00
2013-06-07 18:00:11 +01:00
2013-01-22 17:51:01 +00:00
2012-09-17 13:42:19 +01:00
2013-08-20 12:12:26 +01:00
2012-09-17 13:41:57 +01:00
2013-01-29 16:56:17 +00:00
2013-11-15 09:32:16 +09:00
2013-11-05 17:23:52 +00:00
2013-08-22 11:44:41 +01:00
2012-09-17 13:41:56 +01:00
2013-08-22 11:44:41 +01:00
2013-10-17 17:06:20 -07:00
2013-11-29 15:22:59 +00:00
2012-09-17 13:42:17 +01:00
2012-09-17 13:41:59 +01:00
2013-10-25 15:59:35 +01:00
2013-10-25 11:33:19 +01:00
2013-10-25 15:59:35 +01:00
2012-09-17 13:42:07 +01:00
2012-10-11 11:05:13 +01:00
2012-09-17 13:42:12 +01:00
2013-03-20 17:26:24 +00:00
2013-10-25 11:33:21 +01:00
2012-09-17 13:41:56 +01:00
2013-10-25 16:10:22 +01:00
2013-10-24 15:46:34 +01:00
2012-09-17 10:24:46 +01:00
2012-10-11 11:05:13 +01:00
2013-03-21 17:39:30 +00:00
2013-06-07 10:39:45 +00:00
2013-10-23 15:45:35 +01:00
2013-02-14 09:17:29 -05:00
2013-07-19 15:57:08 +01:00
2013-11-13 20:21:47 +01:00
2013-06-10 17:58:20 +01:00
2013-08-16 08:52:46 -07:00
2013-06-14 09:52:41 +01:00
2012-09-17 10:24:46 +01:00
2013-09-25 16:42:21 +01:00
2013-03-18 10:42:16 +00:00
2013-05-09 13:46:38 -04:00
2013-02-14 09:21:15 -05:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00
2013-10-25 15:59:39 +01:00