Message ID | 20221031092011.532395-1-pierre.gondois@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2203143wru; Mon, 31 Oct 2022 02:21:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5PvZQg73rx5QNlyT61C3LzJ9lTDr0WfEw73ZGiNnpx2jcrK3TtbpPd7ke7/9m8tf+7mgjx X-Received: by 2002:a17:907:2705:b0:7ad:855d:1050 with SMTP id w5-20020a170907270500b007ad855d1050mr12071860ejk.443.1667208107720; Mon, 31 Oct 2022 02:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667208107; cv=none; d=google.com; s=arc-20160816; b=aEq+LkEm5ftCuvDJhq0BytnonYD+jfP1zyHktv1CVHeAoLtGreeyzG4NINubE+RKjU inVqSRVTMqqqWuVwZHsB/+slUFa4ggVJbqYjW+dHBSbnIrH7d+xttvtsx3H6465rO+G0 WS25YuKGr/8VjayE4ab7iGzOGiBjLT4F+XkCUxyZ0ewMyK2zG00lXERO05qWrYtoWvY/ 7VQMk3D3pSWjmpleqBpRbE49+veKDg9Aq38ZYx+GM6jcSStOe6KZ3Ks7qmCazl1pGZ6j 1sQqbYTIcdL/j75ASltoIQRN+oJtsQvNZQJI9llhztk1VLCTYDp01R9nVREuslOb5i9q QzOw== 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=L7AoLV+YTkgeXLkhkB5uTg/IkKPDlkTKCyr0Kyth1fs=; b=s4sijt9Q4fjKlw7GDtXh0HbNsdVJ2SHUjVKnXmxwLUUNptuCKw4tNGo9pA9AudHhbM BhgZJxZmPJ9d2HsjEM90JpLLUAbnKaufDxJgbEl0KNCQDLQ/Vv7rz0EB3ExFsNeiB0RJ Ky/3CsTkpJDpkREXVFGnjndXBKwPEv6HW1EmBEAxcVELdwmRSdgVeJ91cG1FCxKWUwlM TCbIF8MUwCeNsZEJt3qu+/oEHtomuFpKo3WHt6WAtaCYSSCvBKTneVoJGbHIGt+khbzt 39+E2zmB39x4toSLwof5YuA52zR+MCahcvOWWnCzCVMJ/kmPMJJ27+HykqowhJKGiOmd 3Hjg== 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 m17-20020a056402511100b00461f2b974d2si7654426edd.339.2022.10.31.02.21.24; Mon, 31 Oct 2022 02:21: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 S230234AbiJaJUp (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 31 Oct 2022 05:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbiJaJUY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Oct 2022 05:20:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 71918DF07; Mon, 31 Oct 2022 02:20:12 -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 863CA23A; Mon, 31 Oct 2022 02:20:18 -0700 (PDT) Received: from pierre123.arm.com (unknown [10.57.7.107]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 19A883F703; Mon, 31 Oct 2022 02:20:09 -0700 (PDT) From: Pierre Gondois <pierre.gondois@arm.com> To: linux-kernel@vger.kernel.org Cc: pierre.gondois@arm.com, Rob.Herring@arm.com, Chanho Min <chanho.min@lge.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 09/20] arm64: dts: Update cache properties for lg Date: Mon, 31 Oct 2022 10:20:11 +0100 Message-Id: <20221031092011.532395-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748194408813379792?= X-GMAIL-MSGID: =?utf-8?q?1748194408813379792?= |
Series |
Update cache properties for arm64 DTS
|
|
Commit Message
Pierre Gondois
Oct. 31, 2022, 9:20 a.m. UTC
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 <pierre.gondois@arm.com>
---
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>; }; };