From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 065DBC433FE for ; Mon, 7 Nov 2022 15:28:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbiKGP2b (ORCPT ); Mon, 7 Nov 2022 10:28:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbiKGP20 (ORCPT ); Mon, 7 Nov 2022 10:28:26 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BFFD1E9; Mon, 7 Nov 2022 07:28:25 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 15DD56113D; Mon, 7 Nov 2022 15:28:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A75BBC433C1; Mon, 7 Nov 2022 15:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667834904; bh=LLlvsm16wNn4eDOqU2uQK53y2otx5Hg7kZ25DzZ5hu4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uzMWd02gZbMDG7EAbmSNWiOZNtt2CCO9dAMdyArdIe7+J4OspajSrj5NwnqExjbgW e5v+8XCy1OaVgiCyCLCMDnltBvfRF1VviAnXe0BlGnE4gfwoXEW/wIb0KCnYGJQeem 1+/7A0goMOaJMyhr9zBiyqQUCCSTB+LQSb5GKr+VwlQeVP1Y0VUWHZWPgK78hWyXLw 6UFaUT75xasG1iJ1a8WQZg5RShtNe5m+nPBEzyp+/Y6womBDqaQBXPIaao49deo9U/ tDWSLqdSeN7NZs17dccxlOn+yVgFBB2MDwnDlLmawxTLxTYlE7EIYmD+xSuZBh2oxj AL2/pR1Vm09FA== Date: Mon, 7 Nov 2022 23:18:40 +0800 From: Jisheng Zhang To: Pierre Gondois Cc: linux-kernel@vger.kernel.org, Rob.Herring@arm.com, Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH 19/20] arm64: dts: Update cache properties for synaptics Message-ID: References: <20221031092115.533560-1-pierre.gondois@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221031092115.533560-1-pierre.gondois@arm.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Reviewed-by: Jisheng Zhang > --- > 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 >