Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3977544pxb; Tue, 25 Jan 2022 00:28:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTiwO1WHX/4IW1Z6vvVnl3LF7hjDz0qWJo+z+3tG0xCD3wCBKmW3m+/4wTBe5qW5p6QH2f X-Received: by 2002:a17:902:8605:b0:149:9a25:103c with SMTP id f5-20020a170902860500b001499a25103cmr17716868plo.155.1643099330762; Tue, 25 Jan 2022 00:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099330; cv=none; d=google.com; s=arc-20160816; b=sUmdlaLOSo9X7q/X+GWMjE7rZqtpoK8lD7Mw8GdYg+gDhB5qByrL4wREP6Bm+5ioRT GmjdxPG85DnbLDwH108ZCiya7RYPSMBI4o5UPb6NXoRBM8/Ss5xi4OWdtvcbuvO3AMOL JwTK8iXWjh/xZmv9UllyL8i+rH2lLIxlhJnvbv1+4FxIRijY/TKPNRtkY+owmP0p5ocp 9sK8aavfSEWaFlYvhDWBNNuBpEfpfBkRRIHKfmFldVBLPehjPjfhzAlVy2oWlrzQyfuW xP7hbkHlH0MI+Tl4uSmUi1WD3pS67rPKhfoWk64w2SkcbfENjpgL3yM1UB1sUMYBoPLY H6xA== 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=dKi7fafRiKmy0oUcT34Dy3kXKgJOI6uALyQPKMMX5/M=; b=MT2DkC1VquXyVaNv+bSYggg41cpOJRGwwG1Hv2gVzsspStgXaqOro/c6qD/02j06Pe Dzx6WESbA8hN7yOq8wn/c2igR0l3cwPGslfb102yXlb8/1niyxcNI+zp76vVwKxlLDYh 6eOb0QlfpI1bY+3lu/p1HVpU3owfv5TlYJ7j/BvqC3AwFvX7pFuC+iAKDVMH0Xl7Ggtr AMUqLdhbKUj+u/8I3ady4jGUbQ8d+y3LEKAxyknCgWwwu5pn6WofIv7ccgaubxi07l/k zxCi9ly/f1LZVKBxYhgO8x1Q7G2twVOe05vEVoueHibtUzjN/Qc+GsZMDtWN9G7dnG9J DX4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KmCTIUej; 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 u6si13485388plq.479.2022.01.25.00.28.39; Tue, 25 Jan 2022 00:28:50 -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=KmCTIUej; 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 S3422781AbiAYCcI (ORCPT + 99 others); Mon, 24 Jan 2022 21:32:08 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:59264 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381464AbiAXUVE (ORCPT ); Mon, 24 Jan 2022 15:21:04 -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 424EEB8124F; Mon, 24 Jan 2022 20:21:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 989E9C340E5; Mon, 24 Jan 2022 20:20:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643055659; bh=eh+DNScqoIu6wXT0PfRf60yKRo2f61E+PvF2esfELAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KmCTIUejxvUuVX8K53EZmb/OLYiR6bNsjxJY/qoRHgHScD/0nJIb+u4O3VMofEeSh 9vPkXgHUUQcNOFkO0uIdAibUqO0IpXfFYLw0+d4h+R75QBd61V+AxH0NRmbsIpBlDH FGFk2NDsEbYEr94v2yxV+LBsyPyUCcrarQFyZWFQ= 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.15 190/846] arm64: dts: ti: k3-j7200: Correct the d-cache-sets info Date: Mon, 24 Jan 2022 19:35:07 +0100 Message-Id: <20220124184107.512067935@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@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 df86c36c21134..7586b5aea446f 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi @@ -60,7 +60,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>; }; @@ -74,7 +74,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