Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4843613rwb; Tue, 20 Sep 2022 22:21:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM63nkqtmwve02AvJ1M+MJph4YTb4bIc4Rwtl3ruszXPpASmVgz3y/8X0jFEXDC5BDPp2MIj X-Received: by 2002:a17:907:2bcf:b0:772:4b8e:6b29 with SMTP id gv15-20020a1709072bcf00b007724b8e6b29mr19224904ejc.412.1663737698097; Tue, 20 Sep 2022 22:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663737698; cv=none; d=google.com; s=arc-20160816; b=FmwvfILjf33ELb3PcOgbvavkgrQnSHc2fswNgl3cXN+4QP44xRlWRn+Gwnagb1Vf2g 9k2i9zjwM7+FBgwRaf+G94VbRqpZuPfnMo6vjliHCtE0c48B6EsRhjY9NuLyeLvlVYIH RpATrTO+kpVOyZ4smHg/vLlDSiJPEr1qPX5oMvTQMn3ob+5nHhBRxHDK1O6HKytxsn90 wiq1YSK2GBAFfTdz4rIDsM1m9cMYDEqgaN5PVZjwSFePSN2oM7EJdvpQmRRUeo2abc3N BiE1OL7d3xJLUgjQepMMV5nuqLD1Tyh5FFyisD/n3I0kfNBDTKjetBCldooJJbdX9al0 lLIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TgTQReumepLDe4ov6CDHPrQQsIPWNDax0l8u9Rzrs0M=; b=FNu6hbLgDhlqlIxdLHSzHXBXytP8Hat3s3N7a5TePmjAcxBCNJpwNA3wFNOoocytCl pJZirLOfk7tdjxnoeOkSrakbjvQgMsgeS3eAoUH9rWlmMv3YBwXkxe4kLkRCMwEqZSTh 3pBxTT40/hvcLjV7SxQXmSSgZRnS7AzPgraKTXIu1Ho4Gcxe0uwpGgXea+c0SotaaA9z 6Ktly1D75cqqJfCN61H9ekEA8G6mxKXoDdUX6Ao1Qet9Pc55MBymgRo00e+Ge0p4f2y/ rIS4pW2g88l7QDrICGHLV3pq0KhrEDQEgK1HgFwOh2c+Y/ytcFERaRpx7kJqiAG/7IpZ mvsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=FNR4DfsI; 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 z13-20020a170906814d00b0073155abc1b8si1516316ejw.154.2022.09.20.22.21.12; Tue, 20 Sep 2022 22:21:38 -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=FNR4DfsI; 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 S229970AbiIUFJV (ORCPT + 99 others); Wed, 21 Sep 2022 01:09:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbiIUFJS (ORCPT ); Wed, 21 Sep 2022 01:09:18 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D477F266 for ; Tue, 20 Sep 2022 22:09:17 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id q17so5550822lji.11 for ; Tue, 20 Sep 2022 22:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=TgTQReumepLDe4ov6CDHPrQQsIPWNDax0l8u9Rzrs0M=; b=FNR4DfsImI34Tdj1kbATrXg+qWoJ2JGx2IvHCZwimcpkwPVtI+exf/w3P+sQiU4kRY 5x+aqYP5WCJlBUKUJzLq2GNaC0ZMWcL3rjTlBFT51m//vs15UHg8EhIKgKrr3WhLktZh sQf8VKiiQFN+KuZ+UW5fL1h8m5SO42WnXuwM3K0e3JfVqjI5qLaY6gik5p9xs4cEK4cK iFjnSkomxmOc4LiOSnKurQLLW+wRjyF5jZd+bPCZ/XTsuaey+bEqWnCBdpTFb+asFN9r txZGautSqkGqoejgYOYGPhIo/pUbGwFIJboHg4uoi8u7wEYxOAiAb18FN6nGX0S+abzm vDuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=TgTQReumepLDe4ov6CDHPrQQsIPWNDax0l8u9Rzrs0M=; b=tQoMxysW4twTadkx8Hlcwp/sIAtH/mvrfzWe3TcDxWcagxfhfouBAcSxBDx25UlMwD r23PpYyT0u0XMFbjRMkhNqBX6Cdy36jCNTSmDyPYKo7cUn4Pzyq7L1cgX2/9D2T9cZQ6 ASfy2qumAL1RemqoGVi+xoBW0rqgyptX503f+LeeMMdr4DtR8VM/2gG+xCsfUHqPHz0h ZzE711Cu9NUmgBtEKNuN/fnZuTp3h3TwO/yH7aT47aqv5bMzkk3IWgn2xLWkHNrPTf4z MfHvsZu6F2jIryLZVlKP2lTSDcFVUg01tsZAdzOeJuXyb1GF64AEOk3siW+F8MhADhqO a0GQ== X-Gm-Message-State: ACrzQf0pAUysWy0Q8JTebDlFZMypfmqM4ThkmwJfaWubKGmk4DE6QVrU H3yVLlC9y7vNpyuIwpGssd2gCj74Ypr//dcIAoKDjA== X-Received: by 2002:a05:651c:1611:b0:261:e11c:c2ef with SMTP id f17-20020a05651c161100b00261e11cc2efmr7794318ljq.340.1663736955640; Tue, 20 Sep 2022 22:09:15 -0700 (PDT) MIME-Version: 1.0 References: <20220913061817.22564-1-zong.li@sifive.com> In-Reply-To: <20220913061817.22564-1-zong.li@sifive.com> From: Zong Li Date: Wed, 21 Sep 2022 13:09:04 +0800 Message-ID: Subject: Re: [PATCH v5 0/7] Use composable cache instead of L2 cache To: Rob Herring , krzysztof.kozlowski+dt@linaro.org, Palmer Dabbelt , Paul Walmsley , Albert Ou , Greentime Hu , Conor Dooley , Ben Dooks , bp@alien8.de, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-riscv , linux-edac@vger.kernel.org, "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" 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_NONE, SPF_HELO_NONE,SPF_PASS 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 On Tue, Sep 13, 2022 at 2:18 PM Zong Li wrote: > > Since composable cache may be L3 cache if private L2 cache exists, we > should use its original name "composable cache" to prevent confusion. > > This patchset contains the modification which is related to ccache, such > as DT binding and EDAC driver. > > The DT binding is based on top of Conor's patch, it has got ready for > merging, and it looks that it would be taken into the next few 6.0-rc > version. If there is any change, the next version of this series will be > posted as well. > https://lore.kernel.org/linux-riscv/20220825180417.1259360-2-mail@conchuod.ie/ > > Change log in v5: > - Add a patch to modify aux vector for sysconf > > Change log in v4: > - Change the return value from from ENODEV to ENOENT > - Apply pr_fmt refinement to all pr_err > > Change log in v3: > - Merged the EDAC patch into L2 rename patch > - Define the macro for register shift and refine the relative code > - Fix some indent issues > > Change log in v2: > - Separate the rename and diff to different patches > - Rebase the dt-bindings based on Conor's modification > - Include the patches of Ben for refinement of printing message > > Ben Dooks (2): > soc: sifive: ccache: reduce printing on init > soc: sifive: ccache: use pr_fmt() to remove CCACHE: prefixes > > Greentime Hu (2): > soc: sifive: ccache: Rename SiFive L2 cache to Composable cache. > riscv: Add cache information in AUX vector > > Zong Li (3): > dt-bindings: sifive-ccache: change Sifive L2 cache to Composable cache > soc: sifive: ccache: determine the cache level from dts > soc: sifive: ccache: define the macro for the register shifts > > ...five-l2-cache.yaml => sifive,ccache0.yaml} | 28 ++- > arch/riscv/include/asm/elf.h | 4 + > arch/riscv/include/uapi/asm/auxvec.h | 4 +- > drivers/edac/Kconfig | 2 +- > drivers/edac/sifive_edac.c | 12 +- > drivers/soc/sifive/Kconfig | 6 +- > drivers/soc/sifive/Makefile | 2 +- > .../{sifive_l2_cache.c => sifive_ccache.c} | 200 ++++++++++-------- > .../{sifive_l2_cache.h => sifive_ccache.h} | 16 +- > 9 files changed, 158 insertions(+), 116 deletions(-) > rename Documentation/devicetree/bindings/riscv/{sifive-l2-cache.yaml => sifive,ccache0.yaml} (83%) > rename drivers/soc/sifive/{sifive_l2_cache.c => sifive_ccache.c} (31%) > rename include/soc/sifive/{sifive_l2_cache.h => sifive_ccache.h} (12%) > > -- > 2.17.1 > Hi Palmer, I was wondering if this series looks good to you, and could you please help us to take it into riscv-tree? Thanks.