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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6D1BC6FA86 for ; Thu, 8 Sep 2022 16:27:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229552AbiIHQ1p (ORCPT ); Thu, 8 Sep 2022 12:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231336AbiIHQ1n (ORCPT ); Thu, 8 Sep 2022 12:27:43 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5390CFF081 for ; Thu, 8 Sep 2022 09:27:42 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id q21so14403963lfo.0 for ; Thu, 08 Sep 2022 09:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=3t8eO6TrPLunxm/ZNbaRq3mczu/6c1Oc/NxBX2KRXH4=; b=GWgpBm78RlMWnyJ/irGaYihsJ3mDOF7/rXdbZg9UgWza5qlyN091Z5QcURInV65b23 ZUKVKjG5xLepFcfIyJFbg/DHl9Kc5yGwFvdrPoZWcEULbYGDIhYudGrTPJTr+bkQcS2C uLTv1oDWmL5sVhFGWFNaaVNh9Mte4K9U1ejmzfXviDqiQHhDqsq3ztD6u3qY0lpz7qlu CTR/CFQSNVnxrsTtEo99gdMJc/JDyM9pG+aJuKJjB4+pNgTX5aSyvW+6pQSpbZ7I6Q/w n8vYHlqvhI/nID5aVJzAnKqCrO3Fr8Sof/cp3cRjSFSMNykmpuxN1yn4VaQxVbqBHrEf iciw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=3t8eO6TrPLunxm/ZNbaRq3mczu/6c1Oc/NxBX2KRXH4=; b=RBKy3ch1ElGsX+NqqyMZrFFbUAYlabJPsVUvMpxbXOwuilaL/rZkrqhPoiopH7gOJc PSgJemTfREgBz+bKKy2dpB9QCMRiyZlLcJCdjWYO3Mbn0MiEmjj4luF9MzqyLyqx+Zbl kObWHnRlhwHXdSPdF8vmIyFtu3IFqSUHoPoVHu7nWyIes92iWl+fRcKPpJOPwDaqG6LY CqBobn7uGOxAjyx+IIsuE0fGWFblFf8pHUH1uIdAefI3OYKhWPZqX7rFjUT8QKidw0F7 lO0CDZIzT57ALPU+I4VGv9+FBKzQuagBiALFuvLe6S6hxr9ygMre0TfTyEexvKCd2i+k cSNg== X-Gm-Message-State: ACgBeo2yWGXv6PP7Wd2+LhfOn2CH5BHrwN3EmvFOOIqh6OqmIc8ljz0d zLzt8443mURELK9Q+5eLguoYm2TCDMj/TmssGmOrvA== X-Google-Smtp-Source: AA6agR7omRywjZirRBmZDGvfii9XD988RyhNFhSLDgoOFrn+8Ukwt/2iyM7jz70fct6R5sFzcdS5W2JieqWpVwy+VZI= X-Received: by 2002:a05:6512:401d:b0:496:9971:78c5 with SMTP id br29-20020a056512401d00b00496997178c5mr2814007lfb.337.1662654460667; Thu, 08 Sep 2022 09:27:40 -0700 (PDT) MIME-Version: 1.0 References: <20220908144424.4232-1-zong.li@sifive.com> In-Reply-To: From: Zong Li Date: Fri, 9 Sep 2022 00:27:30 +0800 Message-ID: Subject: Re: [PATCH v3 0/6] Use composable cache instead of L2 cache To: Ben Dooks Cc: Rob Herring , krzysztof.kozlowski+dt@linaro.org, Palmer Dabbelt , Paul Walmsley , Albert Ou , Greentime Hu , Conor Dooley , 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" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, Sep 8, 2022 at 10:51 PM Ben Dooks wrote: > > On 08/09/2022 15:44, 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/ > > Is there a change log for the v2..v3 versions of this patch series? > Sorry for missing that. 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 > > > > Zong Li (4): > > dt-bindings: sifive-ccache: change Sifive L2 cache to Composable cache > > soc: sifive: ccache: rename 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 ++- > > 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 +- > > 7 files changed, 151 insertions(+), 115 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%) > > >