Message ID | 20221031092115.533560-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 l7csp2204169wru; Mon, 31 Oct 2022 02:24:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6s/HeJa792c92yC+FkBhjl0CdCIzNDRv3XULVLbjTy12OQQf+2ZBS2Xs+vmCr1a7I2rAGs X-Received: by 2002:aa7:dc06:0:b0:461:b683:5fba with SMTP id b6-20020aa7dc06000000b00461b6835fbamr12545903edu.72.1667208270334; Mon, 31 Oct 2022 02:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667208270; cv=none; d=google.com; s=arc-20160816; b=CqMjhQ/oDO65x8fWdjJJMsJypBXRNScir5NTpReJ1YSFjQas2itFzejD3U2klpoE5L S7LlHzZXSj9OexrgII/X8/sB8985alSLYfzFC0P4DahMpL1CFXzF9OHAzaQ8uMNzo47j b0mK+a5l2rEgkqzlUCIbQNWdaTz69d5/Gd9XpK1wCsV2Cb0z61QgnQdUB9EfR0g9OCE4 2jP/ddG+NDYpgar06mza4lYnDYNCzya5VvRkhIr746Qam8wXJnWZdTBkVE77j0SzV2ko 90RVWJ1sRKZGVg1kbA6/8vug4nz9S0/Kn86tJxZSFWEX1WBIHSTDQZjDELe7MLE9FBId 5BCA== 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=uxkIqszN4Pq2mdLdWEcVynLflVricnVPAB8ReDVzPY0=; b=RWm/Vh+bpHJs89lU7Y6kw181kEnRFgzSaChpUVPnpNezJk8VCcu9JH4tB65EQQowyU L4gkF9MnkuA9XAuD9H4Ri9eXtnwe5iE+kczAcqI/N+MiSVV2A0FURZ61aBl0VApzFskt tyBFFvdldbISZuy7t99GvUySvXN6IuPdIsCw4ZHi15w73TsKl9ou7422kJiJa2pN6NL/ gjc4F7Nn4lL9PkVV/jEH5eOhEOLdRWYy054ST6PezD5FqfIlj+NluKMjJGT3SJvngEvX wY6WaZh7DY7XClM/EbWLJIPLdDVxblzXM9AHOM6tVaRz9srtei4itf6NOcBPSG+9QwRR ZzKw== 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 sg41-20020a170907a42900b0077f4fcfe49csi8156214ejc.905.2022.10.31.02.24.07; Mon, 31 Oct 2022 02:24:30 -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 S230429AbiJaJWS (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 31 Oct 2022 05:22:18 -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 S230391AbiJaJV6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Oct 2022 05:21:58 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D22BE032; Mon, 31 Oct 2022 02:21:15 -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 09CE311FB; Mon, 31 Oct 2022 02:21:22 -0700 (PDT) Received: from pierre123.arm.com (unknown [10.57.7.107]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9112E3F703; Mon, 31 Oct 2022 02:21:13 -0700 (PDT) From: Pierre Gondois <pierre.gondois@arm.com> To: linux-kernel@vger.kernel.org Cc: pierre.gondois@arm.com, Rob.Herring@arm.com, Jisheng Zhang <jszhang@kernel.org>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.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 19/20] arm64: dts: Update cache properties for synaptics Date: Mon, 31 Oct 2022 10:21:14 +0100 Message-Id: <20221031092115.533560-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?1748194578990057292?= X-GMAIL-MSGID: =?utf-8?q?1748194578990057292?= |
Series |
Update cache properties for arm64 DTS
|
|
Commit Message
Pierre Gondois
Oct. 31, 2022, 9:21 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/synaptics/berlin4ct.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Oct 31, 2022 at 10:21:14AM +0100, Pierre Gondois wrote: > 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> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> > --- > 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 { > -- > 2.25.1 >
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 {