Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp864798rwn; Thu, 8 Sep 2022 09:47:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR4hJ7kik4O55UBUlfT2/aU0ESz4nsX//EhjfZ+sv3tLg3d1W0czwYWG9jWHNBTFwOgW2KfK X-Received: by 2002:a19:e04a:0:b0:492:f96f:85b7 with SMTP id g10-20020a19e04a000000b00492f96f85b7mr2886174lfj.141.1662655625307; Thu, 08 Sep 2022 09:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662655625; cv=none; d=google.com; s=arc-20160816; b=obVh7/7Q8xux1zL/ZIn1ZSdnCQ1HGJ/zPLpalWnJcENZi+0btLPJH+pPiOPprcZKWM T8/9t9y/mWpyeHaXCjIbN/AtUOfVeWvUfQSwLbbOjkcqGG0HtEiwpMcs8o1X9C8oh9Iw ydehTRs7rfO/fEk9qOS/86QDXrabvmu6M9W/RrHpFxQJPG3rFEcfR3GcwSZ8KHo/nCAs sKc8FYMVFxbzaG/UERZVCOUQ3RXF6Wb3VOPUl/GeZUfbnsdsIjna4Dvhu6pRKQRJ0hdO 8+6HJoajg1yMdSfASEtZODIpOMpuZed+F7N0+IzU7INd0Djs8jHfWek89pUM8VTTyYfM PYTg== 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:in-reply-to :references:mime-version:dkim-signature; bh=3t8eO6TrPLunxm/ZNbaRq3mczu/6c1Oc/NxBX2KRXH4=; b=r6DxV8bH6HFofJrPFS8G/FnriZyPPnSXSGZlgFEUj26ik1SB2dWLgDi4QpBS+C/WZ3 xT16+8hXtMhDdhXpMl2brKrVYNEjDBwYzCrgdZe4zSSUPvx1vUt7SN1RvR/zQlkRkWil JRB/rF8hM6P0c7uLEVVURnEyVpLYQOxYinE6Q3bgW0b+dkHOnFEUb9b1WbzHfAIENHm8 aPki5JCCvXhx+Ev8lKxts1A58zhgc8tVs1VxG/LuQuCGMJt5WGmmGKmLJsZn3y3sfM/D pOjeTxNZhBKkGyHs6EG2BsBFQ6YMeojt879lOD1S64jU7+tprBhDfZ7ehTZO+MSTdpP5 kVJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=GWgpBm78; 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 c24-20020a2ebf18000000b002675d3d2b38si9292768ljr.349.2022.09.08.09.46.35; Thu, 08 Sep 2022 09:47:05 -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=GWgpBm78; 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 S231357AbiIHQ1q (ORCPT + 99 others); Thu, 8 Sep 2022 12:27:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231251AbiIHQ1n (ORCPT ); Thu, 8 Sep 2022 12:27:43 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585F1FF08A for ; Thu, 8 Sep 2022 09:27:42 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id q7so28653151lfu.5 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=Yho32ZUvfW3I7WkO4CDWCvY/EK8tbN6CwFmitE016Klpcf/qhMQH+lZ5upl79oKWn7 giB8Vghld57vNPVsCZm7cnbvEFwIP+EWGCIiQHD3rh76xs3u/TGhWrGwUbRA1uFidfgH NJMJdx2+5fX5X5uqbSqGEM8MpL34BLDrJXhgt1Y9PVmgmdHqyHoi+iazqfWDas9reKub o5Utp/7aesTtCsSC/QvdPd5f6sXeio8BHHcpaVRPYej3ur0IsVILrZWVS4uQoqJ0Yl5f 3ee2SI5MQgoGvfSbOLjWM1BsHwBPospOpg+JS4EuO16SJWEIqmlpbq3Wx38DhPqyKCCU yuqg== X-Gm-Message-State: ACgBeo2P0Uu/FzHcl9KwqT92ntlAW2f3egm4yxuHCI8NU2BHkuc54/sT rb87bV9ZWZqMwYl+Q7tcnDVWOqN58cD3PVuVaZEAsw== 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" 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,T_SCC_BODY_TEXT_LINE 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 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%) > > >