Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5601799rwb; Tue, 22 Nov 2022 02:14:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf74KxHM5S002UdzS5CWcsH/LjAk4EH/1nOamqvFNKxiYsNwBbNdv3CtVL9oyPY2OUGF5YbZ X-Received: by 2002:a17:906:90cd:b0:7b8:d22f:dc0f with SMTP id v13-20020a17090690cd00b007b8d22fdc0fmr1057259ejw.289.1669112060307; Tue, 22 Nov 2022 02:14:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669112060; cv=none; d=google.com; s=arc-20160816; b=VVApVlB3Cq/IX04sAvGXqFsG3ARsqDalVlhC7I3EtnThQMZ1XB+qunekxRxjyKrsoU e5lP+5fMIicQyuTUkQ8FhaRz3aOAMFENOpzAQKUT320amMtwpxfRX4YEzcMoAErVfqdD +ek+dZ3nDJaMOWEsFx9i+dey9/rWxnRJBciMEWcEJCT/d3BVj4nk8ObaofRCWwBaWYY8 yA038RW6mpm2DnaexRx3tewcs5iomP02a8HhBy+vPVZgXy7ozbrKESumRXr19PnP6Bub av4wXhI5Sw2tGfAV/Ho2IxKo/JBWJxjuWbzMcPwdI5jxN8hNdOfD3luJaMMgt1lPln54 xMYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4RnfwOAWPjBxjqiHx6iXnV9MgaYLSsTXCKVtK9i7f6U=; b=ZPfJpq71XUZnp0BZovfV90JCwfFQ/KYxYHJG4JmP9AL7o7z53LJ1/xtdFl0/sfj2Ib ugz40bn3xx+crxa1vmtVG44E6eQ0cYjud723eykZ3H3q06I7bMj2PlTzrPosCe1P9oMu GJ8CD5vXpX7reasjIqp8G39ABQbm+4qUM+QG9uv4s4PMibmoVnaAazVxoa7aaff/pLDJ lKwUt2UYJeXXjorALDrMcROz11Hh3qCaio15liTGft5yhr+jEYITCv0YKhKKMOfajevC yw6E35dS2BJAnomZdpFBf0NFAsNpqZmV3k9jEfpjmysY8wb5Td/WfH0r50fa3QtxR9gc ow4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=dZQEWPxR; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js16-20020a17090797d000b0078e1d1d6005si13839866ejc.23.2022.11.22.02.13.53; Tue, 22 Nov 2022 02:14:20 -0800 (PST) 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; dkim=pass header.i=@microchip.com header.s=mchp header.b=dZQEWPxR; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233100AbiKVJIN (ORCPT + 91 others); Tue, 22 Nov 2022 04:08:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233158AbiKVJID (ORCPT ); Tue, 22 Nov 2022 04:08:03 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56F5C20995; Tue, 22 Nov 2022 01:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1669108080; x=1700644080; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EE5pcTfSPr5DaXNcKToRfW2ELh+2i5w5CLa+8PM/AcM=; b=dZQEWPxRcpRsz1CE7g/vow61goWKQ7Hg7tX2vOd3CmViXFzXg5EN9Rta ApzxhozudYhSupDNYmZdiPv1QGf19JwkTLHQmSZkZ+69rNwQD0KlZkHnM PHzWtoz9a23pvwPfZKDmCI4JDo/UuT67ojib5vWoon9i+pI2/JcYTMMyh ENuOW/IBSOWrE33LzK+N38pi9K0uYdPjqJcZo4J96METI0uhNs5lsrPSh J+in3FUsbpacrimIyyVlrSkRVzyeBvGQiIjcE1/zAiY3kP0TB44ssvyVU cyvdkZBZC3ZKSSfy1BfaSKXalZdX7uSlCgTjobpE+qa2hY1Bz3JnP4ziX w==; X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="190021134" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Nov 2022 02:07:59 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 22 Nov 2022 02:07:47 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Tue, 22 Nov 2022 02:07:44 -0700 Date: Tue, 22 Nov 2022 09:07:26 +0000 From: Conor Dooley To: Hal Feng CC: Conor Dooley , "linux-riscv@lists.infradead.org" , "devicetree@vger.kernel.org" , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , Linus Walleij , Emil Renner Berthing , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 4/8] dt-bindings: sifive,ccache0: Support StarFive JH7110 SoC Message-ID: References: <20221118011714.70877-1-hal.feng@starfivetech.com> <20221118011714.70877-5-hal.feng@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_SPF_TEMPERROR 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 Tue, Nov 22, 2022 at 04:40:23PM +0800, Hal Feng wrote: > On Fri, 18 Nov 2022 19:39:52 +0800, Conor Dooley wrote: > > On Fri, Nov 18, 2022 at 11:37:50AM +0000, Conor Dooley wrote: > > > On Fri, Nov 18, 2022 at 09:17:10AM +0800, Hal Feng wrote: > > > > From: Emil Renner Berthing > > > > > > > > This cache controller is also used on the StarFive JH7110 SoC. > > > > > > "... and configured identically to that of the FU740"? > > > Anyways, > > > Reviewed-by: Conor Dooley > > > > Actually, after looking at the next patch - why can you not fall back to > > the fu740 one since you appear to have the same configuration as it? > > Right, I will drop this patch and use "sifive,fu740-c000-ccache" as > compatible in dts. Uh, that's not quite what I was suggesting. Rather than using that one in isolation, you can do the following in your dt: "starfive,jh7110-ccache", "sifive,fu740-c000-ccache" And then in the driver we need to make no changes - unless down the line we find some sort of issue that requires special handling etc. There's no harm in having a "starfive,jh7110-ccache" IMO. Thanks, Conor.