From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FE47C4332F for ; Sun, 29 Oct 2023 12:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Af8vfaOBpHELCfRrfPEQurhroWY66f+cPKxIA4mYRL4=; b=XetUbghKEEPieu 05/6bBRmxMZYxP0oZ/l3k7PyBROzhbKWIaRvLttHgVL75j/f2r8kXYByXFz7PxB+5JxhVLztAmZQY QRuoDmJ7RtGn6m1A4sLjLDBHdc9mWqs8NVw1zgJ+cHgc1sNKW/KeTcMnJckDwTrXjbRw9NSBiFZID qetMpG5lDAySdKIj44KuB84rookCrDFPo7iP1i7CQsuQ8xB48qTUM8o+SrgXwoJ5z47Jghd1lNsgv OZ18IgNRvm5tQ3qoGv5EQpeV/0usX2f6vMLIaHPA8BNK6lu0G6ZNfUAlO8bS0Gi5qC4W/EVFPOGAM auYtQiwVEyzNerVQSg5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qx50a-001jjK-2r; Sun, 29 Oct 2023 12:35:12 +0000 Received: from mail-yw1-x1131.google.com ([2607:f8b0:4864:20::1131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qx50X-001jit-2V for linux-riscv@lists.infradead.org; Sun, 29 Oct 2023 12:35:11 +0000 Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-5a8628e54d4so31214897b3.0 for ; Sun, 29 Oct 2023 05:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698582907; x=1699187707; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qK2cFDGn1hazlPIsHpN2XXghPuIbnQBG7tAHB1/AOio=; b=CGVuAulxVieC6Dej3SJPJMUmLKlNFJ9cd82Fuh5ayNMtUu87w4MHQhf0erNzHxOHB4 DBmWjZ2g1wIUV6HpaIpUkDROM5/8cv2c8uxtSofhAC8eYmMyPwkbSS7gLlcFXROCHt6g kUHGTGXbX+knVP6LWAkZ/AL2PNkfhEpbZ2VF5DDI/SyYYCCiKOEhEjaZMCgu8RZqybui 4pAtw9DaoSkIWoZduD7W1OVXGIw+AcbgKlcZcqBgxcMXMmtZUj6sEBPx/UJ+AYWyyQy+ hZ9IVkmxCdbOFe3Q7salxIUpiw6iwJVpGgO3NwTtA5Ge0BZFka3A1/i7IceWiINmG+Rh 7e1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698582907; x=1699187707; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qK2cFDGn1hazlPIsHpN2XXghPuIbnQBG7tAHB1/AOio=; b=h6NRQilubTPHIQM7g6JBpMhoclej1ppOWJ6f7JS6otyiE+le0l2rn3c6NeniijEjTh QYOLzQyU9/FBAJJuQZuiuvkfbSciVDMvvGaNjtwTxCwPdu3bVkvtmtxcZbTUR0XtHS4o FxrMmjOJdnE0rPaJci3TDG7bjKA3VAg3dSY3t1frFGVDQGqbcrfAPcS6589kQKlQKDZa 1yDAfAhGNoYJ/I/9ZhqgWB2jtLA2QgVnqDtKygVDWED8WnNTJ5uC4BHnzIxdRXR8vByU lPgQvshXv3rbwjMQ3X0oF4PRwqIXEEhVzAynDA4ycql4HXRa6mtozayoTsh3FocDQY42 qkYg== X-Gm-Message-State: AOJu0YyZ6NqTTNSVB+HhYo8WPFlPPlZ5ieSqMbnoxCCkZcgew9FBl+iN VGyPtM5orA6bkF0dc6euHGmpckIR6YJQ8TTAeyc= X-Google-Smtp-Source: AGHT+IH7fzLWL07EynDIYmE/tSQk2rwURQM1vbYkVOwEutKRbG7eUCFv8eX5N0Ws4rGqC/5Ip1CR/A== X-Received: by 2002:a81:4149:0:b0:5a7:dad3:cd21 with SMTP id f9-20020a814149000000b005a7dad3cd21mr8015564ywk.10.1698582907095; Sun, 29 Oct 2023 05:35:07 -0700 (PDT) Received: from grind.dc1.ventanamicro.com ([191.255.2.33]) by smtp.gmail.com with ESMTPSA id t3-20020a0dd103000000b005a23fc389d8sm2959318ywd.103.2023.10.29.05.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 05:35:06 -0700 (PDT) From: Daniel Henrique Barboza To: linux-riscv@lists.infradead.org Cc: apatel@ventanamicro.com, palmer@dabbelt.com, devicetree@vger.kernel.org, ajones@ventanamicro.com, Daniel Henrique Barboza , Rob Herring , Conor Dooley Subject: [PATCH] dt-bindings: riscv: Document cbop-block-size Date: Sun, 29 Oct 2023 09:35:00 -0300 Message-ID: <20231029123500.739409-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231029_053509_843435_BEDDAB07 X-CRM114-Status: UNSURE ( 7.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Following the examples of cbom-block-size and cboz-block-size, cbop-block-size is the cache size of Zicbop (cbo.prefetch) operations. The most common case is to have all cache block sizes to be the same size (e.g. profiles such as rva22u64 mandates a 64 bytes size for all cache operations), but there's no specification requirement for that, and an implementation can have different cache sizes for each operation. Cc: Rob Herring Cc: Conor Dooley Signed-off-by: Daniel Henrique Barboza --- Documentation/devicetree/bindings/riscv/cpus.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 97e8441eda1c..1660b296f7de 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -78,6 +78,11 @@ properties: description: The blocksize in bytes for the Zicbom cache operations. + riscv,cbop-block-size: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The blocksize in bytes for the Zicbop cache operations. + riscv,cboz-block-size: $ref: /schemas/types.yaml#/definitions/uint32 description: -- 2.41.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B51DC8F53 for ; Sun, 29 Oct 2023 12:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="G0OuU13f" Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E673FC0 for ; Sun, 29 Oct 2023 05:35:07 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-59e88a28b98so31100857b3.1 for ; Sun, 29 Oct 2023 05:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698582907; x=1699187707; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qK2cFDGn1hazlPIsHpN2XXghPuIbnQBG7tAHB1/AOio=; b=G0OuU13f51UTfLxXPjFmL/VddR51aBqDBtJu+gQ5xSptqicO6IjbUHK+2UPECFAx81 N8hexmf67Q9NT2llrRo8Oaoz2GVZIHvxuaYW4sTWqOdbWtVU3O12wAYk+Gtr5r6eb8jj d2Q7cIYSAbAw//7pWEUknCUmWRyp3xu7yqUoBaQSsIhnzif3Y+scZGpBmSHCp7M5ZjRK MgdlpXBwDfloTRUuHsPBOOyIwKXcSKJ/xZhMsmWh2/YGt2hYSqruTEZ3jmSUQyT020ng RZe0p8QaPQW9ZsXYbGcCf+1asnvTNVbye9q+7v8HHwMoHw1cm8zoat8eV80asgoZd+B8 7BRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698582907; x=1699187707; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qK2cFDGn1hazlPIsHpN2XXghPuIbnQBG7tAHB1/AOio=; b=aS/Zsw97/xAL2g1os2FgyTQfTmKv34lUYcW0QlSC5HlI8mr3FdCtacZ7/qf+fSGdVK 3iKBpJAc6T1K+oL32lfCX5m7+ZE2ahp9Qgdwwm8PNETQ2pPhV43og+xASvHPYwDOswX3 riZZYF93q/p5Ck3bT8L6aUUWAMU7PZNKBdR9G2WeAq8udz6o4sWqaZ3IKAnMqXRYONen 0595bGGE+GK003YJqOc7eqKiNDWFGo/t6ZrOJBQMP6Gd5H/Uf0hFvETRRaAZACivV4C9 JwnV6HOtt8Bx+bvNM+xb27OULLVdyylcTxoZ4NG9bXtoJLhZBzK69mX3g8OW1STLqNbw undA== X-Gm-Message-State: AOJu0YxiOVw8XfVzoeBLJl1UuGtQ7tu7l5K7punojxApwAdEHiuIrB90 9D7d0IymGJuD0oLzWYqOsNwqeQ== X-Google-Smtp-Source: AGHT+IH7fzLWL07EynDIYmE/tSQk2rwURQM1vbYkVOwEutKRbG7eUCFv8eX5N0Ws4rGqC/5Ip1CR/A== X-Received: by 2002:a81:4149:0:b0:5a7:dad3:cd21 with SMTP id f9-20020a814149000000b005a7dad3cd21mr8015564ywk.10.1698582907095; Sun, 29 Oct 2023 05:35:07 -0700 (PDT) Received: from grind.dc1.ventanamicro.com ([191.255.2.33]) by smtp.gmail.com with ESMTPSA id t3-20020a0dd103000000b005a23fc389d8sm2959318ywd.103.2023.10.29.05.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 05:35:06 -0700 (PDT) From: Daniel Henrique Barboza To: linux-riscv@lists.infradead.org Cc: apatel@ventanamicro.com, palmer@dabbelt.com, devicetree@vger.kernel.org, ajones@ventanamicro.com, Daniel Henrique Barboza , Rob Herring , Conor Dooley Subject: [PATCH] dt-bindings: riscv: Document cbop-block-size Date: Sun, 29 Oct 2023 09:35:00 -0300 Message-ID: <20231029123500.739409-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Following the examples of cbom-block-size and cboz-block-size, cbop-block-size is the cache size of Zicbop (cbo.prefetch) operations. The most common case is to have all cache block sizes to be the same size (e.g. profiles such as rva22u64 mandates a 64 bytes size for all cache operations), but there's no specification requirement for that, and an implementation can have different cache sizes for each operation. Cc: Rob Herring Cc: Conor Dooley Signed-off-by: Daniel Henrique Barboza --- Documentation/devicetree/bindings/riscv/cpus.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 97e8441eda1c..1660b296f7de 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -78,6 +78,11 @@ properties: description: The blocksize in bytes for the Zicbom cache operations. + riscv,cbop-block-size: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The blocksize in bytes for the Zicbop cache operations. + riscv,cboz-block-size: $ref: /schemas/types.yaml#/definitions/uint32 description: -- 2.41.0