Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp849222iob; Thu, 12 May 2022 06:05:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxjYICKoUQhBzsOhWZRgP6ZVelUQ7iN5WT9lnAMR6ZIYV+0sKA+0/m7BJ7E1agamV70O2T X-Received: by 2002:a17:902:f791:b0:15f:15aa:2b53 with SMTP id q17-20020a170902f79100b0015f15aa2b53mr17991192pln.6.1652360726127; Thu, 12 May 2022 06:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652360726; cv=none; d=google.com; s=arc-20160816; b=wq8GcU7jGAre4o0r37bvlUXGlblE2kJSIfwPSuxrGqWPYCzyB1scHVN3rPZqilYLe8 vTUqh2+Fjd4tWP76D8wD3XGsrB4CPW2bQG7+JjUI+HkLckt43ZuoWJWhCYm5qLWPuX8W a9cZVwxfsAUJ8pL0cgauz4vSWVuj1TPBy0oJ9zX5HDDZ3SgH3dLeXXJ3hEjhW9cr7/MT AGmv8wBsd1VmV/RulhVHY0Myyq7uwfa0DZ3dcfBc1zmrc8tJ9LdJcO/6isoKboMbZa9q nmtVR04hoD6AixteMrI4Zl9P+ye/7OeK/Mc0Z7Y3giiR4EPNN4feLQ3Qpnq5rGwhFAGM 7SWg== 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=Ivj2ToufcJh9XX+t7cYN4gR1xGP2Eqnye3FyrAKzUwo=; b=dZkinDd2JRSIPJb+BNyQrzEBspsEabcaymrE9cbFxTyv5jlxyG/tk/89+kQ7V/UVLs 0sNrc3b5oAUxH7NkRd1KbkWIdrCw55sLTyqey2Xb20SvJovveDPUY016q8TSX7mB2rq2 +cONyT88J0MWKlg4yNyqkVHXBj0LVW5Sft7Anj4ngSViM+/68RIscwzIvJ80gftBtI84 PtZc7EjF9Z+LpQiE2BPJd7hpB/sYrlM6dhG4SOjVFqLIHd9RRNRCjPMmO34mXfV9FcCE UCOYxSpcQrrZaIHNayTiBZIV1OlqeO+tA4Vcc4ek41mxu/IUc7kzW+U+UkRQinwng0S9 sJLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=pevEQX99; 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 fz16-20020a17090b025000b001c38029e0easi3445612pjb.53.2022.05.12.06.05.10; Thu, 12 May 2022 06:05:26 -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=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=pevEQX99; 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 S1346644AbiELES5 (ORCPT + 99 others); Thu, 12 May 2022 00:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346604AbiELESz (ORCPT ); Thu, 12 May 2022 00:18:55 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95BDB1F97AE for ; Wed, 11 May 2022 21:18:50 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id k126-20020a1ca184000000b003943fd07180so2266161wme.3 for ; Wed, 11 May 2022 21:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ivj2ToufcJh9XX+t7cYN4gR1xGP2Eqnye3FyrAKzUwo=; b=pevEQX99aUfHaf9ZrDK/7APbi+nhoR3NrOT9Lf9fouaWT/hRCJI8j764xXLTQCQKIs hrE87yqMJxXMhHUsEBbWQdb9wVWRFmAtz2ZIYqANBFvdDzirkqpQqsokZB+g8vdz497y E84xI/XyHyL8ZLSEAz2aTc81oXxATbhvV27mFRZICp+yWFgainNwcE4XciaZnlc29Wtp Sy2eHNT2wIPzwylVTgUser+RHGp7IW8Vg4RZGn/Ah2HALPzMkE76MdwOrpKW4S2AwaLY 9pj4oUrJWWHj4cHD8Jmo2BJVXA85ivlGSLmzl9yOrZ3D72qsJ8V5hfiJh4hWtkNtgZcB 4nAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ivj2ToufcJh9XX+t7cYN4gR1xGP2Eqnye3FyrAKzUwo=; b=bSoWPH5GAvzTujSed9d20vuNTRNq1dCi3DOr1IhsuMP3ps1ydiImiDDkTLgEJwaFoN 31Vjt+pAoOmu+kgrw9Kh62gCC5QnwoubYfTyZnwSSXg/NZEfxWxnpYapdEsgea/SUvxS pg/e9IOgR5EANK7k+7BS9e0sj5q+80iNr/uOsbnhZnyOWV1TwHNyI5bOuOcoexpiNQ2D UU5m+7KblOaxBO6+UVvnblPPrRPECry/FKHMsHanNEMt+0wXcGiNQ5MaeHxmGhyagLGc hZpr7zOsLZX/UN7G9HT7WVe34JeiWE6XTm5Yjzu2pKFC7AlpZwCsNIWuLsaWB76qbk/a vsnQ== X-Gm-Message-State: AOAM530eW5WzpIKJ3L8xsIj6XFI8mod3DJ87g65b9bLnDCd5MfodF9Da W95wgG2fiN68St3xuBTD8Q+k+kpf+YNN4a8ydJw+CQ== X-Received: by 2002:a05:600c:4fd5:b0:394:55ae:32c7 with SMTP id o21-20020a05600c4fd500b0039455ae32c7mr7934316wmq.73.1652329129005; Wed, 11 May 2022 21:18:49 -0700 (PDT) MIME-Version: 1.0 References: <20220511214132.2281431-1-heiko@sntech.de> <20220511214132.2281431-2-heiko@sntech.de> In-Reply-To: <20220511214132.2281431-2-heiko@sntech.de> From: Anup Patel Date: Thu, 12 May 2022 09:48:37 +0530 Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: riscv: document cbom-block-size To: Heiko Stuebner Cc: Palmer Dabbelt , Paul Walmsley , linux-riscv , "linux-kernel@vger.kernel.org List" , Wei Fu , Guo Ren , Atish Patra , Nick Kossifidis , Samuel Holland , Christoph Muellner , Philipp Tomsich , Rob Herring , krzk+dt@kernel.org, DTML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 Thu, May 12, 2022 at 3:11 AM Heiko Stuebner wrote: > > The Zicbom operates on a block-size defined for the cpu-core, > which does not necessarily match other cache-sizes used. > > So add the necessary property for the system to know the core's > block-size. > > Signed-off-by: Heiko Stuebner Looks good to me. Reviewed-by: Anup Patel Regards, Anup > --- > Documentation/devicetree/bindings/riscv/cpus.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml > index d632ac76532e..b179bfd155a3 100644 > --- a/Documentation/devicetree/bindings/riscv/cpus.yaml > +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml > @@ -63,6 +63,13 @@ properties: > - riscv,sv48 > - riscv,none > > + riscv,cbom-block-size: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Blocksize in bytes for the Zicbom cache operations. The block > + size is a property of the core itself and does not necessarily > + match other software defined cache sizes. > + > riscv,isa: > description: > Identifies the specific RISC-V instruction set architecture > -- > 2.35.1 >