Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3609007pxb; Mon, 24 Jan 2022 13:26:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEusFBz9Zb5AUTK83ilVfkixTk3wdqAjcqGgaboW5fnCsZK6Nypfj3a51wYcMBiRBJHcHe X-Received: by 2002:a63:191a:: with SMTP id z26mr13101468pgl.593.1643059507576; Mon, 24 Jan 2022 13:25:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643059507; cv=none; d=google.com; s=arc-20160816; b=tvbt/tPqGKxfD+Rt1i3ppajLvjcKYmvDFO9QrAiIWPI7vmC69Y7adZxLRd9FubhfwD DDFxb40bcgh52YHfSQAuxPX+8WjDslpsfigmXJgA7g49TrsNoblgsOhoBFdZfbF+iu2Q sS037PkQwA93jbA5Qazx6/hQwrg6T0VU5SVrwMVCZsWoSngr8P6yAH/+jjcFAg0Xh340 4irKcxTrxkuj2AEgTkg1r2AD6bZMQnb8QyEn0SQni2RaiAhxEroio6dHRNAY9KYMsjK5 N77TN3TsUxz49yelgM0lhlV0cRe6FaLWTkVH+iR31vWWD9h56/dp7vqbiEpfLlse6IN8 ptfg== 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=WKm/T+583aKa2KvHtWd1DbGkQDyRZDqEf1IfIQOqxMA=; b=T4L/rbEWWYDIxv3J//6Okm/1QOO97cJwuY6jHGaZYabxwi5UIkaLQHQerfJICKyKw7 JuVUdC2h2WN5leculrjO1hLt4+3FcEMXbvr5hcstu672tlSemdGFip9aabbUom7HcCLg 9TsdKrBu0kaRrUAtVISDsWYnMeXq9/kK+ZrVW7kUv2MTolb0Vp1oKu+UFLSC4wEcaw3C g3C8c55abSUZpZJNfimnZgb0HG/jaDWIhU898jaMgFzgbsh/9ksUXesfLskXj/dmM/vs X4msIwgxr0bXsm1K4YQmdOCeefGdPE2FVvcQXoPGqGK672dYu2Jv51KcPqD9RtwhB9Vg V5qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NG+rqSsK; 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 q17si15824680pgu.398.2022.01.24.13.24.55; Mon, 24 Jan 2022 13:25:07 -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=NG+rqSsK; 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 S1443306AbiAXU4k (ORCPT + 99 others); Mon, 24 Jan 2022 15:56:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385663AbiAXUdy (ORCPT ); Mon, 24 Jan 2022 15:33:54 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B955C07E2AF; Mon, 24 Jan 2022 11:47:15 -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 ams.source.kernel.org (Postfix) with ESMTPS id 35680B8119D; Mon, 24 Jan 2022 19:47:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69EEEC340E5; Mon, 24 Jan 2022 19:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643053633; bh=4itlxwBn5EdSktaGF08AngWq/0212fQDk0X/qUiyCQ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NG+rqSsKpVaUGEblEKQpWEVZyOsAauCPJhZGiu2PUMJG4vhX8JEBku4VzcuVMb2cM n0cFOb0yqtZAljlAZK80IogWM2O4fRTvEUI1wC65dK+5le4WTonOlIRlmIxD6N67Z3 MVx025LhPJZ2WL8xBF4vjWh3yjm3uAaQI9Kv/jng= 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.10 127/563] arm64: dts: ti: k3-j7200: Correct the d-cache-sets info Date: Mon, 24 Jan 2022 19:38:12 +0100 Message-Id: <20220124184028.796715914@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184024.407936072@linuxfoundation.org> References: <20220124184024.407936072@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 081b8f3d44c44..03a9623f0f956 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