Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6871715rwr; Wed, 10 May 2023 00:02:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7UTHdMSq25bJUAN74F3v0OhzaFYTolHCYIofC0eA6QhYl4nilLXCmEN89gmvzPD3sIwqF9 X-Received: by 2002:a17:902:d2c9:b0:1ac:61ad:d6f2 with SMTP id n9-20020a170902d2c900b001ac61add6f2mr13736834plc.5.1683702179003; Wed, 10 May 2023 00:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683702178; cv=none; d=google.com; s=arc-20160816; b=zkuzMG5zVyhfZvNmvM2PplAhknyek53Wh5sINhf8tuEMUnvsTrAMXQTxjBCNgyQUgF NlGM6+H9P8fS0PTu+d0cmzGoy72BKtZS5UVmbcHm8W+5yfrxlSiRcyLtfqhR0j+zC6IB zQsJDYAIxBKFR/9fstJQ3V62O9eBGpoBEamtAzMY11S3ihCjwP3pLPya3oUs9AL3EGfA zyAl9rOtD+/BoDscQgRHlrazRc7VTYEGbfXxbJNRXmhhLmEXVOBxDWKjsZRXDBQSRg/X WHgG/0S2zklqg0eOpkznfZKuX+8GoiSL2gXXCreQOLIawqnzqbwjYciil4M97fRPaAIH oxwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J8+eSiB5ZLc+AfzOcX475TUTd6SBY1W7zoq+Eq9Psfs=; b=A4IZc+5v/SKd57u43My7KqJj6E/VG4n4q8x7JeuLl7uH/K1qgeBxPrPQUOv9Vt3PdA r/EoIF+0bpkQfT9TDOLyprw8uA+bv3pi5oE6TySGICVZl7UVEQauYv1a8MySW1NIoqW9 WRtpbI1xnHOoIFrqOs5JjcD1NLPvdhOAOIYq8gtR+LQkryaXXcHEz2B7ofyNEGd93a0Z FeSEsrBUM3/z2C/WhSq+tvSWCIlDQovRDgH/UQlGOeGDK0+1tR9R/w6jysyiZ0GtUPk8 aV5hYxnT/OhiPCls51McXREAGO3yipdrN14SpLRq3aU6qnur46M3pv9tFOwid6+Ad6Qr ZXUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=PuFbFpEj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a170902ce8c00b001ac7b1ddba1si3302142plg.458.2023.05.10.00.02.47; Wed, 10 May 2023 00:02:58 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=PuFbFpEj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236266AbjEJG6T (ORCPT + 99 others); Wed, 10 May 2023 02:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236208AbjEJG6Q (ORCPT ); Wed, 10 May 2023 02:58:16 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E05C7693; Tue, 9 May 2023 23:57:56 -0700 (PDT) Received: from pendragon.ideasonboard.com (softbank126090219015.bbtec.net [126.90.219.15]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 51741547; Wed, 10 May 2023 08:57:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1683701868; bh=7+/BXts4qDsEHDqAfZ4l9gAHxpVe8kPgSlt0NSiOyS0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PuFbFpEjeSeT1D11a6LOhy8cDMe1K7vQ3ZdSTFa1t8ccFPGCVNsxqRwX29xlc9skO 4tHZoar+ch28sXVYQDZtAdQ1HoMDkst2B1GmVicdY1xi87LpB0BjFE9n26B5RR7fZx NW1jzJODc3OUdPJ2c/b+bAVZ+b7fZzz16rT7+4Sk= Date: Wed, 10 May 2023 09:57:50 +0300 From: Laurent Pinchart To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Radhey Shyam Pandey , Harini Katakam , Krzysztof Kozlowski , Mathieu Poirier , Michael Grzeschik , Rob Herring , Robert Hancock , Tanmay Shah , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 05/23] arm64: zynqmp: Add L2 cache nodes Message-ID: <20230510065750.GD11711@pendragon.ideasonboard.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Michal, Thank you for the patch. On Tue, May 02, 2023 at 03:35:33PM +0200, Michal Simek wrote: > From: Radhey Shyam Pandey > > Linux kernel throws "cacheinfo: Unable to detect cache hierarchy for > CPU 0" warning when booting on zu+ Soc. To fix it add the L2 cache > node and let each CPU point to it. The commit message should focus on how this change brings the DT in line with the hardware, not on what the Linux kernel does. > Signed-off-by: Radhey Shyam Pandey > Signed-off-by: Michal Simek > --- > > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > index bb0d0be30aa0..c2d80c7967e9 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > @@ -33,6 +33,7 @@ cpu0: cpu@0 { > operating-points-v2 = <&cpu_opp_table>; > reg = <0x0>; > cpu-idle-states = <&CPU_SLEEP_0>; > + next-level-cache = <&L2>; > }; > > cpu1: cpu@1 { > @@ -42,6 +43,7 @@ cpu1: cpu@1 { > reg = <0x1>; > operating-points-v2 = <&cpu_opp_table>; > cpu-idle-states = <&CPU_SLEEP_0>; > + next-level-cache = <&L2>; > }; > > cpu2: cpu@2 { > @@ -51,6 +53,7 @@ cpu2: cpu@2 { > reg = <0x2>; > operating-points-v2 = <&cpu_opp_table>; > cpu-idle-states = <&CPU_SLEEP_0>; > + next-level-cache = <&L2>; > }; > > cpu3: cpu@3 { > @@ -60,6 +63,12 @@ cpu3: cpu@3 { > reg = <0x3>; > operating-points-v2 = <&cpu_opp_table>; > cpu-idle-states = <&CPU_SLEEP_0>; > + next-level-cache = <&L2>; > + }; > + > + L2: l2-cache { Shouldn't labels be lower-case ? > + compatible = "cache"; > + cache-level = <2>; > }; > > idle-states { -- Regards, Laurent Pinchart