Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1778085rwd; Fri, 9 Jun 2023 01:53:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6PhHrJSZebIKZQs7G7RaCaBpODaMToVGaqXO82aBfkBDqpLW7u0tVpjKurBYOtVEWyh7aK X-Received: by 2002:a05:6808:18a7:b0:394:24a6:baab with SMTP id bi39-20020a05680818a700b0039424a6baabmr1367722oib.8.1686300822038; Fri, 09 Jun 2023 01:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686300822; cv=none; d=google.com; s=arc-20160816; b=tt/ydlhxRkGcPOzbqcg6IOmSZ3MB91hX2/Fd8HoUVAnvCDypLMyOrDAJqv8yLxWKtr 0FSZayTUNdtEFNaH4uaPY8OYhUSQfmxnKQAoU3GLaiwYo64rqIzX8yHQKhwU6SQnnI1n uAGIZXmZxIPrV677gH9eAMZfKD9s5ruv23m00C+2sgsv7e0y7DgEO0Blvz/MYQy+Nux4 AXzuvpOm5KNFqccA8GMs4wmm5BdRTYUnuqltNDRduUtGyjdl9AyuTXTTpdnd6qMPols2 xKndw4EsE0ad6tQGeFaHycWSf40zPfvUBUUuA6vTKJk8txslNZgrT6bsE7A+04Wzp2jX St+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=0oVdXTLh91eNCSU2LHqmaQcrSBwE1HXh+88heOGhAmk=; b=w+4NJ7ITaWSr1MYRsPlYti0kDfUjcJuNSM0JiIU34pfaLcHDanIeXsdNRmBM0+NMMt +Tt1oJgicybtpNqNTO7xk2p4Y4SIhlqHlV1Jz9VBtOdxavqWezKf0LzELfYYZrGfLfI2 5Lif1MPBkrSTpa31tE6bpnDcs90KFH7ZeocK24v/K+aO1wYVposbyyuNqEcYDOF7JZMo 0Lr5UW2g8vPHB43NDQiCbBQAXOKjSifip+duCJRRP6sQnBLEFEiosAmMRWklupMov016 VCpOaVmGfUHJWEPOKfAh9L8km4U6aHWY8CEZOWCB6OXECt1CVsT5MFAZ8W08Za7Nb6vi vyVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 194-20020a6218cb000000b00660059ccf19si2191299pfy.225.2023.06.09.01.53.28; Fri, 09 Jun 2023 01:53:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240617AbjFII0w (ORCPT + 99 others); Fri, 9 Jun 2023 04:26:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241409AbjFIIZv (ORCPT ); Fri, 9 Jun 2023 04:25:51 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 44D4A4C15; Fri, 9 Jun 2023 01:24:48 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1q7XQE-0004Jv-02; Fri, 09 Jun 2023 10:24:38 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 28227C02EE; Fri, 9 Jun 2023 10:21:02 +0200 (CEST) Date: Fri, 9 Jun 2023 10:21:02 +0200 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] MIPS: generic: Allow R5 CPUs to be selected Message-ID: <20230609082102.GC8160@alpha.franken.de> References: <20230529135245.4085-1-jiaxun.yang@flygoat.com> <20230529135245.4085-2-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230529135245.4085-2-jiaxun.yang@flygoat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 29, 2023 at 02:52:45PM +0100, Jiaxun Yang wrote: > Since we do have P5600 bitfile for boston board, we should > allow generic kernel to be compiled for R5 CPUs. > > Signed-off-by: Jiaxun Yang > --- > arch/mips/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index e437bf43ecfc..215fcdc059d2 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -154,9 +154,11 @@ config MIPS_GENERIC_KERNEL > select SWAP_IO_SPACE > select SYS_HAS_CPU_MIPS32_R1 > select SYS_HAS_CPU_MIPS32_R2 > + select SYS_HAS_CPU_MIPS32_R5 > select SYS_HAS_CPU_MIPS32_R6 > select SYS_HAS_CPU_MIPS64_R1 > select SYS_HAS_CPU_MIPS64_R2 > + select SYS_HAS_CPU_MIPS64_R5 > select SYS_HAS_CPU_MIPS64_R6 > select SYS_SUPPORTS_32BIT_KERNEL > select SYS_SUPPORTS_64BIT_KERNEL > -- > 2.39.2 (Apple Git-143) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]