Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3571185pxk; Mon, 28 Sep 2020 23:50:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7vPyI2tyYqzc5vpGqs/oFR/NRCTtOo3JiqWJt4ZrHwbbo0Z6s+WklNTTD9fZMDYnU1LZl X-Received: by 2002:a17:906:fa8a:: with SMTP id lt10mr2359367ejb.307.1601362208481; Mon, 28 Sep 2020 23:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601362208; cv=none; d=google.com; s=arc-20160816; b=pJl6GhmC4iSr18I9aHZWiyvD/0mEegn05MdJEpGwzj7ESMlvznof8sGINajsMGI4Fd MnF0ZXP3if4331xRp67aspYwaM9XezoliSd3Rqg9Vy1yvdoyJo0EWq8YM8glP4JcqBLn eJdXiqoFX5GEOm7QT+duzJWhr5XdIa11vOb5+JEDta2jDCZMKTj0hRkfnLGK66IEY39P Qum2kH53NlDhU1SHG7dP0GdvY0aXMfDns19NK7vc6q0oOc/fC4BlXzrSbhL3oe9YbOZ+ tOOoKHtd9ko5JO2xsORvN3na3JSAEB5SK+BhkkfeME2/aAyXQLunQ+am1js/0Qxxea1N jFLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:references:in-reply-to :message-id; bh=PVze0qeFgtO77lqlyarAaUy2v0ug9DQr44znHi0FYbQ=; b=iy/lLQUiNydnZYppE/BkqiX2Ys7z1EJeUePIhmCZ+qf56Tgv7ZcsNF5B/rWiBedb3Z TF/ZN66ji3+ZpmIlMNEuWBJnudLFcCJawqK7sarAQ4AUfuCmXDJddQefUnoC3zb03522 Tw9rhufaRQv0aWs85tokXCgJp6VYK2jSd18OOJVugcS673hglMu3XpCTTYa44/LpB2vj VkVw4GvtDtSBq3IlA1V41DSXWbvkjL2FUgn0XF0wjpqTbgOf/UOXJRCTFPCiuTW9zQ2l S+Y1jUqiapj7d5i1h5u0Puo1pOd5modaKHOCNfkOcpelPhldvizQP+e0dIuBnLTd+Z+H Q8qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si2298769edj.132.2020.09.28.23.49.45; Mon, 28 Sep 2020 23:50:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727529AbgI2Gsj (ORCPT + 99 others); Tue, 29 Sep 2020 02:48:39 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:27616 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727422AbgI2Gsi (ORCPT ); Tue, 29 Sep 2020 02:48:38 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4C0qjG31zHz9v2cF; Tue, 29 Sep 2020 08:48:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id wa93USPS0kyK; Tue, 29 Sep 2020 08:48:34 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4C0qjG2K2sz9v2c7; Tue, 29 Sep 2020 08:48:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6C4838B79F; Tue, 29 Sep 2020 08:48:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id LYutn_jeYkEZ; Tue, 29 Sep 2020 08:48:35 +0200 (CEST) Received: from po17688vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 35FDF8B76C; Tue, 29 Sep 2020 08:48:35 +0200 (CEST) Received: by po17688vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 16C0165E8A; Tue, 29 Sep 2020 06:48:35 +0000 (UTC) Message-Id: <00a6948d659e017f8ca63437d1384222c3aede57.1601362098.git.christophe.leroy@csgroup.eu> In-Reply-To: <27951fa6c9a8f80724d1bc81a6117ac32343a55d.1601362098.git.christophe.leroy@csgroup.eu> References: <27951fa6c9a8f80724d1bc81a6117ac32343a55d.1601362098.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH v3 4/8] powerpc: Remove PowerPC 601 To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Tue, 29 Sep 2020 06:48:35 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/powerpc/kernel/cputable.c | 15 --------------- arch/powerpc/platforms/Kconfig.cputype | 11 ++--------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 2aa89c6b2896..1f7c3492f2ec 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -608,21 +608,6 @@ static struct cpu_spec __initdata cpu_specs[] = { #endif /* CONFIG_PPC_BOOK3S_64 */ #ifdef CONFIG_PPC32 -#ifdef CONFIG_PPC_BOOK3S_601 - { /* 601 */ - .pvr_mask = 0xffff0000, - .pvr_value = 0x00010000, - .cpu_name = "601", - .cpu_features = CPU_FTRS_PPC601, - .cpu_user_features = COMMON_USER | PPC_FEATURE_601_INSTR | - PPC_FEATURE_UNIFIED_CACHE | PPC_FEATURE_NO_TB, - .mmu_features = MMU_FTR_HPTE_TABLE, - .icache_bsize = 32, - .dcache_bsize = 32, - .machine_check = machine_check_generic, - .platform = "ppc601", - }, -#endif /* CONFIG_PPC_BOOK3S_601 */ #ifdef CONFIG_PPC_BOOK3S_6xx { /* 603 */ .pvr_mask = 0xffff0000, diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index e74ec220b5d6..c194c4ae8bc7 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -20,7 +20,7 @@ choice depends on PPC32 help There are five families of 32 bit PowerPC chips supported. - The most common ones are the desktop and server CPUs (601, 603, + The most common ones are the desktop and server CPUs (603, 604, 740, 750, 74xx) CPUs from Freescale and IBM, with their embedded 512x/52xx/82xx/83xx/86xx counterparts. The other embedded parts, namely 4xx, 8xx, e200 (55xx) and e500 @@ -30,7 +30,7 @@ choice If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx. config PPC_BOOK3S_6xx - bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx except 601" + bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" select PPC_BOOK3S_32 select PPC_FPU select PPC_HAVE_PMU_SUPPORT @@ -38,13 +38,6 @@ config PPC_BOOK3S_6xx select PPC_HAVE_KUAP select HAVE_ARCH_VMAP_STACK if !ADB_PMU -config PPC_BOOK3S_601 - bool "PowerPC 601" - select PPC_BOOK3S_32 - select PPC_FPU - select PPC_HAVE_KUAP - select HAVE_ARCH_VMAP_STACK - config PPC_85xx bool "Freescale 85xx" select E500 -- 2.25.0