Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2776875rda; Wed, 25 Oct 2023 11:59:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHcnQ1eClGlmrhoQn8Fufp/skhp3+0KlhVqh4PRw8K61IknMyQQnthvo2T9IUWmBgURarmn X-Received: by 2002:a05:6808:181a:b0:3af:7636:50ba with SMTP id bh26-20020a056808181a00b003af763650bamr15440925oib.25.1698260379086; Wed, 25 Oct 2023 11:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698260379; cv=none; d=google.com; s=arc-20160816; b=xQNHYqcYabJw8wzqxQXmcMwRZN3nMNhfMEBznX3MFCoCzYo14+8n/kbtPk+rA/3VC9 unvozQd3d/fHxUCliBdVCnhMrP0tc9uPiK0NjjwfZ1ZSWok+Cx56wRJ0XW1LHjV0U7l9 JLUuN41H8RWLQ/lAuOGGMzyTBgfuPojeAszjzzqOcnMlH3Vc/qJfYibwzWyDTMkZOpuR /h6NK16bTvO7gJvnDXTo5TNRq3dHt9mSvpQN0+SJhHXjXzJ4Rn3VlGvT5hBQdCDWPIMZ h5NFcfDYDP4fSXrrxq6nIyyuARWzg4wj4vwi03FDVCI/1UD+pvPn7itpQUXvmQfUGntS Gdew== 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:mime-version :dkim-signature; bh=FFiHmR7ukRwdZCsC7cixmRTY2MvrJS7s0z/YTGkE2iM=; fh=GKwi3PIaODeWWi7LRupwzJjuTN6YK5tMuKf9v4MgXdc=; b=c3BY+vNyBdL2xZTrsPC0Xc3ghqYC74hJaKC52xIamHfjMNyCdxBD82W1yGBZKgXjtA S0ZZmWhvDSFZKSF8ZEDfcg7NTn/fok92Ejsi5VvEdVZzZRiDOSJogRpfwrrHzCL3mhFc nYfUTMcKuDw2nDZj9e1oalkCO8wcp/WbBphym6/xwCwzhZ1qyzbuWd4fkbQNxdCrW93z Vz5jJ6qBw4WxyjXY3NXjevHVCP+F/5ufnWGreG/eTGHbE2zF5zsfmlrS2HyG7xGjNB9J a32wBh2/ueIFNZ2hxUk5uhM9QSkNjIGKv2sRQqYpsSDDQudcnW/A72BY9QPwqoRQ1l3F XMjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=GVfVIqtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 72-20020a25044b000000b00d9c2b724fbfsi10764220ybe.396.2023.10.25.11.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 11:59:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=GVfVIqtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7853A809849A; Wed, 25 Oct 2023 11:57:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234864AbjJYS45 (ORCPT + 99 others); Wed, 25 Oct 2023 14:56:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233628AbjJYS4v (ORCPT ); Wed, 25 Oct 2023 14:56:51 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30A56184 for ; Wed, 25 Oct 2023 11:56:48 -0700 (PDT) Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 146B23FD3D for ; Wed, 25 Oct 2023 18:56:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1698260206; bh=FFiHmR7ukRwdZCsC7cixmRTY2MvrJS7s0z/YTGkE2iM=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=GVfVIqtSVfF68mRlN07dL8QYEVZoifPqKoSGLylo/NO4lW+NAScV0MvEeUWunbS98 KZZVgshmdNGOsDid6DormF6H15cklRcmRJIOMp8R+VgO8PaqgVcGZwHEekyu+Zammm Vu7T3pWdNuFa5WnLrveQDFwtDMWdIPsm9rIso2xT/XTCT+riOzz9lLhuw4gFQfQ+yS DU/ArEhbn30GFsJIsYaoftnKHvizE9EaL/YbJjE4m04H2S/A57VgT7KTXymHI1x4MJ gXkm0sW9JWQJzqmS4h3pe9KpFDtivBeVNQEvz4IWfhjCEaiQZkMi+QOACIxuzA8rn3 dtTlPsjEp6nIw== Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-41e3e4aa311so949421cf.1 for ; Wed, 25 Oct 2023 11:56:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698260202; x=1698865002; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FFiHmR7ukRwdZCsC7cixmRTY2MvrJS7s0z/YTGkE2iM=; b=enGuCO5/HGTGn//1DImpTkRd9fhjz52Y/I6RgenKoxA3eN+YiOqkl62SuJFJHB1bBU 1CU/SWwTnyPmrtXShaS0eskjqoz+9oaTfv3XL71gn5oLPgvvjLGJNheCF/mU4xHQo+QN B/toQ0Wxoo8ru6aBKEUr4ZwXnXBoeHPOaGqER0LYUCa/cIhvPsn36fAOgAj9DXXn0ht/ xxdDsZPliq+VL3LKegto/+X8At/wTYcq8pz3p3aQXN1Q4aOMKB1Ec9cUD5+e/eLkYHme wMQG6JrHGA3UyvhkROvg5NVMatMr1zYjsGkNHgesKT32XEAVjljqegaq3gsVNbCid06f KanA== X-Gm-Message-State: AOJu0YykHdYKvUnjBqs3FNmsgbl/WtYKeoHXuavSHi+Bfqau2v9t908D THNLpJNM86OAOJFyyGi4MgDnE0UtJx8tspBWmKlGFdaH6kYkTNMUDa9KU/gy2WEffuP+yqxldcY p9WxmaEBlb/UWr1hEM2aXnHPc/q4K2KVodWnMqHPGUpEt4jCfyGmdYcpJRQ== X-Received: by 2002:a05:622a:14e:b0:41e:172f:6e78 with SMTP id v14-20020a05622a014e00b0041e172f6e78mr15135514qtw.29.1698260202167; Wed, 25 Oct 2023 11:56:42 -0700 (PDT) MIME-Version: 1.0 X-Received: by 2002:a05:622a:14e:b0:41e:172f:6e78 with SMTP id v14-20020a05622a014e00b0041e172f6e78mr15135502qtw.29.1698260201944; Wed, 25 Oct 2023 11:56:41 -0700 (PDT) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Oct 2023 11:56:41 -0700 From: Emil Renner Berthing Date: Wed, 25 Oct 2023 11:56:41 -0700 Message-ID: Subject: [PATCH 3/4] dt-bindings: cache: sifive,ccache0: Add sifive,cache-ops property To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Emil Renner Berthing Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 11:57:09 -0700 (PDT) This cache controller also supports flushing cache lines by writing their address to a register. This can be used for cache management on SoCs with non-coherent DMAs that predate the RISC-V Zicbom extension such as the StarFive JH7100 SoC. Signed-off-by: Emil Renner Berthing --- Documentation/devicetree/bindings/cache/sifive,ccache0.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml index 7e8cebe21584..36ae6f48ce0b 100644 --- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml +++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml @@ -81,6 +81,11 @@ properties: The reference to the reserved-memory for the L2 Loosely Integrated Memory region. The reserved memory node should be defined as per the bindings in reserved-memory.txt. + sifive,cache-ops: + type: boolean + description: | + Use this cache controller for non-standard cache management operations. + allOf: - $ref: /schemas/cache-controller.yaml# -- 2.40.1