Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2855298rwe; Mon, 29 Aug 2022 01:07:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ZOEyb0IuRJWhIMHKaMyWssAIFVA/5Dd9qEfOjR/BbOM0Zy9czSkSo9TK4P+p6rg5DnrY1 X-Received: by 2002:aa7:d7c1:0:b0:447:d3ec:69cb with SMTP id e1-20020aa7d7c1000000b00447d3ec69cbmr12384725eds.105.1661760447551; Mon, 29 Aug 2022 01:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661760447; cv=none; d=google.com; s=arc-20160816; b=LD6pH6Lcw2dza+Bkd3DV4nSdgBIBBVcDBVoskyBTRSq4fpSrUfwLehyRD90AmA3TTi MYPHFNI62YJtVdGYROunoNXQimLGRBKZenpms0vYTOG0JZQtNlTMuVIJxMnG268hJXY6 zpquF/dRbIG3oVoY33O+sg+P+Mz8V6XKPes4AdofdwsPh0q1goMWzLuA6puJ+KaNrrMs 9DcfFD55fHeed+VrUaR+Go+PQeoy1mfqxxJG1m8O9jM1laLc+kpKTY8IlA2FHcZLGDe1 be/f/OJhaTMNYnnQOgiKJvdOoFFj3g43sMpxFZqJ4o1K4UNFSdNE3jHyrZ96T3XfOdWI +rbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SLnfZ0YtBrAFrby7u2BSMdjwnYBP5EXUc9M7gwySMFc=; b=HGfwhVIt5L1euY//KAFhK3OZSZ+CQonZoc4u26NT49O549qhPFnIN9g+0lwANlstsY +TxAjINL+F5xkp4H4fNRyrvjWIy3VtmBtkR53LLjjBR7IKx1rhQn51o/oTdtb38bFeSD uZcQhKCT3/9V12LuJ4ugzs/42VRXINh2lXJr9fCZM8VM4TyzkgjmzQCu7dz9zW1YhLed lBGfnom0Rwe/6MYSLWEzxDxWaCOe/c695n54GMpC/eCl52vZO2BQkk9zR7zMlrDfU0TT sAKwiYcO+jSJgIQ4ylvMi3ppqIsSBQ/hU/I+/zlFEnHd5Gpc8yi56DFVrX9X799Bzuvh zgTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=WkuVDoMn; 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 g16-20020a056402321000b00447f0236543si6051941eda.514.2022.08.29.01.07.02; Mon, 29 Aug 2022 01:07:27 -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; dkim=pass header.i=@sifive.com header.s=google header.b=WkuVDoMn; 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 S229611AbiH2Hiz (ORCPT + 99 others); Mon, 29 Aug 2022 03:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbiH2Hiy (ORCPT ); Mon, 29 Aug 2022 03:38:54 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 014304E855 for ; Mon, 29 Aug 2022 00:38:53 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id bt10so9995551lfb.1 for ; Mon, 29 Aug 2022 00:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=SLnfZ0YtBrAFrby7u2BSMdjwnYBP5EXUc9M7gwySMFc=; b=WkuVDoMnPSkj0vEifVC2w2xi1AX9POY3FSxOvaHXLrMCOqmrmhY5AfP0PutPjHEiCu a3iQ1fcGwkgc8DqpmTrkUTY0uZgwrtfZwwpxMdnA/ZgDQbe87IF6qWT5tchG9pX4HL7V 0yfmupIxlEACVzNTL7TyrLR4EavjsVUkupzOcXTRTBKe1eLU9sLAxgPqLjR2OIySU68D +jySDLepM+8q4BMNwYn/iYUMKiU5UDBG3GiAPIQQJ3ZjVmxFj6L29awQOJVX3ttZjujo 9miOIrak/NXwL1uUxotOxJ2cfOZaQTaC6FMLjCrNBCBd0fBrQGqGm6pGr9B1xlRJDNyf ECEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=SLnfZ0YtBrAFrby7u2BSMdjwnYBP5EXUc9M7gwySMFc=; b=S9OklrOBkXpSNQmklkmDz5O5iVjgRw4/H/Gz8CwaPPlaSN1krhAzeaVkDbNXHcC8v8 /gkSKwos55DSSqV/iLBKAnWv7jXTXs4qstaF0/jayjzFRTUfPSX3Yac/w0Uta0G/9ULb 41WaKPPVPn1hTA5aIrTRDvMEzNAx8ptOlrgfJvsJnWEih58i6xFUO0twtgDiaR7PZyyV I8OkIOaeyfeygdVQodI7Cn9d0LLw5h7lKMDQb/4SZ3YM97Sv2krWd01kc1gF9H3rMIXM 6ONqwuDH0wa/N/SSvvIZHY8FC6aHKt82uohgaBvEmrYqe7pQdEO4D9R73GG2eJEVOdQj u3ZA== X-Gm-Message-State: ACgBeo3qve7KPGLdqWnmCL3dzmxcmhMnl/T8FsCfmMpDvelbLE5mC22W whhtqymkDKk1d3TIvM1GUa45J2XdJufAvwC2GkJN0g== X-Received: by 2002:a05:6512:3b28:b0:494:6b56:ae0a with SMTP id f40-20020a0565123b2800b004946b56ae0amr1267119lfv.498.1661758731260; Mon, 29 Aug 2022 00:38:51 -0700 (PDT) MIME-Version: 1.0 References: <20220829062202.3287-1-zong.li@sifive.com> <20220829062202.3287-2-zong.li@sifive.com> In-Reply-To: From: Zong Li Date: Mon, 29 Aug 2022 15:38:38 +0800 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: sifive-ccache: rename SiFive L2 cache to composible cache To: Conor Dooley Cc: Rob Herring , krzysztof.kozlowski+dt@linaro.org, Palmer Dabbelt , Paul Walmsley , Albert Ou , Greentime Hu , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-riscv , "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Mon, Aug 29, 2022 at 2:45 PM wrote: > > Hey Zong, > Couple quick comments for you: > > On 29/08/2022 07:22, Zong Li wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > Since composible cache may be L3 cache if private L2 cache exists, it > > s/composible/composable > > > should use its original name composible cache to prevent confusion. > > s/composible/composable > I will fix it in each patch. > > > > Signed-off-by: Greentime Hu > > Signed-off-by: Zong Li > > --- > > .../riscv/{sifive-l2-cache.yaml => sifive-ccache.yaml} | 6 ++++-- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > rename Documentation/devicetree/bindings/riscv/{sifive-l2-cache.yaml => sifive-ccache.yaml} (92%) > > > > diff --git a/Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml b/Documentation/devicetree/bindings/riscv/sifive-ccache.yaml > > similarity index 92% > > rename from Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml > > rename to Documentation/devicetree/bindings/riscv/sifive-ccache.yaml > > index 69cdab18d629..1a64a5384e36 100644 > > --- a/Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml > > +++ b/Documentation/devicetree/bindings/riscv/sifive-ccache.yaml > > Binding filenames are supposed to match the first compatible. Since > it was not named that way in the first place, I suppose naming after > the generic compatible makes the most sense. The correct filename > would then be "sifive,ccache0.yaml" > Thanks for pointing this out. Let me change the filename. > > @@ -12,8 +12,8 @@ maintainers: > > - Paul Walmsley > > > > description: > > - The SiFive Level 2 Cache Controller is used to provide access to fast copies > > - of memory for masters in a Core Complex. The Level 2 Cache Controller also > > + The SiFive Composable Cache Controller is used to provide access to fast copies > > + of memory for masters in a Core Complex. The Composable Cache Controller also > > acts as directory-based coherency manager. > > All the properties in ePAPR/DeviceTree specification applies for this platform. > > > > @@ -27,6 +27,7 @@ select: > > enum: > > - sifive,fu540-c000-ccache > > - sifive,fu740-c000-ccache > > + - sifive,ccache0 > > Despite what the commit message says, this is more than a rename. > Thanks, > Conor. > > > > > required: > > - compatible > > @@ -37,6 +38,7 @@ properties: > > - enum: > > - sifive,fu540-c000-ccache > > - sifive,fu740-c000-ccache > > + - sifive,ccache0 > > - const: cache > > > > cache-block-size: > > -- > > 2.17.1 > > >