Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp555495rwb; Tue, 4 Oct 2022 07:38:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Yfq3Ob7Xyn1lN3VY2ZIVuY4VpI5KePZx+bH1ESGRqiKFinKJgxEZ3gjSbPgoPjNyfocZL X-Received: by 2002:a17:90b:4acf:b0:205:eef7:7716 with SMTP id mh15-20020a17090b4acf00b00205eef77716mr74272pjb.19.1664894336455; Tue, 04 Oct 2022 07:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664894336; cv=none; d=google.com; s=arc-20160816; b=RRNgfLofccVzDMuNWG6H82vQUrbh9ABNA7mcgDLvtvpVrntz5RHtNihlC00OcLYy88 Iz1cZEtwVURVeTbwd1b90jlBGjHDgCXdA4O4wiFTvWscxgR9YRcRfJtJMILZMWeV6Ttt kFZhY+Ux2uBElUMVnKms2oR5MIDFbGzcOai9e3SXVmZf6z/7DN/kmBXxNWoBJOC0ytyN OfD3hZqZH3c4rrvVtnJvugWU9RYyID8uB+fgMZrNzmOemCB6XTjVxsF0Mm+oWpHHEqGG 7JlvPs2xL9n76XTEuwsWQZW2E1m5Ov83tOpd/BUNunvi4iKtPn1rnx8eEYYQoibWcfKE cSyA== 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 :organization:from:references:to:content-language:subject:user-agent :mime-version:date:message-id; bh=Mh1vFQlsZDaOPxi3STjiiFsY5EG8L0hs1sYeUs8Uj30=; b=TC4gRAXJZGhY6k2wJw2yTMY0uOJ9FSVkdAkn0W/nZCHPUI6xsZpkhvj1gVRrH2WnQA kl9f5NAjiqbNgDiSbTfa50x7kQjZDsbULv3WVrBVPhgc2bO6g5B9qyT3a25WHIOLbRko 0dYPVg2RSWNPfdGKMLt3OkzaJ9sBmniUFhlEkLwEHpd0MLK0MyDIW7LvlAscs5HNifVa IWXcBZNsV0AUFu3rwcr+UMI8SpaYBMNHGwcUmfHnF4bUcV6vJ8gnvdgx/P6Vopv5KOW6 LVr4j2/dNcxiF0nGJOWFNfjdFNd6RUT8SooAlxmmywbGsDA1N7vUw7YG4I6OKtZkpPIZ qINA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a170902e1d400b0017cc935cdb5si10409788pla.466.2022.10.04.07.38.37; Tue, 04 Oct 2022 07:38:56 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229550AbiJDOVU (ORCPT + 99 others); Tue, 4 Oct 2022 10:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiJDOVR (ORCPT ); Tue, 4 Oct 2022 10:21:17 -0400 Received: from imap4.hz.codethink.co.uk (imap4.hz.codethink.co.uk [188.40.203.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D5E8606B3; Tue, 4 Oct 2022 07:21:10 -0700 (PDT) Received: from cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net ([86.15.83.122] helo=[192.168.0.17]) by imap4.hz.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1ofimx-009aVI-AG; Tue, 04 Oct 2022 15:20:52 +0100 Message-ID: Date: Tue, 4 Oct 2022 15:20:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v5 0/7] Use composable cache instead of L2 cache Content-Language: en-GB To: Zong Li , 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" References: <20220913061817.22564-1-zong.li@sifive.com> From: Ben Dooks Organization: Codethink Limited. In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,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 21/09/2022 06:09, Zong Li wrote: > 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. I've given this series some basic testing, so would also like to see this sorted out. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html