]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
xtensa: disable MMU initialization option on MMUv2 cores
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 29 Sep 2016 17:51:05 +0000 (10:51 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 29 Sep 2016 19:55:00 +0000 (12:55 -0700)
MMU initialization option is currently ignored on MMUv2 cores, but it is
used in Kconfig to select kernel load and start addresses. This choice
is not available for MMUv2 cores as they have hardwired TLB entries.
Disable MMU initialization option for known MMUv2 cores so that they get
correct kernel load/start address by default.
This fixes the default allmodconfig build.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig

index 4a866aaed67ae1ea31e84b761364c429f675dd8a..f61058617ada462c6e571c7936c3ebf92621aa26 100644 (file)
@@ -212,6 +212,7 @@ config HOTPLUG_CPU
 
 config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
        bool "Initialize Xtensa MMU inside the Linux kernel code"
+       depends on !XTENSA_VARIANT_FSF && !XTENSA_VARIANT_DC232B
        default y if XTENSA_VARIANT_DC233C || XTENSA_VARIANT_CUSTOM
        help
          Earlier version initialized the MMU in the exception vector