Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp381641rwi; Mon, 31 Oct 2022 02:39:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5935lD1V/+xZs3EunkWnLbOx9cAkOL3tV9oxd60f+DtGxS24UHRC2x27E9diyurS9NrFAu X-Received: by 2002:aa7:dcd5:0:b0:461:5fad:4215 with SMTP id w21-20020aa7dcd5000000b004615fad4215mr13187992edu.332.1667209146686; Mon, 31 Oct 2022 02:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667209146; cv=none; d=google.com; s=arc-20160816; b=DRMIw1OMmAOKp4KgtdIpX1jd4lkw8WROmDyl6XKlbyzNio6yhVEg3iqBJvhTeaA11b pV7f9DElsuq3lRCpwoeCRJANd99+Ia4jBR90dk3JleWP7j7s9xWwxLKepBc2DSrWZGvW jqlQ1iWwQipkXrKJ+8Ye96H/qigDXSLWTNJuJTpNTDe6D+NqwvfJfBIa4+sypwQs3tpl 8NBg5x62gXroyvt0u/pAmK2m5ZjrrJ/alPSiQUNs13vlT139CDUpNYHPCzt4y38ssVHU /lvFNy/PbQAoQl0e5tVgVEj4/rVUnxCAWJ5vGeU/8F2JR2aS/L4ClkQ+LEQvsS6u3GKe mBxw== 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=z4890zArxm3bI67VuSwUIMSY7gfzrkyVHj+zCFshI5w=; b=eK9Rg9+skNIsnHUgt0RlUa+W1Xl2x0i0prnO+w00+EcWHWE8JWcF+9yvCwdGmJUNkm Lq8klqIsi80BOjZcbyyAAGMEI7XBcYHom/qe7dClcWL9nEaWOtRQl3vQXky06cv6fLux CtZ85WMu1Niwss3nB8JH5OsSrNtt7OLEC9ZAW/hE3f2DgCnEqQ4EJQCXklmKWdZsIcGO YcJChlT8zXh40Uzncn0B4oT96/D4KvuiFQEFzxPa74MwjPse7X18krC7F5vbUJ3ouBmz hJ4ZBxzf0+bFrPjSAg03q1JB6Lx7xsJ1iCtFLaBOp9Ta0CbqbyWI1EXAng1tg+cTp0p+ ZDUA== 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 y15-20020a50e60f000000b0046178c62b6asi6766181edm.477.2022.10.31.02.38.42; Mon, 31 Oct 2022 02:39:06 -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 S230254AbiJaJUN (ORCPT + 99 others); Mon, 31 Oct 2022 05:20:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbiJaJTv (ORCPT ); Mon, 31 Oct 2022 05:19:51 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4A8C3DF35; Mon, 31 Oct 2022 02:19:47 -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 5754823A; Mon, 31 Oct 2022 02:19:53 -0700 (PDT) Received: from pierre123.arm.com (unknown [10.57.7.107]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AD2403F703; Mon, 31 Oct 2022 02:19:44 -0700 (PDT) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: pierre.gondois@arm.com, Rob.Herring@arm.com, Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 06/20] arm64: dts: Update cache properties for exynos Date: Mon, 31 Oct 2022 10:19:45 +0100 Message-Id: <20221031091945.531874-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 The DeviceTree Specification v0.3 specifies that the cache node 'compatible' and 'cache-level' properties are 'required'. Cf. s3.8 Multi-level and Shared Cache Nodes The recently added init_of_cache_level() function checks these properties. Add them if missing. Signed-off-by: Pierre Gondois --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 2 ++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index bd6a354b9cb5..e9eda46801f8 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -229,6 +229,7 @@ cluster_a57_l2: l2-cache0 { cache-size = <0x200000>; cache-line-size = <64>; cache-sets = <2048>; + cache-level = <2>; }; cluster_a53_l2: l2-cache1 { @@ -236,6 +237,7 @@ cluster_a53_l2: l2-cache1 { cache-size = <0x40000>; cache-line-size = <64>; cache-sets = <256>; + cache-level = <2>; }; }; diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 1cd771c90b47..aca1c32a6411 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -110,6 +110,7 @@ atlas_l2: l2-cache0 { cache-size = <0x200000>; cache-line-size = <64>; cache-sets = <2048>; + cache-level = <2>; }; }; -- 2.25.1