Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp829485rwb; Thu, 27 Jul 2023 23:50:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlGvezCLmrLTMoIZiSOSvT5G3wq4TVspepa5Bodpk69UrsCsUXV9CE1zj1lWTozcznRxTpza X-Received: by 2002:a05:620a:f02:b0:765:8986:a3bd with SMTP id v2-20020a05620a0f0200b007658986a3bdmr2013645qkl.69.1690527025439; Thu, 27 Jul 2023 23:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690527025; cv=none; d=google.com; s=arc-20160816; b=FfoT2sfQsRHa0gPrkC/YsRhxwIBF21MYlxLGn4gAeai8xd2z2p4abGJWpTmF2liuGs w2hHh0ZB7W0uMehMwloi8AbjU3Ymsxo7A+ZujA8k3X+Rhi8wjYcqkTSqcuaNSCeOMS3y f6EaC88GrX6WqD87MGQldZSHfhU4kjTLLwKSo+5buEM8FhLZsFQY1CeeL+xJdy7SztCX LzsGLthQgjrVlQv/D1Ps87TzWmfEEaAsRa6g7oT6Cj5hmm+rKjn3nSPh/0BQTWXqvtCq jM7H07Qbs+tMtUAq/n5tAgSyw4NafYbjsff7avAj4lYLNRgCxr1l+1nQiz5ELZNnBsR6 TAyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2jjGYCkpEYu58BQfAwhDMVJPr8BDJrnt1s54RDMlMPA=; fh=sqRm/vIZTjt6sNer2oyrECCmg53PGCb3pICtRc6NKbs=; b=lo/7VbhUYrCUVE+ZMjxL6Q4jPaOiwZwozqX5zfVbujbwmt9GTcv1x9klS+S6wbhdUu uMd91WDDLgkLnXx6QcJFXQv0UPAETVjrokpsGi5gKFmPauyFcx8qwe/6XrF15QtNrfah u6wXanPYrQW1T1emP+ZGmNnyumqu4WbeOZdkc41vFBP5HOwN+sD1VlJHx4G1fdAQwMNH lnxOy5kVwbAmAVum3m9/mexu1ay/D++AqN6gzQCce1M+4AEtiaVjJx4wDHXLAp/kU37M 88QZoBh35JUgGF148g0NIP7X4IeKuFn35E91QxxUWY2Mw0rOMcGhcnaBkHU9EFYeli3s UytA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=EnOmxiQ6; 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=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b0055c3e731f70si2636722pgh.146.2023.07.27.23.50.13; Thu, 27 Jul 2023 23:50:25 -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=EnOmxiQ6; 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=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232995AbjG1GBr (ORCPT + 99 others); Fri, 28 Jul 2023 02:01:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjG1GBn (ORCPT ); Fri, 28 Jul 2023 02:01:43 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D9D26BC for ; Thu, 27 Jul 2023 23:01:41 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b93fba1f62so26654031fa.1 for ; Thu, 27 Jul 2023 23:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1690524100; x=1691128900; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2jjGYCkpEYu58BQfAwhDMVJPr8BDJrnt1s54RDMlMPA=; b=EnOmxiQ6Hqmfy468wQrckhNRtCZUvLNfddXLnUKst3m5+Y0BW/6amJY7gYXx93hbzs sLFVbe4SCueWxW0c4vDtLXQpXxTYItb40QIoGjlZAf5Q2gtjlqT5bYnU05UwhrAFts80 1Jmlt+8A4WgU3xkX0A8vfJrce924O4THWo5b4UMGc9wfwkCT/3z6WS33GgeLPbhmw4BZ vWbzRrv/vFXJbiDnTGA/u7UGeyqtFpHrjLnt7MOKuI4dShzt47mnjHPOnlNB+V4d2HEz FothBpUXrwksIcuDHGmEAKHZfgkx1PFGKHcBEZ18x13fxtLRAuU/Hh7SUb0z3ldmouW9 f54Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690524100; x=1691128900; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2jjGYCkpEYu58BQfAwhDMVJPr8BDJrnt1s54RDMlMPA=; b=NtwRd4vkiA9deN9fN2SSGsl4F7cmHN8Roufg66cNDWE0+m9kUVeXip3LOLNCxWtmUd LTY6lnoBod+0VyyerzvgeBXIbjdryEvSer74UfL/DaW9AiEvcwi1zbppQ8VaBAItfJgR gckhLNXSZmrdY2gM3OJmt3rXYUBQ9DMBnEbn0ZbSaXtZzD+H/KvvvSB9lzhc6COjtU4Q Dyc+b6VcoHOgWI5yph5AUWRsgPTE3gJrebLQ4gUDspvMeQZIoAufAWBPIwv/z6nSobd7 oxLHUZvGvfpn3ycwbAQi7Hn6EIKNGMadPu8XXffAacJUVN3m4LUJm4smf5/+kb1hI1Hg ibNg== X-Gm-Message-State: ABy/qLbVySarpnEFJMyy/upiE+vBRVd32wGXOsBNKImGXZkM1h63SOiX TVyioCGhZR+2Br996eoTCapLD2JyX0dhUeavzL1Clg== X-Received: by 2002:a2e:7c01:0:b0:2b9:4476:ab28 with SMTP id x1-20020a2e7c01000000b002b94476ab28mr977256ljc.38.1690524099313; Thu, 27 Jul 2023 23:01:39 -0700 (PDT) MIME-Version: 1.0 References: <20230720135125.21240-1-eric.lin@sifive.com> <20230720135125.21240-2-eric.lin@sifive.com> In-Reply-To: From: Eric Lin Date: Fri, 28 Jul 2023 14:01:28 +0800 Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: riscv: sifive: Add SiFive Private L2 cache controller To: Krzysztof Kozlowski Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, zong.li@sifive.com, greentime.hu@sifive.com, vincent.chen@sifive.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Krzysztof, On Fri, Jul 21, 2023 at 4:35=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 20/07/2023 15:51, Eric Lin wrote: > > This add YAML DT binding documentation for SiFive Private L2 > > cache controller > > > > Signed-off-by: Eric Lin > > Reviewed-by: Zong Li > > Reviewed-by: Nick Hu > > > ... > > > +properties: > > + compatible: > > + items: > > + - const: sifive,pl2cache1 > > I still have doubts that it is not used in any SoC. This is what you > said last time: "is not part of any SoC." > If not part of any SoC, then where is it? Why are you adding it to the > kernel? > Sorry for the late reply. I didn't describe it clearly last time. Currently, we have two hardware versions of pl2cache: pl2cache0 and pl2cach= e1. The pl2cache0 is used in unmatched board SoC. The pl2cache1 is utilized in our internal FPGA platform for evaluation; it's our core IP. > > > > + - const: cache > > + > > + cache-block-size: true > > + cache-level: true > > + cache-sets: true > > + cache-size: true > > + cache-unified: true > > + > > + reg: > > + maxItems: 1 > > + > > + next-level-cache: true > > + > > +required: > > + - compatible > > + - cache-block-size > > + - cache-level > > + - cache-sets > > + - cache-size > > + - cache-unified > > + - reg > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + cache-controller@10104000 { > > + compatible =3D "sifive,pl2cache1","cache"; > > Missing space. OK, I'll fix it in the next version. > > > + cache-block-size =3D <64>; > > + cache-level =3D <2>; > > + cache-sets =3D <512>; > > + cache-size =3D <262144>; > > + cache-unified; > > + reg =3D <0x10104000 0x4000>; > > reg is after compatible. OK, I'll fix it in the next version. Thanks for your review. Best regards, Eric Lin > > > + next-level-cache =3D <&L4>; > > + }; > > Best regards, > Krzysztof >