Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: mpu: Ensure that MPU depends on CPU_V7

The support for the MPU is currently implemented only for R-class
(PMSAv7/R). Since the merge of V7M support in to the kernel it is possible
to select MPU support on V7M.

This patch ensures that until MPU support for M-class processors is
implemented, the MPU can only be selected with R-class CPUs

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

+1
+1
arch/arm/Kconfig-nommu
··· 53 53 54 54 config ARM_MPU 55 55 bool 'Use the ARM v7 PMSA Compliant MPU' 56 + depends on CPU_V7 56 57 default y 57 58 help 58 59 Some ARM systems without an MMU have instead a Memory Protection