diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-26 18:03:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-26 18:03:49 -0500 |
commit | bbecb1cfcca55f98cfcb62fa36a32d79975d8816 (patch) | |
tree | ac86a653ea2c9e3c0352b7975026fde14dd3dec1 /arch/arm/mm/dump.c | |
parent | dec0029a59779d8279dde663ef8abe9824ee5773 (diff) | |
parent | 8bafae202c82dc257f649ea3c275a0f35ee15113 (diff) |
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King:
- LPAE fixes for kernel-readonly regions
- Fix for get_user_pages_fast on LPAE systems
- avoid tying decompressor to a particular platform if DEBUG_LL is
enabled
- BUG if we attempt to return to userspace but the to-be-restored PSR
value keeps us in privileged mode (defeating an issue that ftracetest
found)
* 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm:
ARM: BUG if jumping to usermode address in kernel mode
ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
ARM: make decompressor debug output user selectable
ARM: fix get_user_pages_fast
Diffstat (limited to 'arch/arm/mm/dump.c')
-rw-r--r-- | arch/arm/mm/dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/dump.c b/arch/arm/mm/dump.c index 35ff45470dbf..fc3b44028cfb 100644 --- a/arch/arm/mm/dump.c +++ b/arch/arm/mm/dump.c | |||
@@ -129,8 +129,8 @@ static const struct prot_bits section_bits[] = { | |||
129 | .val = PMD_SECT_USER, | 129 | .val = PMD_SECT_USER, |
130 | .set = "USR", | 130 | .set = "USR", |
131 | }, { | 131 | }, { |
132 | .mask = L_PMD_SECT_RDONLY, | 132 | .mask = L_PMD_SECT_RDONLY | PMD_SECT_AP2, |
133 | .val = L_PMD_SECT_RDONLY, | 133 | .val = L_PMD_SECT_RDONLY | PMD_SECT_AP2, |
134 | .set = "ro", | 134 | .set = "ro", |
135 | .clear = "RW", | 135 | .clear = "RW", |
136 | #elif __LINUX_ARM_ARCH__ >= 6 | 136 | #elif __LINUX_ARM_ARCH__ >= 6 |