Skip to contentSkip to conversation

m68k: allow kexec on M68KCLASSIC with MMU enabled only

PATCH In review Greg Ungerer 2 participants 3 messages Aug 31, 2022 – Sep 1, 2022 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH v2 3/3 m68k: allow kexec on M68KCLASSIC with MMU enabled only

None of the no-MMU CPU types (classic or ColdFire) or ColdFire with MMU enabled have support for kexec yet, so the configuration as it stands is not quite right, and it will fail to compile on them.

Make CONFIG_KEXEC depend on both CONFIG_M68KCLASSIC and CONFIG_MMU.

---

v2: disable kexec for ColdFire MMU as well

 arch/m68k/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/Kconfig +1 -1
index b06faf6c0b27..7bff88118507 100644
@@ -87,7 +87,7 @@ config MMU_SUN3
 
 config KEXEC
 	bool "kexec system call"
-	depends on M68KCLASSIC
+	depends on M68KCLASSIC && MMU
 	select KEXEC_CORE
 	help
 	  kexec is a system call that implements the ability to shutdown your
Signature · 1 line
2.25.1
maintainer Reviewed-by on v2 3/3
#1 lore raw
Quoted 7 lines · Greg Ungerer

None of the no-MMU CPU types (classic or ColdFire) or ColdFire with MMU enabled have support for kexec yet, so the configuration as it stands is not quite right, and it will fail to compile on them.

Make CONFIG_KEXEC depend on both CONFIG_M68KCLASSIC and CONFIG_MMU.

i.e. will queue in the m68k for-v6.1 branch.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw
Quoted 11 lines · Geert Uytterhoeven
Quoted 7 lines · Greg Ungerer

None of the no-MMU CPU types (classic or ColdFire) or ColdFire with MMU enabled have support for kexec yet, so the configuration as it stands is not quite right, and it will fail to compile on them.

Make CONFIG_KEXEC depend on both CONFIG_M68KCLASSIC and CONFIG_MMU.

i.e. will queue in the m68k for-v6.1 branch.

Thanks Geert!

Regards
Greg

Quoted 10 lines

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds