linux-stable/arch/powerpc
Christophe Leroy 0069f3d14e powerpc/64e: Tie PPC_BOOK3E_64 to PPC_E500MC
The only 64-bit Book3E CPUs we support require the selection
of CONFIG_PPC_E500MC.

However our Kconfig allows configurating a kernel that has 64-bit
Book3E support, but without CONFIG_PPC_E500MC enabled. Such a kernel
would never boot, it doesn't know about any CPUs.

To fix this, force CONFIG_PPC_E500MC to be selected whenever we are
building a 64-bit Book3E kernel.

And add a test to detect future situations where cpu_specs is empty.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae5d8b8b3ccc346e61d2ec729767f92766273f0b.1663606875.git.christophe.leroy@csgroup.eu
2022-09-26 21:00:41 +10:00
..
boot powerpc: dts: turris1x.dts: Fix labels in DSA cpu port nodes 2022-09-26 20:58:19 +10:00
configs powerpc/64: Remove PPC64 special case for cputime accounting default 2022-09-05 14:14:27 +10:00
crypto powerpc: Fix all occurences of duplicate words 2022-07-25 12:05:15 +10:00
include powerpc/mm: Make PAGE_KERNEL_xxx macros grep-friendly 2022-09-26 20:58:18 +10:00
kernel powerpc/64e: Tie PPC_BOOK3E_64 to PPC_E500MC 2022-09-26 21:00:41 +10:00
kexec powerpc/kexec: Fix build failure from uninitialised variable 2022-08-10 15:55:20 +10:00
kvm KVM: Rename mmu_notifier_* to mmu_invalidate_* 2022-08-19 04:05:41 -04:00
lib powerpc/code-patching: Speed up page mapping/unmapping 2022-09-01 13:56:01 +10:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm powerpc/highmem: Properly handle fragmented memory 2022-09-26 20:58:19 +10:00
net powerpc/bpf/32: Add instructions for atomic_[cmp]xchg 2022-06-29 19:37:08 +10:00
perf powerpc/perf: Add missing of_node_put()s in imc-pmu.c 2022-09-05 17:28:26 +10:00
platforms powerpc/64e: Tie PPC_BOOK3E_64 to PPC_E500MC 2022-09-26 21:00:41 +10:00
purgatory powerpc/purgatory: Omit use of bin2c 2022-07-27 21:36:03 +10:00
sysdev Revert "powerpc/rtas: Implement reentrant rtas call" 2022-09-14 22:43:13 +10:00
tools
xmon powerpc/xmon: remove unused ppc_parse_cpu() declaration 2022-09-15 22:55:45 +10:00
Kbuild
Kconfig powerpc/Kconfig: Fix non existing CONFIG_PPC_FSL_BOOKE 2022-09-26 21:00:41 +10:00
Kconfig.debug powerpc: Kconfig.debug: Remove extra empty line 2022-06-29 19:43:16 +10:00
Makefile powerpc/64e: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') 2022-07-27 21:36:06 +10:00
Makefile.postlink