Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Remove PowerPC 601

Powerpc 601 is 25 years old.

It is not selected by any defconfig.

It requires a lot of special handling as it deviates from the
standard 6xx.

Retire it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/00a6948d659e017f8ca63437d1384222c3aede57.1601362098.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
f0ed73f3 d2a5cd83

+2 -24
-15
arch/powerpc/kernel/cputable.c
··· 609 609 #endif /* CONFIG_PPC_BOOK3S_64 */ 610 610 611 611 #ifdef CONFIG_PPC32 612 - #ifdef CONFIG_PPC_BOOK3S_601 613 - { /* 601 */ 614 - .pvr_mask = 0xffff0000, 615 - .pvr_value = 0x00010000, 616 - .cpu_name = "601", 617 - .cpu_features = CPU_FTRS_PPC601, 618 - .cpu_user_features = COMMON_USER | PPC_FEATURE_601_INSTR | 619 - PPC_FEATURE_UNIFIED_CACHE | PPC_FEATURE_NO_TB, 620 - .mmu_features = MMU_FTR_HPTE_TABLE, 621 - .icache_bsize = 32, 622 - .dcache_bsize = 32, 623 - .machine_check = machine_check_generic, 624 - .platform = "ppc601", 625 - }, 626 - #endif /* CONFIG_PPC_BOOK3S_601 */ 627 612 #ifdef CONFIG_PPC_BOOK3S_6xx 628 613 { /* 603 */ 629 614 .pvr_mask = 0xffff0000,
+2 -9
arch/powerpc/platforms/Kconfig.cputype
··· 20 20 depends on PPC32 21 21 help 22 22 There are five families of 32 bit PowerPC chips supported. 23 - The most common ones are the desktop and server CPUs (601, 603, 23 + The most common ones are the desktop and server CPUs (603, 24 24 604, 740, 750, 74xx) CPUs from Freescale and IBM, with their 25 25 embedded 512x/52xx/82xx/83xx/86xx counterparts. 26 26 The other embedded parts, namely 4xx, 8xx, e200 (55xx) and e500 ··· 30 30 If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx. 31 31 32 32 config PPC_BOOK3S_6xx 33 - bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx except 601" 33 + bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" 34 34 select PPC_BOOK3S_32 35 35 select PPC_FPU 36 36 select PPC_HAVE_PMU_SUPPORT 37 37 select PPC_HAVE_KUEP 38 38 select PPC_HAVE_KUAP 39 39 select HAVE_ARCH_VMAP_STACK if !ADB_PMU 40 - 41 - config PPC_BOOK3S_601 42 - bool "PowerPC 601" 43 - select PPC_BOOK3S_32 44 - select PPC_FPU 45 - select PPC_HAVE_KUAP 46 - select HAVE_ARCH_VMAP_STACK 47 40 48 41 config PPC_85xx 49 42 bool "Freescale 85xx"