Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp745105rwn; Thu, 8 Sep 2022 08:13:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR5sQ01spIpbNheeXpLnGYTz6ZDp8S+PZPzrvRp/Hz5bNvyK+nI5Cs5ZUZxI03h1mUdY4wZL X-Received: by 2002:a2e:740f:0:b0:26b:da32:1b9c with SMTP id p15-20020a2e740f000000b0026bda321b9cmr925606ljc.262.1662650024842; Thu, 08 Sep 2022 08:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662650024; cv=none; d=google.com; s=arc-20160816; b=nUfqFlV4M6mAyLCN1h+M4MhiM36bte4ne1rLr6T97DKDk72yrrvjKJdwjBUeuWdtK5 TVCocaqPXf64vSJBVL78u6SUnp3owvP9daYkmVEoBt710SH7Xy0Qmlb19UshCqF9J/iK MhzYh3hkB+rRDYrzRid4NKwfU4oBrjCEPvvEqOpTfGng+BcSVJ8YDQGq4stmzqyYaWCq uj1hI2+muqDvhUA6mfYStpeAn4BKAgJUEELdN/2ywuBoLuWmSbWvk8qIPNfzeH/hSUOk h28YtEjAyRkaRZxH5GlP1GUVDOUKDhpH0vbGhrZmqSxTzdyEq8UwXEhzawZpNUBYBBSp usSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=ha0C+bSRVrCJnfze+oX7CrRnjc5k1OyYXKTo3Jn7s8c=; b=bLJu1dUajMtws9LbLyrBevz87Qa+hv2F95Qd17UAU5b6Pzr7NrzeNhnv2DFw51pqvT X5FxX9uX9TbVexhH/DCel37mnQvOKGb7eUeaIRk862B32O7z0C1K+ZqamI9UJkOz9HqT dci0gufrhKtJe/d+/noiM9jy8+s4IeaocCAQlaka+oJZV9GOGeDOt8YBzQ6bU78bHcc0 r1/vnNV/nYK+396xj6hy34MXqsAm4eAX6oC6lXTbGlzVgK7q8lCFSQcZ3kpLW3erBYhx MYpRkloP+Vf0eXSYaLaQ7wFP8mUuUH5k8VoXqFoDrnmZk4c+QhKBa4uRip9LIehj8VIS ptQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=b6OSmTFR; 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 k6-20020a2ea286000000b0026ad1af002csi1650829lja.240.2022.09.08.08.13.14; Thu, 08 Sep 2022 08:13:44 -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=b6OSmTFR; 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 S232710AbiIHOvX (ORCPT + 99 others); Thu, 8 Sep 2022 10:51:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbiIHOvN (ORCPT ); Thu, 8 Sep 2022 10:51:13 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D53E4DCB for ; Thu, 8 Sep 2022 07:51:12 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id e20so26485559wri.13 for ; Thu, 08 Sep 2022 07:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=ha0C+bSRVrCJnfze+oX7CrRnjc5k1OyYXKTo3Jn7s8c=; b=b6OSmTFRch9kSSTz+Ta0LqaQz5NZSX9z6NLPWHgft6m8cIo2tiqNk165erPHJGcDao lTMXKeGOJee77p4IwEQOLjWVzyAk/SVWvF0rBWvJNOEoYLh2KbANQhRVLrYnWMoP8OEs QKPnonzkpYwxCrDr8iyWIpnkYmm/s8MADVWQJ6GC1LP2JfArmkbWhMdYgPekAdSaThgn 5KrElKBmhvACNt2aiv5VpDlmmtuiJZ3erkC7G/aG837/YMkpw61ghpvHLqZw8Sur0MrZ p7PsQzbW9hYOW8wwZ7/KQd4R9GeKHSUveJq/JISF6YgN3A/BWHkd7zQM14YJzTBdW854 RykA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=ha0C+bSRVrCJnfze+oX7CrRnjc5k1OyYXKTo3Jn7s8c=; b=1bWR4qnWVOnV4vywOGxJkOW+2AXNxERNP+r786hMsfP+2VdltHeRGfVRelLgLfh3pT Jyu+4IrYK8OEz3dhkLR6/Niy5dnlpEXdW4uWfykJy98HQ1nRZl/m7lHO18BVZZiyOnce h3ULcXJPnT/PLAj/qowF5aeuWyT3Q/1whDM33z0kmNzTYYwB0eg6SUjVKHfOuP88Gs+u GGeJi/ohGMzzaK3x8j3y0NnvddiXzg5kkzPTxgMNuHY/XPNkM1PsEzRru3tb4Tb2ASLS gxwl0Hm3G1AD2lRqZSZI7Sz0zg1gU4Px52grTModi16rPDG5XMGesopEMzCi1wYHypR1 n8oA== X-Gm-Message-State: ACgBeo1aI35pY/mZxSHKDiumSWWs6B1fnpOOd8CE4POOwRaTDbAUUbK1 CAwVNEdg0KjguGbm1wwtPu7kBQ== X-Received: by 2002:adf:db85:0:b0:225:2d24:9455 with SMTP id u5-20020adfdb85000000b002252d249455mr5579454wri.711.1662648670996; Thu, 08 Sep 2022 07:51:10 -0700 (PDT) Received: from [10.35.4.106] ([167.98.27.226]) by smtp.gmail.com with ESMTPSA id a10-20020a05600c348a00b003a31ca9dfb6sm3485742wmq.32.2022.09.08.07.51.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Sep 2022 07:51:10 -0700 (PDT) Message-ID: Date: Thu, 8 Sep 2022 15:51:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH v3 0/6] Use composable cache instead of L2 cache Content-Language: en-GB To: Zong Li , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, greentime.hu@sifive.com, conor.dooley@microchip.com, bp@alien8.de, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220908144424.4232-1-zong.li@sifive.com> From: Ben Dooks In-Reply-To: <20220908144424.4232-1-zong.li@sifive.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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? > 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%) >