Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp378338rwi; Mon, 31 Oct 2022 02:35:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM46Im85gJCHiY0+kqSDs0zG1y9IOZeR2+OfAr8nqYOtZITP6GsiPxIeTfKz+Kx6XusL3iHs X-Received: by 2002:a17:906:7944:b0:73c:838:ac3d with SMTP id l4-20020a170906794400b0073c0838ac3dmr11885697ejo.242.1667208947992; Mon, 31 Oct 2022 02:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667208947; cv=none; d=google.com; s=arc-20160816; b=JRG3QIIXCT/L9ZuQbIh1lb+x0abXV38UeM0iRgder3wqkvRbVdxSZlNIuTVQw7ch6h aYmHEtqUZpY4GkoHwVpRc5bTyaarOHN+QZG5O0td5II/sOk2A5eD8O5KjijmnN40GS+V NfvOrNDdq75scBbCcNRhVkYiQF0Rzz0GsbnXlMS8aTZgsTVmpQljQA8xhZNNjOq+CpGz 4qV4Nl7xQt32t/eJI1J2l+QaQZ7ss4dDoopl6qZhWfO4CCfW2RVxeLc7SDjM4q5TOgqf i5OK7tfncYenXet8NkfmVan3GnJRmZtKjHNXzGy0UzpxWvVAjhE/xZJKqj4Ond60pXQI 7hXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7EazCfZ0hTC/R9RoZPVnUzrerqCstOSV7+G8DaxM3Y4=; b=nTX/fujM87EnKa7D4v/ypgCY7cZwyRxufSxKvUCYACR4SvkBTkVKuwAyJ8dA7lDgl6 x3JiZICTQkKwJMcRuOb4jQa6xPTDkUC3jWrPbHeF8cCxc6+fHaPR8VDvUuYoIDKqOkiA FiVa1OelZ2QlRnQ+Mpfa3iY/nxhCqNrZ5+8zulKjyBGu6CQ2T5D9N+8XRC8igguCGXD+ FTY9OrNEpSL6BaYLxz4Ld+2G173BevHEorOG/6h//7BUuRp+Yy+ZciPfnZ5QGCCpbqO6 M+OJeT5vv1RvDmwTPzN/hTjgTkTEPTkekWxnk7zE1eCGy4+iFeEMzhbErjMHqixavPXh 6JXQ== 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=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd30-20020a170907629e00b0078d2848bca9si7911485ejc.704.2022.10.31.02.35.23; Mon, 31 Oct 2022 02:35:47 -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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230102AbiJaJTI (ORCPT + 99 others); Mon, 31 Oct 2022 05:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbiJaJTC (ORCPT ); Mon, 31 Oct 2022 05:19:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE3F8BE3F for ; Mon, 31 Oct 2022 02:18:59 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B60CC1FB; Mon, 31 Oct 2022 02:19:05 -0700 (PDT) Received: from pierre123.arm.com (unknown [10.57.7.107]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C5BF23F703; Mon, 31 Oct 2022 02:18:57 -0700 (PDT) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: pierre.gondois@arm.com, Rob.Herring@arm.com, Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 00/20] Update cache properties for arm64 DTS Date: Mon, 31 Oct 2022 10:18:48 +0100 Message-Id: <20221031091848.530938-1-pierre.gondois@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Align arm64 DTS to the DeviceTree specification v0.3 regarding cache properties. The patch-set mainly adds 'cache-level' or 'cache' compatibility properties. For one qcom DTS, level 1 cache nodes are removed as they should be in the cpu nodes. On another node, it seems that the 'cache-unified' is under-used. cache-unified: If present, specifies the cache has a unified or- ganization. If not present, specifies that the cache has a Harvard architecture with separate caches for instructions and data. Only a few l2 cache nodes have this property, and in the absence of [|d|i]-cache-size properties (or other), the cache is assumed to be split. The l2 cache of the Rockchip RK3308 platform is thus assumed to be split: l2: l2-cache { compatible = "cache"; cache-level = <2>; }; when the platform datasheet advertises a unified cache. No modification/check was made to correct that due to the lack of cache information for most platforms. Pierre Gondois (20): arm64: dts: Update cache properties for amd arm64: dts: Update cache properties for amlogic arm64: dts: Update cache properties for apm arm64: dts: Update cache properties for arm arm64: dts: Update cache properties for broadcom arm64: dts: Update cache properties for exynos arm64: dts: Update cache properties for freescale arm64: dts: Update cache properties for hisilicon arm64: dts: Update cache properties for lg arm64: dts: Update cache properties for marvell arm64: dts: Update cache properties for mediatek arm64: dts: Update cache properties for microchip arm64: dts: Update cache properties for nuvoton arm64: dts: Update cache properties for nvidia arm64: dts: Update cache properties for qcom arm64: dts: Update cache properties for realtek arm64: dts: Update cache properties for renesas arm64: dts: Update cache properties for rockchip arm64: dts: Update cache properties for synaptics arm64: dts: Update cache properties for tesla arch/arm64/boot/dts/amd/amd-seattle-cpus.dtsi | 9 +++ arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 4 ++ arch/arm64/boot/dts/apm/apm-storm.dtsi | 4 ++ arch/arm64/boot/dts/arm/foundation-v8.dtsi | 1 + arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 1 + .../boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts | 1 + .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 1 + .../boot/dts/broadcom/bcmbca/bcm4912.dtsi | 1 + .../boot/dts/broadcom/bcmbca/bcm63146.dtsi | 1 + .../boot/dts/broadcom/bcmbca/bcm63158.dtsi | 1 + .../boot/dts/broadcom/bcmbca/bcm6813.dtsi | 1 + .../boot/dts/broadcom/bcmbca/bcm6856.dtsi | 1 + .../boot/dts/broadcom/bcmbca/bcm6858.dtsi | 1 + .../boot/dts/broadcom/northstar2/ns2.dtsi | 1 + .../boot/dts/broadcom/stingray/stingray.dtsi | 4 ++ arch/arm64/boot/dts/exynos/exynos5433.dtsi | 2 + arch/arm64/boot/dts/exynos/exynos7.dtsi | 1 + .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 + .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 + .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 + .../arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 4 ++ .../arm64/boot/dts/freescale/fsl-ls2088a.dtsi | 4 ++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 1 + arch/arm64/boot/dts/freescale/s32g2.dtsi | 2 + arch/arm64/boot/dts/freescale/s32v234.dtsi | 2 + arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 + arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4 ++ arch/arm64/boot/dts/hisilicon/hip06.dtsi | 4 ++ arch/arm64/boot/dts/hisilicon/hip07.dtsi | 16 ++++++ arch/arm64/boot/dts/lg/lg1312.dtsi | 1 + arch/arm64/boot/dts/lg/lg1313.dtsi | 1 + arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 1 + .../boot/dts/marvell/armada-ap806-dual.dtsi | 1 + .../boot/dts/marvell/armada-ap806-quad.dtsi | 2 + .../boot/dts/marvell/armada-ap807-quad.dtsi | 2 + arch/arm64/boot/dts/mediatek/mt8192.dtsi | 3 + arch/arm64/boot/dts/mediatek/mt8195.dtsi | 3 + arch/arm64/boot/dts/microchip/sparx5.dtsi | 1 + .../boot/dts/nuvoton/nuvoton-npcm845.dtsi | 1 + arch/arm64/boot/dts/nvidia/tegra194.dtsi | 10 ++++ arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 + arch/arm64/boot/dts/nvidia/tegra234.dtsi | 30 ++++++++++ arch/arm64/boot/dts/qcom/msm8953.dtsi | 56 ------------------- arch/arm64/boot/dts/qcom/sc7180.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sm6125.dtsi | 2 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sm8250.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 9 +++ arch/arm64/boot/dts/qcom/sm8450.dtsi | 9 +++ arch/arm64/boot/dts/realtek/rtd1293.dtsi | 1 + arch/arm64/boot/dts/realtek/rtd1295.dtsi | 1 + arch/arm64/boot/dts/realtek/rtd1296.dtsi | 1 + arch/arm64/boot/dts/realtek/rtd1395.dtsi | 1 + arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 2 + arch/arm64/boot/dts/renesas/r9a07g043.dtsi | 1 + arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 1 + arch/arm64/boot/dts/renesas/r9a07g054.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3308.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1 + arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 1 + arch/arm64/boot/dts/tesla/fsd.dtsi | 1 + 72 files changed, 238 insertions(+), 56 deletions(-) -- 2.25.1