Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5627711rwb; Tue, 22 Nov 2022 02:41:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4XKIyvLH8KTlj+bwqk1UPsleR1XFwzFZ0qKwVexiK3cTEsH+FopXZWUSdNE+Gggrks2Id8 X-Received: by 2002:aa7:9546:0:b0:562:5026:b136 with SMTP id w6-20020aa79546000000b005625026b136mr4909433pfq.84.1669113707681; Tue, 22 Nov 2022 02:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669113707; cv=none; d=google.com; s=arc-20160816; b=zfIMuVuj/1JdhKhLIpqMG25HzkrfQU2hYRKR+587sshfBWZGTr7ekTiZRzAkLvLpHQ CW0Lu00kmF8pvvK5zz8nQbKFIHnAxfRlJoWUK1wMAUFmFbo94eDdwNpw50AbHN+amzkV i1kx2z+dpYy+FfLdbPaH0EQQ4CrMNt6Zt5f/w3PWpGycYjnDwWVQ3Xc23wRRB/Qh+lHR EXgyyaK5hsekrWPCpmSzJSLbX/zSN4RVdDw3mjYuExob8q3kV3OZeUET1t4zw1/ylrw1 qH5GNmdkZajexqu3wH8vKGLKQcxzuntPvu4iHGvzF+PQyNLUQSk5HIn/78abnH3+qhsr d/tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qAEf/N2Kcc6QiozdeJRmjduJZZwfTly5ktRq7kriq+k=; b=NMky4lOwySN2KlZzDzSg9q/bMysbtUl3IPcVKsc2/txQTZnlnXpsREu+o5s8ThNg90 LnvCWPa7UxxeF9IggN7P6i42jELMDkXqXSteAo334HNkgJ8nBH1x0pQd9xJVKhDLoE8I tEYZYP2elgKn8BDqN2Krjsj15ZfqNEk9W5TYDOuFmrC4Nrx3I8RBIwp80BQrPOrWlVt2 LalCuGEbTt3YcEw+R47Pigs9wQtmr194QR/bA8im2UGAds2bjRpG0XinRoGkViWMnip3 oPgp4ZTVaOxHGRuDYl0hmWe+SHlDh6odBj/2T01jFLYovevZ1dvjMeqVxc+ceQadPhaz 4Xfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=G9jd4DKc; 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 nn18-20020a17090b38d200b002131bb4043asi19227027pjb.177.2022.11.22.02.41.35; Tue, 22 Nov 2022 02:41:47 -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=@sifive.com header.s=google header.b=G9jd4DKc; 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 S233214AbiKVJKN (ORCPT + 91 others); Tue, 22 Nov 2022 04:10:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233213AbiKVJKC (ORCPT ); Tue, 22 Nov 2022 04:10:02 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36A3945EC7 for ; Tue, 22 Nov 2022 01:09:56 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id e11so10777196wru.8 for ; Tue, 22 Nov 2022 01:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qAEf/N2Kcc6QiozdeJRmjduJZZwfTly5ktRq7kriq+k=; b=G9jd4DKcrO/BCVJQHENt/pXmQaZoQECvuwDwpRj9+/3AW2g1GrafS6R+0+5Gt+CExY tLwrALHr73bzxxlLUcaKt4qbxzGrYMvZt73tDnWF/B0EzANYSV9xgfg48xJWoap8S/Ah BbCuqqy8T9LSfpKytFWleLBmsT6VhwwHCCXEZSevVNWoKBTgoXKqWrYd1SeMJR0D/7Zp 4CIyMl0UOhIJHAvZeCb6MZPMX0bF95TuwJk892T4sM4MC7anWrJwaeV0j7nJ96MFEpOC gUnImyLOJg9ThNdvmlh/yMkga+zt2BxGJD64Wb/LTQafOT/nfspIMQj+YDfJUYdUdz8B BM+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qAEf/N2Kcc6QiozdeJRmjduJZZwfTly5ktRq7kriq+k=; b=IMs+Oe4YfaNudnIB/u8VSNpnwQLs0pN9twtj/7AnQtsJNwzOjyyIeucaei/rFtrWjb HJCJ8KZQQtExw+L85IKsMlyKJ8tqY7j/dVLE56jEIzAsYQ7SJgji86dGq1VAPicd5nCz XVHKVP8oJhuQ5J/V+z+TfoUkqtsvV+5bx266eJQjNN/Ucc/7YtkcEwYIr9+wpbbSCUuI vHsjVDyeM2kMdpXcmQWB/l+w/VuQJTgga/srp4oByPzFxCFPLNch7zO72AQPb0+UfuIG YIh9LgzAAOzJ8XlLr4s25bqtO1M3i1f+/XImU/uxd+SZHayHBC7dv1JmJsv1F8Ti0/rP Xinw== X-Gm-Message-State: ANoB5pnpqEROusqSPRYOQp7u4Irl/EdB6KqYLncW36jFVrNahZZl5bBB 8bD49FDSEOkqOU2RNDjLMyEx2Q== X-Received: by 2002:a5d:460e:0:b0:22e:391c:6192 with SMTP id t14-20020a5d460e000000b0022e391c6192mr2341341wrq.104.1669108195077; Tue, 22 Nov 2022 01:09:55 -0800 (PST) Received: from [192.168.0.17] (cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net. [86.15.83.122]) by smtp.gmail.com with ESMTPSA id y8-20020adfee08000000b0024194bba380sm13323599wrn.22.2022.11.22.01.09.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Nov 2022 01:09:54 -0800 (PST) Message-ID: Date: Tue, 22 Nov 2022 09:09:54 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 4/8] dt-bindings: sifive,ccache0: Support StarFive JH7110 SoC Content-Language: en-GB To: Conor Dooley , Hal Feng Cc: Conor Dooley , "linux-riscv@lists.infradead.org" , "devicetree@vger.kernel.org" , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , Linus Walleij , Emil Renner Berthing , "linux-kernel@vger.kernel.org" References: <20221118011714.70877-1-hal.feng@starfivetech.com> <20221118011714.70877-5-hal.feng@starfivetech.com> From: Ben Dooks In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 22/11/2022 09:07, Conor Dooley wrote: > 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. Yeah, sifive,ccache0 is probably the generic one which would get this working. -- Ben