Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2840022rwb; Mon, 5 Sep 2022 02:17:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR58JiP5HY+6TNsPADHonlpQcIVozRvHmyMC4GHO2PGhpZ/OOT8DzDAu/HTKCaFjL65/7xyb X-Received: by 2002:a05:6402:17c7:b0:44e:8bd8:73ca with SMTP id s7-20020a05640217c700b0044e8bd873camr2859729edy.141.1662369452555; Mon, 05 Sep 2022 02:17:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662369452; cv=none; d=google.com; s=arc-20160816; b=GsayUWzlv661VHo9Bb73PQKk7o7R4subwe7JxMUgEIcex41HCn3A3c4nQggqIl6aox FwiiYFk4khhP+1XMNbVHGEU7HsHDpSboxdR1axa9ZIbeCcZTXuYUEFIDF/R5xWhdme1g Y+iHNi7ji/sspzFoqLiVMVA6AnlD3zxdu9Vd50pqvWSMwip8AHCEObddbCxe01DdNmqL hSX6bWauxVMFPBjR53/Z+dKKQK93SYsXneKkLiamOFGIMFawFsXboZTx5OvFaAn2kKvL LDCa40ahRJ37la9pE6CvChxP4Y9dyzFS9EFP3D43IVCyFitT76SG0xh5V2JLAWyQBNuN 0Z9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=s3hOdjxXsap0YRXvjxYWIlEI0piYVKoTC0n9P5HnS8U=; b=CLL5/+h5RpQnfAZ2uGxNpkvNi9hCCkWP6wq/J0mgUs+tJeRgGplJ8TZei2lWPi+0Fd 9PpAhKY1vf8qKiVmEIsU8wld/RRhWnAfbyGUAkfkebrEauAApp+hCcQ0nlJ30qLp702Q MG+nT6v2ycOn+bzePJhzL1eeKBepf6tRKFVpXmR9CIDIaedvumj5GECT8nICT3VLkY0o 2hUOzcdoH+TnhtoMaQFobIcw393S89BMEKs4lyhBPO09bl7czb5UqU1MOmH5sVYVFdkE MkunWvL6LX2eyVnKvaUgB3zbyjfH6jZyjg4pr4Y8O/A7W4KLPBpwm6lTfEN5aB+suvGp 29Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=VJJzPQJ1; 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 r17-20020a170906281100b0072a7a097e3csi6556360ejc.464.2022.09.05.02.17.07; Mon, 05 Sep 2022 02:17:32 -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=VJJzPQJ1; 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 S237804AbiIEIci (ORCPT + 99 others); Mon, 5 Sep 2022 04:32:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237766AbiIEIcI (ORCPT ); Mon, 5 Sep 2022 04:32:08 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F078BE9 for ; Mon, 5 Sep 2022 01:31:32 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id v5so7854793plo.9 for ; Mon, 05 Sep 2022 01:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=s3hOdjxXsap0YRXvjxYWIlEI0piYVKoTC0n9P5HnS8U=; b=VJJzPQJ1cWBEZK1HBWOn5P3vqsLLo9JWaWwO7q2CaasS7NEA3XlpZk4YrMbS0ioQmx 2DUmKBWzVSo+TcyoNxbeoUPYTGV5zRpvAK88DxEdKCpeltfsC1tR14akp28UetRl3iu0 XeNtjMnphRjAPxDSYQYmMfiyTFe/k/YOPhufSCMz5yM9rBUupijYpLpOoiKHXN+Ke+1T DFdXIBPXkmhEazPMWS9qvAiEJvTkBl2PBA98xz2lgeMQlFXLwzhpHfWCLZfcpqiafDpd aY8s5bh12f0Z3IJJbQzwPfk92ut5OVuOlIm/FXXh17AZX7mPSC66s4M6bmkTNx5Nhv7J b1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=s3hOdjxXsap0YRXvjxYWIlEI0piYVKoTC0n9P5HnS8U=; b=BjJROBygnrUtJegk1m6E9l0ns+mv/DNNpQeKjSeUo5phs4Z9IHV7Jjrsq1viVW+Xye Zb6b41joD3CoOaiIEbr63YNT8Lz9z4GyTf1VFqRmMRwC7ZyYhlaTMdk6xyF80KVmQksC vb0MNIPHpCtTv6P93vNFrbVk12Lp/B18bpcDy7IrTFohHkOwXkxAN3FbrKWOGBOuG8Jc Lb2vfVLDQO6wysM87xIbCth/0y7uw3elaNdMz/QdDXKUps2dCnk8NfiborwyqEMfN+pf bm5V32oDlFriXtQRvctI6InE3N42LrjXlqAEu7r8mYCyjUVuQxMoa8Fm9KNRTO5DnQsE /8FQ== X-Gm-Message-State: ACgBeo1TCSvdCWJvxecJOdSbQHRbydOejiZ+Xsjtf1x2hQfHbOGteyJD vJXzODpIlh9UTybb7qnkdE4CRg== X-Received: by 2002:a17:90b:1b52:b0:1ff:f536:1f3c with SMTP id nv18-20020a17090b1b5200b001fff5361f3cmr17807344pjb.232.1662366691713; Mon, 05 Sep 2022 01:31:31 -0700 (PDT) Received: from localhost.localdomain (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id y3-20020aa79423000000b00537dfd6e67esm7089721pfo.48.2022.09.05.01.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 01:31:30 -0700 (PDT) From: Zong Li To: 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, ben.dooks@sifive.com, bp@alien8.de, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Zong Li Subject: [PATCH v2 0/6] Use composable cache instead of L2 cache Date: Mon, 5 Sep 2022 08:31:19 +0000 Message-Id: <20220905083125.29426-1-zong.li@sifive.com> X-Mailer: git-send-email 2.17.1 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 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/ Ben Dooks (2): soc: sifive: ccache: reduce printing on init soc: sifive: ccache: use pr_fmt() to remove CCACHE: prefixes Greentime Hu (1): soc: sifive: ccache: Rename SiFive L2 cache to Composable cache. Zong Li (3): dt-bindings: sifive-ccache: change Sifive L2 cache to Composable cache soc: sifive: ccache: determine the cache level from dts EDAC/sifive: use sifive_ccache instead of sifive_l2 ...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} | 183 +++++++++--------- .../{sifive_l2_cache.h => sifive_ccache.h} | 16 +- 7 files changed, 136 insertions(+), 113 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} (34%) rename include/soc/sifive/{sifive_l2_cache.h => sifive_ccache.h} (12%) -- 2.17.1