Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7101035rwb; Wed, 23 Nov 2022 02:04:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf72UyYxdDU5w+/BWFsYzu2u7wV0k+FzuIdiSZoxJNMXuMTf1GBT564YiJh5hpAIzxUDfjn3 X-Received: by 2002:a17:906:c7d1:b0:7ae:fdcd:8198 with SMTP id dc17-20020a170906c7d100b007aefdcd8198mr23940385ejb.475.1669197847242; Wed, 23 Nov 2022 02:04:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669197847; cv=none; d=google.com; s=arc-20160816; b=Q/z/pWJ9GMbM/eiXGrhPiXNE+0Wt4wxZXaI+cLTd8z/PB+ix4mDo+piTI0BlNjbj23 1K59pLqE/qxV+nHpvk5o2F+c1sp5djme/69sd0i5Oo98A2ofZALFjAh9a0DwSHor7OBL xlE+gklOkPF/5cWPoIiVQI6WlB2JJ+QC1m8iJawhjO7Dll6kpKe4bjINtdcR/hj2he9S j4pWRdCJal0kTh5mDMA3mrWviwFVOvsTMSbwXrqDpmSaMl23gsQtuwYsi9mx3z+YKoAI VpO6Sh9671mK/od4tgcmZjHg2uu+MkbBaVcSbOL2LPBcvGq4EWB3TU41SOO+R7z+gTUS e+YQ== 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=CorfjQNZGTUOtLrDrBqxxpdISTto8D/B/K1CFLAGiNQ=; b=dLgSC/B+5ADag0ryKAtPIYQ3WE3+Pjg4gZOb5jrgEUTJXrKPivMHu/s/nxGjTcRKZ9 xCyrrfB2JI9PX2GMAJM4SgWCaJkbBSqExSimcBHKsHGwbcfGtWu/OUAIeoGdlMT04l8I OdfQSxkuo5dzWi29X5boRGanOxWqNkwwwC2UqXXTCNt23vaN2NZGUuNIVyXihyL9Q6ms SBN56JXn5R4S1InlV3CfCQJ270GD2j4i8No4T0+BI7RA6lJNuIw5CasWyJ13uK4j2HvN YeQbt81b6IGzAoLFcPQgmH92z53oQXUneixuGW4pt+aU+icoVyLOx8StBbPk20fzxeUS L7BA== 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 gb27-20020a170907961b00b00787803711f9si3116035ejc.353.2022.11.23.02.03.45; Wed, 23 Nov 2022 02:04:07 -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 S236973AbiKWJCO (ORCPT + 88 others); Wed, 23 Nov 2022 04:02:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236964AbiKWJCH (ORCPT ); Wed, 23 Nov 2022 04:02:07 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7EE6E1001D8; Wed, 23 Nov 2022 01:02:06 -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 62F161FB; Wed, 23 Nov 2022 01:02:12 -0800 (PST) Received: from pierre123.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 57BF33F73B; Wed, 23 Nov 2022 01:02:03 -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 2/2] arm64: dts: Update cache properties for fds Date: Wed, 23 Nov 2022 10:01:04 +0100 Message-Id: <20221123090109.74441-3-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/tesla/fsd.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index f35bc5a288c2..d58d47618c95 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -281,6 +281,8 @@ cpucl2_3: cpu@203 { cpucl_l2: l2-cache0 { compatible = "cache"; + cache-level = <2>; + cache-unified; cache-size = <0x400000>; cache-line-size = <64>; cache-sets = <4096>; -- 2.25.1