From patchwork Mon Oct 31 09:21:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Gondois X-Patchwork-Id: 13171 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2204385wru; Mon, 31 Oct 2022 02:24:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5pKEReFxd28kWh8S2juIy41pX/Eo8Xl1i8jrjBEBhUWD1zyJHk80qqOlaHXD9n0573lEl4 X-Received: by 2002:a17:906:9414:b0:7ad:bde1:3ccf with SMTP id q20-20020a170906941400b007adbde13ccfmr8009424ejx.543.1667208293784; Mon, 31 Oct 2022 02:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667208293; cv=none; d=google.com; s=arc-20160816; b=djjgWJgectojV+kOTJJV34waclNP0Lbk4yIAwQ0h2LAmZqrfKwDNwivVxY+ttkdT31 MxVzGOM67pGXB9tIf206ns9nrTe24TEcz3Q+aygm0hOFHvjSY21HOetBHprKtDmTs7oa eZDzidHgj2naQG2j5ivqx2L9IFfaJaovleuFebXZnAzYwK3L4IuSEpfXzPTTpK4TkhEE rfFKD3YfnblFxAGhwGN1KyVQeBWP3PuMfKHzQF/5XihjgTyY4uWKVryT2HNPGTgkaoeP mL1LVa/o3GUWIvzwSBeNMCTlJkxaUg+8y6O5cDygswR/zNrhsiLMNf/JWS+LqWZoCRtv Nbow== 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=0+KnmDTlF/3uFj1G+1xTXCP3B9LQglgNo3gvnh6QWMI=; b=hPdExjIkoBvWA3gss3qvg6L52tJbd2Wq/e16TdgQU4RWMd4Gv2NvRItdNP3P5v0shR kxa/2iWCcd4UwhQOu/MWrOfFhbdBvKbOYKb5Wzm6L2AKOYfJUx58mOvz6XTKWNTAyAqR KMxYUX3XAfhut3WCxKy+oVh36gAui4BpTJR71K1sxsfLfeIaX3EMgKxMC+63ePvKlhmX WHKIdM6Eg+X+CDByoIFP0QrRR3gKJ3rVuOofBFo76kX7TEHcvLwURORpGGH1mOVX4wI7 Ng0jdwTrF7DbqZcs14J9sEkvLv9leNS+44YtBKMmnkTt65cagsHwKGPfWtUoz8RTZ7zP Ry9g== 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 sc21-20020a1709078a1500b00770880dff50si8093485ejc.586.2022.10.31.02.24.30; Mon, 31 Oct 2022 02:24:53 -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 S230388AbiJaJWe (ORCPT + 99 others); Mon, 31 Oct 2022 05:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbiJaJWO (ORCPT ); Mon, 31 Oct 2022 05:22:14 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 24926DF4E; Mon, 31 Oct 2022 02:21:27 -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 30B51113E; Mon, 31 Oct 2022 02:21:33 -0700 (PDT) Received: from pierre123.arm.com (unknown [10.57.7.107]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9F9333F703; Mon, 31 Oct 2022 02:21:24 -0700 (PDT) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: pierre.gondois@arm.com, Rob.Herring@arm.com, Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Aswani Reddy , Shashank Prashar , Sriranjani P , devicetree@vger.kernel.org Subject: [PATCH 20/20] arm64: dts: Update cache properties for tesla Date: Mon, 31 Oct 2022 10:21:19 +0100 Message-Id: <20221031092125.533621-1-pierre.gondois@arm.com> X-Mailer: git-send-email 2.25.1 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?1748194603585814746?= X-GMAIL-MSGID: =?utf-8?q?1748194603585814746?= 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 Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/tesla/fsd.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index f35bc5a288c2..bfab040fc1e4 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -284,6 +284,7 @@ cpucl_l2: l2-cache0 { cache-size = <0x400000>; cache-line-size = <64>; cache-sets = <4096>; + cache-level = <2>; }; idle-states {