All of lore.kernel.org
 help / color / mirror / Atom feed
From: vladimir.murzin@arm.com (Vladimir Murzin)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC v2 PATCH 13/23] ARM: kexec: disallow kexec for NOMMU builds
Date: Tue, 29 Nov 2016 12:39:55 +0000	[thread overview]
Message-ID: <1480423205-48436-14-git-send-email-vladimir.murzin@arm.com> (raw)
In-Reply-To: <1480423205-48436-1-git-send-email-vladimir.murzin@arm.com>

While building for NOMMU the following error shows up:

kernel/built-in.o: In function `kimage_free_entry':
memremap.c:(.text+0x4dafc): undefined reference to `arch_phys_to_idmap_offset'
memremap.c:(.text+0x4db04): undefined reference to `arch_phys_to_idmap_offset'
kernel/built-in.o: In function `kimage_alloc_page':
memremap.c:(.text+0x4dbc0): undefined reference to `arch_phys_to_idmap_offset'
memremap.c:(.text+0x4dbc8): undefined reference to `arch_phys_to_idmap_offset'
memremap.c:(.text+0x4dc1c): undefined reference to `arch_phys_to_idmap_offset'

That comes from Kexec, add dependency on MMU there.

Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
 arch/arm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c462d9e..306a412 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2019,7 +2019,7 @@ config XIP_PHYS_ADDR
 config KEXEC
 	bool "Kexec system call (EXPERIMENTAL)"
 	depends on (!SMP || PM_SLEEP_SMP)
-	depends on !CPU_V7M
+	depends on MMU
 	select KEXEC_CORE
 	help
 	  kexec is a system call that implements the ability to shutdown your
-- 
1.7.9.5

  parent reply	other threads:[~2016-11-29 12:39 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 12:39 [RFC v2 PATCH 00/23] Allow NOMMU for MULTIPLATFORM Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 01/23] ARM: NOMMU: define stubs for fixup Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 02/23] ARM: NOMMU: define debug_ll_io_ini Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 03/23] ARM: NOMMU: define SECTION_xxx macros Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 04/23] ARM: NOMMU: define dummy user structure for feroceon Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 05/23] ARM: NOMMU: define __arm_ioremap_exec and pci_ioremap functions Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 06/23] ARM: NOMMU: relax restriction on MPU existence Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 07/23] ARM: NOMMU: fix head-nommu build for pre-ARMv7 CPUs Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 08/23] ARM: NOMMU: implement secondary_startup_arm Vladimir Murzin
2016-11-29 17:14   ` Russell King - ARM Linux
2016-11-30  9:57     ` Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 09/23] ARM: move arm_heavy_mb to MMU/noMMU neutral place Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 10/23] ARM: tlbflush: drop dependency on CONFIG_SMP Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 11/23] ARM: sleep: allow it to be build for R-class Vladimir Murzin
2016-11-29 17:11   ` Russell King - ARM Linux
2016-11-30  9:54     ` Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 12/23] ARM: setup: move call to erratum_a15_798181_init under CONFIG_MMU Vladimir Murzin
2016-11-29 12:39 ` Vladimir Murzin [this message]
2016-11-29 12:39 ` [RFC v2 PATCH 14/23] ARM: ep93xx: select ARM_PATCH_PHYS_VIRT for MMU builds only Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 15/23] ARM: omap: do not select HIGHMEM explicitly Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 16/23] ARM: sa1100: move CPU specific copy code under its own config Vladimir Murzin
2016-11-29 12:39 ` [RFC v2 PATCH 17/23] ARM: sa11x0: assabet: add dependency on MMU Vladimir Murzin
2016-11-29 12:40 ` [RFC v2 PATCH 18/23] ARM: i.MX: remove map_io callback Vladimir Murzin
2016-11-29 12:40 ` [RFC v2 PATCH 19/23] PCI: tegra: limit to MMU build only Vladimir Murzin
2016-11-29 12:40 ` [RFC v2 PATCH 20/23] IB: add dependency on MMU Vladimir Murzin
2016-11-29 12:40 ` [RFC v2 PATCH 21/23] cnic: " Vladimir Murzin
2016-11-29 12:40 ` [RFC v2 PATCH 22/23] scsi: bnx2i: bnx2fc: " Vladimir Murzin
2016-11-29 12:40 ` [RFC v2 PATCH 23/23] ARM: Allow ARCH_MULTIPLATFORM to be selected for NOMMU Vladimir Murzin
2016-11-29 17:22   ` Russell King - ARM Linux
2016-11-30 10:01     ` Vladimir Murzin
2016-12-01 20:11       ` Chris Brandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480423205-48436-14-git-send-email-vladimir.murzin@arm.com \
    --to=vladimir.murzin@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.