Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2044977rwb; Mon, 7 Nov 2022 08:31:55 -0800 (PST) X-Google-Smtp-Source: AMsMyM4GB8Dsv339pT9veapYytCIFcMCeO5Jwx9lijCTWUco36+yLS2OkPXPnfQQ+tqCXGZ7muk8 X-Received: by 2002:a63:d1b:0:b0:42b:828b:f14a with SMTP id c27-20020a630d1b000000b0042b828bf14amr44578207pgl.235.1667838715680; Mon, 07 Nov 2022 08:31:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667838715; cv=none; d=google.com; s=arc-20160816; b=Y4KHrC0TBW7+u0Lir52mp3GIozgXvw8lX3pCoMWQQw7cUZJWjn2s3XnCwpfu/gKqel l7e+oR7n2ln0FgbJDsGqfwBujAEgT/yFjAqJcnFAR2ngf3GpeKoAWYoetZ0MayiY7obB qjWj5cTEpahXCiU3TNiFexBDhiJjIBkTWnPzpLwYgNkc/zrBs1QL+M3FIJA1tRVAdlwd T1cVeMBRuv8sVYr2BGV+Nd+3Qe1T1dB21ivWH2vBUv+9+ZjknSBOszaBovBV1JqXyds8 YyoeyoEd6sW5zWMG0fB6wsR4TmEkpiYgw6JLtg5O30YILIKEu47oI0VFumCfphpJX/7c 76gQ== 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=mQfCbUejSJk/Lr9NjHPRf3NV7G1b3dBH91tyF/FG4UY=; b=iNfV+XytT8nWLYWPYSyNrusxa2ltQa+utzzN8HF2PtwIaRiUXoRKSHtg1rbRog6/QI ZERk9qxkX2+nLTkPUSavQfu8/o4JkEE962WV+DPn0STkE5UXpHt20ODF2HSjKaiM2Egw dKdRl4NVF26nsK1UIc8mpEodym/Zi9LOioCWNz3iz0PYMTqxG2SNkbsv7w+N8TaghOOx zG3bjiN0ga+E950nUQn/WNmzCGRx6MvTNjhsscZl+ZQiyW9jXi5p7OIRGN3YPbOgtHJd GjmNwcv4m8gm/TMJisWO3uuadiB9F8P41Pd4OYev/jGZlQtQhj7rhYOv/ODUh737rJrS 62RQ== 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 nn4-20020a17090b38c400b0020ad8a730dbsi11659673pjb.58.2022.11.07.08.31.41; Mon, 07 Nov 2022 08:31:55 -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 S231922AbiKGQTI (ORCPT + 92 others); Mon, 7 Nov 2022 11:19:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232491AbiKGQTB (ORCPT ); Mon, 7 Nov 2022 11:19:01 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F34220BC5; Mon, 7 Nov 2022 08:18:17 -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 1A6AF1FB; Mon, 7 Nov 2022 08:18:23 -0800 (PST) Received: from pierre123.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6C1C13F534; Mon, 7 Nov 2022 08:18:01 -0800 (PST) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: Pierre Gondois , Rob Herring , Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , Tsahee Zidenberg , Antoine Tenart , Brijesh Singh , Suravee Suthikulpanit , Tom Lendacky , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Khuong Dinh , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , William Zhang , Anand Gore , Kursad Oney , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Alim Akhtar , Shawn Guo , Li Yang , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Chester Lin , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Matthias Brugger , NXP S32 Linux Team , Wei Xu , Chanho Min , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Thierry Reding , Jonathan Hunter , Andy Gross , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Magnus Damm , Heiko Stuebner , Kunihiko Hayashi , Masami Hiramatsu , Jisheng Zhang , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Viorel Suman , Abel Vesa , Shijie Qin , Zhou Peng , Peng Fan , Ming Qian , Shenwei Wang , Adam Ford , Tim Harvey , Lucas Stach , Richard Zhu , Li Jun , Markus Niebel , Marco Felsch , Marek Vasut , Laurent Pinchart , Alexander Stein , Paul Elder , Martin Kepplinger , Joakim Zhang , Joy Zou , David Heidelberg , Liu Ying , Oliver Graute , Dong Aisheng , Jacky Bai , Wei Fang , Clark Wang , Chris Packham , Vadym Kochan , Sameer Pujar , Akhil R , Mikko Perttunen , Sumit Gupta , Prathamesh Shete , Diogo Ivo , Vidya Sagar , Ashish Mhetre , Johan Jonker , Christopher Obbard , Ezequiel Garcia , Aswani Reddy , Shashank Prashar , Bharat Uppal , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, openbmc@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-realtek-soc@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH v2 10/23] arm64: dts: Update cache properties for lg Date: Mon, 7 Nov 2022 16:57:03 +0100 Message-Id: <20221107155825.1644604-11-pierre.gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221107155825.1644604-1-pierre.gondois@arm.com> References: <20221107155825.1644604-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/lg/lg1312.dtsi | 1 + arch/arm64/boot/dts/lg/lg1313.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index 78ae73d0cf36..25ed9aeee2dc 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -48,6 +48,7 @@ cpu3: cpu@3 { }; L2_0: l2-cache0 { compatible = "cache"; + cache-level = <2>; }; }; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index 2173316573be..db82fd4cc759 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -48,6 +48,7 @@ cpu3: cpu@3 { }; L2_0: l2-cache0 { compatible = "cache"; + cache-level = <2>; }; }; -- 2.25.1