From patchwork Mon Nov 7 15:57:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Gondois X-Patchwork-Id: 16567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2159173wru; Mon, 7 Nov 2022 08:36:05 -0800 (PST) X-Google-Smtp-Source: AMsMyM4bA6pEfGBsXXSpvEp5dBxMlhaO21AQQBbxh8jw3ATRyAGah0znD4W/TxLi7a229p3XslQ+ X-Received: by 2002:a17:903:22c9:b0:187:29fe:bda8 with SMTP id y9-20020a17090322c900b0018729febda8mr40437762plg.40.1667838964796; Mon, 07 Nov 2022 08:36:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667838964; cv=none; d=google.com; s=arc-20160816; b=vcnKpynb35N6Z2+WhZYVDQjwygESPIO4Fr81jpiJeZnNgHug/q9a4sZRNw7jsS2RKu EZUbp2rd8ITYtUHqaXxK9qxnZPTMCRVxx2XLPbRkm188Jp40gEab3F8HsYbUI7DpUGMc Pva2yYcjG6dskWbAW14PRdpL3nfYshwMmal67ztr0WIKut4kc0L5/9dzhUUD65OEo9xT vLGI9NiJ8EVR4SrxaD7RXZYmhIO3enUkc9Ii84r1rq3sMuyrmhWORz/zcVONN2ZBNyYD m3Y0UYVcJ1Yn1OWnh4GqcnH06ytu5NwprU1PN58Z64kQ/CNw+dotcWWEwVvP2qAQwJ3u NQsg== 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=uoPJyz6gkcnWG2Kv44eflZKIDyHWhpzJmV36RgBBDjc=; b=cDZwwvK8KbykHnuZrNrC4/nZu76gx16PBcdJhDFj04Dt1rqLSM5ZFGEGD8fFvI+dLP nGsqVHoOyjg2LrvGZ560xIWTuAcLBzl+TI1AAmTwfRzwTlr36tkWeu+FToy2oJ5WmSMp ahSbw6Snf4S2hfEvMhZoyqry+HULi2RxWAjIj6GIQVd/QXfqawvcPr/R7o5iQAnim8OK zY0RyCxvjB9eJCUx9TqfeEQgIEZmIphDXh1x74mW3MWQKUHTJAQxW2ROQ1PzJ3bvhNzO rSBA1FcVaj4+HDKpeeSZJZsl2YmxBbhAdBqnt6fqK/PePmkqw3q3GhlEVsKQLkGvaFmN r3cA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020a63e111000000b004600ab82237si10440747pgh.293.2022.11.07.08.35.47; Mon, 07 Nov 2022 08:36:04 -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 S231858AbiKGQfE (ORCPT + 99 others); Mon, 7 Nov 2022 11:35:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbiKGQfC (ORCPT ); Mon, 7 Nov 2022 11:35:02 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 956762F5; Mon, 7 Nov 2022 08:35:01 -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 795B223A; Mon, 7 Nov 2022 08:35:07 -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 C5A693F534; Mon, 7 Nov 2022 08:34:45 -0800 (PST) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: Pierre Gondois , Jisheng Zhang , 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?b?UmFmYcWCIE1pxYJlY2tp?= , Alim Akhtar , Shawn Guo , Li Yang , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Chester Lin , =?utf-8?q?Andreas_F=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 , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Viorel Suman , Abel Vesa , Peng Fan , Shenwei Wang , Ming Qian , Tim Harvey , Lucas Stach , Adam Ford , Li Jun , Richard Zhu , Markus Niebel , Marco Felsch , Marek Vasut , Laurent Pinchart , Joakim Zhang , Paul Elder , Alexander Stein , Martin Kepplinger , Joy Zou , David Heidelberg , Liu Ying , Oliver Graute , Zhou Peng , Shijie Qin , Haibo Chen , Jacky Bai , Wei Fang , Clark Wang , Chris Packham , Vadym Kochan , Sameer Pujar , Mikko Perttunen , Akhil R , Sumit Gupta , Prathamesh Shete , Diogo Ivo , Vidya Sagar , Ashish Mhetre , Johan Jonker , Christopher Obbard , Ezequiel Garcia , Aswani Reddy , Shashank Prashar , Andi Shyti , 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 21/23] arm64: dts: Update cache properties for synaptics Date: Mon, 7 Nov 2022 16:57:14 +0100 Message-Id: <20221107155825.1644604-22-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748855910628468886?= X-GMAIL-MSGID: =?utf-8?q?1748855910628468886?= 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 Reviewed-by: Jisheng Zhang --- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi b/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi index 0949acee4728..926da7e1a6ba 100644 --- a/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi +++ b/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi @@ -64,6 +64,7 @@ cpu3: cpu@3 { l2: cache { compatible = "cache"; + cache-level = <2>; }; idle-states {