Thread (24 messages) flat view 24 messages, 4 authors, 2017-10-17
STALE3256d REVIEWED: 2 (0M)

Revision v3 of 5 in this series; 2 review trailers.

Revisions (5)
  1. rfc [diff vs current]
  2. v2 [diff vs current]
  3. v1 [diff vs current]
  4. v2 [diff vs current]
  5. v3 current

[PATCH v3 4/8] ARM: NOMMU: Disallow MPU for XIP

From: Vladimir Murzin <hidden>
Date: 2017-09-25 09:05:40
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

It seems that MPU never worked with XIP, so we just disallow such
combination.

Tested-by: Szemz? Andr?s <redacted>
Tested-by: Alexandre TORGUE <redacted>
Signed-off-by: Vladimir Murzin <redacted>
---
 arch/arm/Kconfig-nommu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu
index b757634..6d18395 100644
--- a/arch/arm/Kconfig-nommu
+++ b/arch/arm/Kconfig-nommu
@@ -52,7 +52,7 @@ config REMAP_VECTORS_TO_RAM
 
 config ARM_MPU
        bool 'Use the ARM v7 PMSA Compliant MPU'
-       depends on CPU_V7
+       depends on !XIP_KERNEL && CPU_V7
        default y
        help
          Some ARM systems without an MMU have instead a Memory Protection
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help