Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7102036rwb; Wed, 23 Nov 2022 02:04:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4hu84Qa82iMdyLjIwXTBU+hpn4sBx14dgiNJtyrWJ/5VzDTFIG69M7PEk60EQ1dYDrX9SA X-Received: by 2002:aa7:da0f:0:b0:469:a437:ddf with SMTP id r15-20020aa7da0f000000b00469a4370ddfmr7721970eds.421.1669197896658; Wed, 23 Nov 2022 02:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669197896; cv=none; d=google.com; s=arc-20160816; b=dTIMJbzc5axkr5R8x70i+dN6PuZwuReExb2eGU7iBBgH+l4BIf3RvcDP1pdHghFX3B efYc0C5CY9UfOP2s4QcAVD6/D0fQH3a+G95mlMVhMoA4sz0IKSA6EQaHxKIwMDmQUS93 WKxNfindoMa4kyjWVLuprQ34A8Mda/V3ogmDi6spKvDdZIOiRImydjo3ziye4JBL+nIz BQvqHvcP4loo0REHaKTnmQYQvLBIG4AGh2n+L5pOJBg5ILuujGwcT1zawaffgOYzqxsF t6dp6Duy6o20Fe7Fn3SXXpKUlUG5uqG+ZzIzSpYGNDVTni3n8LEkJteE4SqyAE4XhfG9 6vPA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YLju/WwLm4KsEZUT7EMuWJYxY8BFjAT3GQH494WY0mc=; b=pXxgOJMifWN9xui3z6eEaKD3qxVd/kfvm8xiDzWNl25GFfX/mwQp6UkaPFc0EISyFH rQotD5ngL2vdG7KsM8FrEmtkuIGY4oXg/a6A1LyVmivDb9nx+q99W7EcVjdhZrommtn3 wz8WQ6ogouEL0bayiejCOOfcMUDwguMSaieSNWwnl+6wEioeOrgeu38+uJnMwdcc/c+z 8CNPAJ6Oxcy4smHtvedhVu+yntaogFz/nTiTCyCN3T1MlvvSDJgX6I+JO+iNPFZyWAsL YmNB5hsuHoj3UI13j+wt2d5BEowD2VB4nJlhY192tHgdRtRyBZGVn+4+2vkY9yO2At4H Zw4w== 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 ae12-20020a17090725cc00b007825337afeesi17263612ejc.273.2022.11.23.02.04.34; Wed, 23 Nov 2022 02:04:56 -0800 (PST) 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 S236948AbiKWJCL (ORCPT + 88 others); Wed, 23 Nov 2022 04:02:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236928AbiKWJB7 (ORCPT ); Wed, 23 Nov 2022 04:01:59 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DF6D4FFA97; Wed, 23 Nov 2022 01:01:58 -0800 (PST) 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 2960D23A; Wed, 23 Nov 2022 01:02:05 -0800 (PST) Received: from pierre123.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F0AB73F73B; Wed, 23 Nov 2022 01:01:55 -0800 (PST) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: Pierre Gondois , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Aswani Reddy , Shashank Prashar , Arnd Bergmann , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 1/2] arm64: dts: Update cache properties for exynos Date: Wed, 23 Nov 2022 10:01:03 +0100 Message-Id: <20221123090109.74441-2-pierre.gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221123090109.74441-1-pierre.gondois@arm.com> References: <20221123090109.74441-1-pierre.gondois@arm.com> 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 'cache-unified' property should be present if one of the properties for unified cache is present ('cache-size', ...). Update the Device Trees accordingly. Signed-off-by: Pierre Gondois --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 4 ++++ arch/arm64/boot/dts/exynos/exynos7.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index bd6a354b9cb5..8619920da4b6 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -226,6 +226,8 @@ cpu7: cpu@3 { cluster_a57_l2: l2-cache0 { compatible = "cache"; + cache-level = <2>; + cache-unified; cache-size = <0x200000>; cache-line-size = <64>; cache-sets = <2048>; @@ -233,6 +235,8 @@ cluster_a57_l2: l2-cache0 { cluster_a53_l2: l2-cache1 { compatible = "cache"; + cache-level = <2>; + cache-unified; cache-size = <0x40000>; cache-line-size = <64>; cache-sets = <256>; diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 1cd771c90b47..f378d8629d88 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -107,6 +107,8 @@ cpu_atlas3: cpu@3 { atlas_l2: l2-cache0 { compatible = "cache"; + cache-level = <2>; + cache-unified; cache-size = <0x200000>; cache-line-size = <64>; cache-sets = <2048>; -- 2.25.1