linux-stable/arch/powerpc/platforms
Christophe Leroy 6ec2eb9db3 powerpc: Disable CPU unknown by CLANG when CC_IS_CLANG
commit 4b10306e98 upstream.

CLANG only knows the following CPUs:

generic, 440, 450, 601, 602, 603, 603e, 603ev, 604, 604e, 620, 630,
g3, 7400, g4, 7450, g4+, 750, 8548, 970, g5, a2, e500, e500mc, e5500,
power3, pwr3, power4, pwr4, power5, pwr5, power5x, pwr5x, power6,
pwr6, power6x, pwr6x, power7, pwr7, power8, pwr8, power9, pwr9,
power10, pwr10, powerpc, ppc, ppc32, powerpc64, ppc64, powerpc64le,
ppc64le, futur

Disable other ones when CC_IS_CLANG.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e62892e32c14a7a5738c597e39e0082cb0abf21c.1675335659.git.christophe.leroy@csgroup.eu
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-22 13:34:06 +01:00
..
4xx powerpc: Fix all occurences of duplicate words 2022-07-25 12:05:15 +10:00
8xx powerpc/8xx: Add missing of_node_put() in tqm8xx_setup.c 2022-09-05 17:28:25 +10:00
40x powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
44x powerpc/44x: Add of_node_put() when break out from for_each 2022-09-05 17:30:28 +10:00
52xx powerpc/52xx: Fix a resource leak in an error handling path 2022-12-31 13:32:50 +01:00
82xx powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
83xx powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe() 2022-12-31 13:32:51 +01:00
85xx powerpc: Cleanup idle for e500 2022-09-26 23:00:14 +10:00
86xx powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
512x powerpc/512x: Add missing of_node_put() in clock-commonclk.c 2022-09-05 17:30:24 +10:00
amigaone powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
book3s powerpc/vas: fix repeated words in comments 2022-09-06 11:03:04 +10:00
cell powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
chrp powerpc: remove unused chrp_event_scan() declaration 2022-09-15 22:55:45 +10:00
embedded6xx powerpc/embedded6xx/ls_uart: Add missing of_node_put() 2022-09-05 17:28:26 +10:00
maple powerpc/maple: Add missing of_node_put() in time.c 2022-09-05 17:28:25 +10:00
microwatt random: remove CONFIG_ARCH_RANDOM 2022-07-18 15:03:37 +02:00
pasemi powerpc/pasemi: Use of_root in pas_pci_init() 2022-09-06 11:03:31 +10:00
powermac powerpc/powermac/udbg_scc: Add missing of_node_put()s in udbg_scc_init() 2022-09-05 17:30:30 +10:00
powernv powerpc/powernv: Add opal details to the hardware description 2022-09-30 18:35:53 +10:00
ps3 powerpc: Remove remaining parts of oprofile 2022-07-27 21:36:05 +10:00
pseries powerpc/pseries/eeh: use correct API for error log size 2022-12-31 13:32:52 +01:00
fsl_uli1575.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
Kconfig.cputype powerpc: Disable CPU unknown by CLANG when CC_IS_CLANG 2023-03-22 13:34:06 +01:00
Makefile powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00