Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3628679pxb; Mon, 24 Jan 2022 13:54:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9eDsUuHxdisa4jxcSy2WW+6FBdt0LT+hJCBwW0iR0b0Cr7U4coRQxdbFM0aLKXlU2JaDw X-Received: by 2002:a17:90b:1c12:: with SMTP id oc18mr334650pjb.172.1643061275516; Mon, 24 Jan 2022 13:54:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643061275; cv=none; d=google.com; s=arc-20160816; b=UAoil49voACE8i2g2737hIgaGkoosizaqqJOdeKOuLobLJhlJG/GPvPMCAkRFLidf8 74LuzweRZmMYaEEx9HlNFwJBXqIX423q+67aPsjIqnOxDjLFN6bte6cnfxaYc/iYFIer jQGSmXDu2wRqbvdIFjRtYQPytf3w4fiDgpB96OMyjmidYqZyXoXw21Uz23ItooK8/6wT PwzBfT4mb21PaXzVLKPpVDPapMA9NCnIhB3/2Ke0Si2k8kB3O9UcBHudK4xHYKtoPXDl GSJtAwgAHQR5/ncMO4oMtzkK28G4l71F5SDrQDC3F6D47vWcQf50QH+bx5+1DXAuPrNb uosw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=o21njYcCAwGoiZv6O9+kdWCv/Es13iDRBQAfNVjw+1Q=; b=teDoM0luBXa1k9HUdyORztklRVSJzhGk8Sl+cnQGdkHTatW0t08nkuvzpb9ln6q8wy vEvIfXKNxXCIej6LDvmvM6TZpj+ZXZHCNx+hJiy1MDB1tpbEjUrOcjpEG3DAkBHN133U BSUE4y3lAOOU6GHyOe/D8je5aO3cdmvUj9zvVidHZGZmt1Q4/INNPnmYAe8q74Z8ek2U 9sY6y//BnqmpO6Mm1bsGZxnDxcrbgaYsZCvmAovPbwNKtWg8yoBcWzWEZlI3do/DZNqO 7WI9ZBpYqzicveH5PKu72zi2FjuSOBx7h4e3y2Utt0MOBs6JdKEblb/Y0bZF3ges3EKz wG/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hnFhl39v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a133si12695256pfa.60.2022.01.24.13.54.19; Mon, 24 Jan 2022 13:54:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hnFhl39v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1457301AbiAXVlZ (ORCPT + 99 others); Mon, 24 Jan 2022 16:41:25 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:56860 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359775AbiAXVDz (ORCPT ); Mon, 24 Jan 2022 16:03:55 -0500 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 ams.source.kernel.org (Postfix) with ESMTPS id 037DCB8121C; Mon, 24 Jan 2022 21:03:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 078DAC340E5; Mon, 24 Jan 2022 21:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643058232; bh=VKX05wfh6KhMj0LJnraims849/IJbL0sepFPZ7AWILw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hnFhl39v3Wx9Uo/TM9zcXZiiyG7R1roaw8hH6kMuMDqDnxEwVbCLMePeLsVLyZbkj 2KZQPKtbCDoXdrTT2Y/Jt11mPM8m9Wx0sWnmvE/YKSf7QDuh6dv+yGp//1hSTvNyXJ 8hKxg5RSmzMvwV2ilnPlGcAgJZeGw3qKoN5fe+Ng= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peng Fan , Nishanth Menon , Pratyush Yadav , Kishon Vijay Abraham I , Vignesh Raghavendra , Sasha Levin Subject: [PATCH 5.16 0221/1039] arm64: dts: ti: k3-j7200: Correct the d-cache-sets info Date: Mon, 24 Jan 2022 19:33:30 +0100 Message-Id: <20220124184132.769976712@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nishanth Menon [ Upstream commit a172c86931709d6663318609d71a811333bdf4b0 ] A72 Cluster (chapter 1.3.1 [1]) has 48KB Icache, 32KB Dcache and 1MB L2 Cache - ICache is 3-way set-associative - Dcache is 2-way set-associative - Line size are 64bytes 32KB (Dcache)/64 (fixed line length of 64 bytes) = 512 ways 512 ways / 2 (Dcache is 2-way per set) = 256 sets. So, correct the d-cache-sets info. [1] https://www.ti.com/lit/pdf/spruiu1 Fixes: d361ed88455f ("arm64: dts: ti: Add support for J7200 SoC") Reported-by: Peng Fan Signed-off-by: Nishanth Menon Reviewed-by: Pratyush Yadav Reviewed-by: Kishon Vijay Abraham I Signed-off-by: Vignesh Raghavendra Link: https://lore.kernel.org/r/20211113042640.30955-1-nm@ti.com Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/ti/k3-j7200.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi index a99a4d305b7ec..64fef4e67d76a 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi @@ -62,7 +62,7 @@ i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; - d-cache-sets = <128>; + d-cache-sets = <256>; next-level-cache = <&L2_0>; }; @@ -76,7 +76,7 @@ i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; - d-cache-sets = <128>; + d-cache-sets = <256>; next-level-cache = <&L2_0>; }; }; -- 2.34.1