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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C78BC433F5 for ; Sat, 13 Nov 2021 02:28:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC53C60174 for ; Sat, 13 Nov 2021 02:28:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CC53C60174 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gddrx8GvEUAk2RB+WYcBteWe5a4OloWGYwdlEd9P7Ig=; b=1OmRdd5uvhmwZt yrkL7ci2tKYFzgpAA4aJDEAedcQ1jdn1pLsjLfmPCu3SRaiVeujkNnBx2DN5rRhJuOerttTOpGb6p Kuht9hRfLe10xn7tDWA8qY7g1dWwZJhxCi6hEdN3jhkg5BvjKD84jobY15Megy6nNVWZ26bjfj8ay NDnf6yUdJgToTUZafPOTCio0VjtO8G2WpLl9Cht/K53xOcg7C4CHIrWh6GAB9qvdoRt2KCWGX1Yxw E+D13FJuPGaVu6CaMQ5wrbOErN9Ub6tDRJ5fq69fVXXaPpxMM7RM67e5MH8+F548dgG+qqG3vEd+p SKc3ATrFiScC9UqxQj4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlikO-00C3Le-Ts; Sat, 13 Nov 2021 02:26:29 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlikK-00C3LG-PB for linux-arm-kernel@lists.infradead.org; Sat, 13 Nov 2021 02:26:26 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1AD2QLrj107609; Fri, 12 Nov 2021 20:26:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1636770381; bh=NR2dJXL8YH3mZDniXHZSCA2814UrX7jc04dD4jaib38=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=euChMXKfzl4oq5aHFVa6+Ye1rdJgrH73vSEkAIkD4EyxlAyyQOyRoFcxhAM0c4u0z NF7sbZXSS+HSQ8Vj7g9/LisDcF1JlHk8ctQ0aYq/7AVqk8nolj3UsI39iBacOd/k6f A0JeBddEXOOpErJQ+6FOUcYObpZzWPT1o8c/SdyE= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1AD2QLF8027638 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Nov 2021 20:26:21 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 12 Nov 2021 20:26:21 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 12 Nov 2021 20:26:21 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1AD2QL5v087892; Fri, 12 Nov 2021 20:26:21 -0600 Date: Fri, 12 Nov 2021 20:26:21 -0600 From: Nishanth Menon To: "Peng Fan (OSS)" Subject: Re: [PATCH] arm64: dts: k3-j721e: correct cache-sets info Message-ID: <20211113022621.2fosbqvmrgeen6w7@rigor> References: <20211112063155.3485777-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211112063155.3485777-1-peng.fan@oss.nxp.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_182624_984250_FC32B292 X-CRM114-Status: GOOD ( 16.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peng Fan , vigneshr@ti.com, kristo@kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 14:31-20211112, Peng Fan (OSS) wrote: > From: Peng Fan > > A72 Cluster 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 > > So correct the cache-sets info. > > Fixes: 2d87061e70dea ("arm64: dts: ti: Add Support for J721E SoC") > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/ti/k3-j721e.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi > index 214359e7288b..a5967ba139d7 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi > @@ -64,7 +64,7 @@ cpu0: cpu@0 { > 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>; > }; > > @@ -78,7 +78,7 @@ cpu1: cpu@1 { > 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.25.1 > Arrgh.. Thank you for fixing this. Reviewed-by: Nishanth Menon I think J7200 also needs fixups. Will cross check and post additional patches depending on the ones that need it. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel