From patchwork Sat Feb 27 23:02:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jason A. Donenfeld" X-Patchwork-Id: 12107943 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07F51C433DB for ; Sat, 27 Feb 2021 23:03:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B979A64E0F for ; Sat, 27 Feb 2021 23:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbhB0XD3 (ORCPT ); Sat, 27 Feb 2021 18:03:29 -0500 Received: from mail.zx2c4.com ([104.131.123.232]:38756 "EHLO mail.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbhB0XD2 (ORCPT ); Sat, 27 Feb 2021 18:03:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1614466964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q+dYPdLA1nRflfyP+m0tpTzYzbtgeZrAnmID+z1FW1Q=; b=SQtyQRvK5JbbollqfgMLNhh31oZuOErwWUi2zdyuGzqRL5oyURR7Qo85m8QTIdiQT+M9qJ Pa3fovc4Cge5PQ52kbLl5Tje6cJf/7yaQ2qNH8qI/MVS5MrbUes7fRlRR2GZKp0U2Xs/DS CzKkR7D3VMfOy1vGU+y2Ej/LOut08Vs= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ffe02072 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 27 Feb 2021 23:02:44 +0000 (UTC) From: "Jason A. Donenfeld" To: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Jason A. Donenfeld" , "Maciej W . Rozycki" , Thomas Bogendoerfer , Ralf Baechle , George Cherian , Huacai Chen , Jiaxun Yang Subject: [PATCH v2] MIPS: select CPU_MIPS64 for remaining MIPS64 CPUs Date: Sun, 28 Feb 2021 00:02:36 +0100 Message-Id: <20210227230236.3234498-1-Jason@zx2c4.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org CPU_MIPS64 is supposed to be selected for CPUs that implement a revision of the MIPS64 ISA. While it contains the generic ones, it forgot about Octeon and Loongson in its list, which are indeed MIPS64 processors. This commit adds these missing CPUs to the auto-selection list. Cc: Maciej W. Rozycki Cc: Thomas Bogendoerfer Cc: Ralf Baechle Cc: George Cherian Cc: Huacai Chen Cc: Jiaxun Yang Signed-off-by: Jason A. Donenfeld --- arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d89efba3d8a4..3e0e8f1d2e82 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2118,7 +2118,7 @@ config CPU_MIPS32 config CPU_MIPS64 bool default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ - CPU_MIPS64_R6 + CPU_MIPS64_R6 || CPU_LOONGSON64 || CPU_CAVIUM_OCTEON # # These indicate the revision of the architecture