Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp856042iob; Thu, 12 May 2022 06:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwe2V2F418eix1nW9eXRviFsItpV1QX6Eeiu7DmmDdhlcXzQXSLIIVXUWWraKQoYcbd2cc X-Received: by 2002:a05:6638:204c:b0:32b:688f:e05e with SMTP id t12-20020a056638204c00b0032b688fe05emr15284812jaj.106.1652361145353; Thu, 12 May 2022 06:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652361145; cv=none; d=google.com; s=arc-20160816; b=d6K91pwfoJIDqHYunlMGB+XOFxi9ZDWV/x+uF8p2TtYi8NDn8U6qFlaUTa2V3b99sq nVaAAl2ZboH5YtSEQ2QhYr2ka7xeVx0OeSPTwZ5PEmMOwFfLFvxW1gvGbCLG1/ozsIAo ZX2nGGOsmcXjFMCnUWOCdfQKVBDLlNC2eI1vhrH2mQHbVt+WPjukKOD8atVRcRyE3S2e bjQ0vDkYRT02hKcQ4JfikKydHsekHvcdfuK6nVPrl2s1jwKyRKgcWes7h8e859PRutH3 QGuu8Nx7la5DMpaWZ66uogaxvzKkF7v2H57MCOQu7iDq0SjhyQdKEVUHmuV3+adWZbtd pDMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ziJfMxEX3f7seL54XSse2FwZRMK1yhZA1xcA5duLrno=; b=FH5O6febL3V0K+q9pLucPq156tqzFxnfnPw6HSAqSufS9c/A1rHxYFlq/c64k/VIYA XPZULiW+GewWYEfrDNOfJOU6i0mTi+euyna2ou+I9dKx3ck5LCiT2QWa59nsLe0Ff8EO DaRKi++Ge4uxI+cUwZ4r97tY3TAeqi7i9WZSPpF5mEESYsAMW5WS+ceWvw6kPkZZ+9Uk AEoVPTZFvrGbXGGncp5hXrA28PQkrAsOQi9QcmAWv3bTA02uJpvZdP704PiW999ypNa4 mpxPiSmqHeq7wf8keLrnhxpjbUggxQdcBPfQf5543DJAdrd2D3CE1K1kvMeNi7J4L49/ 1BLg== ARC-Authentication-Results: i=1; mx.google.com; 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 e11-20020a92d74b000000b002cd9182384asi4839939ilq.91.2022.05.12.06.12.13; Thu, 12 May 2022 06:12: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; 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 S1348330AbiEKVlw (ORCPT + 99 others); Wed, 11 May 2022 17:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348261AbiEKVln (ORCPT ); Wed, 11 May 2022 17:41:43 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3CDA5B3DB; Wed, 11 May 2022 14:41:42 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nou5O-0005NU-Ka; Wed, 11 May 2022 23:41:34 +0200 From: Heiko Stuebner To: palmer@dabbelt.com, paul.walmsley@sifive.com Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, wefu@redhat.com, guoren@kernel.org, atishp@atishpatra.org, anup@brainfault.org, mick@ics.forth.gr, samuel@sholland.org, cmuellner@linux.com, philipp.tomsich@vrull.eu, robh+dt@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org, Heiko Stuebner Subject: [PATCH v2 1/3] dt-bindings: riscv: document cbom-block-size Date: Wed, 11 May 2022 23:41:30 +0200 Message-Id: <20220511214132.2281431-2-heiko@sntech.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220511214132.2281431-1-heiko@sntech.de> References: <20220511214132.2281431-1-heiko@sntech.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_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 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 --- 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