From patchwork Mon Aug 5 03:05:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13753075 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DE72DC3DA7F for ; Mon, 5 Aug 2024 02:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=OyUj/fe47xD+UYeF9QYAUOnDIv/c4LCDMeoS1QVat+U=; b=nitZ7McXg8ZPYoCKJ3eTJxvtBR aGcgJuwwPn6yPwLDCp+zj0nNHsfuaK+dyoRdeRWvagsxw14+swfNDMBSI2tC8Zc/20DY4Vv7Twd5/ qUbWX7dSKcmefWQ8zElIpSjbtXJ13r+VEm0mPuZP6a9iDxRHw+fhE/lBuYr/6QVA/PJjE1Ky6XUaE Vl/021EaeiewbRxStkb8HkMH1f+2IEHRPekF1HnRNkvVs1T0q1dIPTQZUWTSiAaD22zsbXHPQ1uWY jY+0Rp7U3l1rUfZ/tJdNId5S4jZEOdUwyJ8CM85R4+LKHvc2tyhtV0flhJAFkFx4ccxKdDK3krGmZ 2BesCUVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sanur-0000000EQha-2AhJ; Mon, 05 Aug 2024 02:57:45 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sanu0-0000000EQWD-0m4r for linux-arm-kernel@lists.infradead.org; Mon, 05 Aug 2024 02:56:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=w3DSCi4d9d8Rx8DNHs2N7Zphe0FCN2EoO97wIETHZx790G1UIky2LSzOZkqpdsI/c83yLGcxqmlRORw3+zvGG78G5mkRMAcP2W/LzuOLiMFyI4ko9u80G1QwldPBfVzjtJvvde+4i1ajrF67sv092GQENz9W+/a1qbc17YS5LW10MwnZdTPAr4uTaYUDNQbB92CbDNX9qHJhr5gox1uKNOsmubbCxClE/WVO4/fnknBnEjmHiIJzYgxrz7QEXf06ih5JNEm9/Xf0VmSsVjk0XnYCedD95Cc6+YDJXPQsJe5gm4BLiHjD0iadx2Qoh+yofyMzTMa6aqT4wNEaf//NxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OyUj/fe47xD+UYeF9QYAUOnDIv/c4LCDMeoS1QVat+U=; b=kqcy+JBU4jC8qXIzMrnNsr7xoKZeP7vcv8oWNMqroQmupvYZzt2eCIAC7mqewfGtP4EagGUrQTZI2BtSbk5/rP1GVdmZZgqEPKZIG4sR1DPEnQTkUs1NcCjBL4/Mt5qC3/je12PMgTi6Hb8AXjjNhKOZjG69b8K+0W2xP3vRaDMYkOGmCAK8+FXnS0MBu3cGOX/k8oQaZs2ZTl+/AHPqPj19Yctip35eJ5NnTwkUYMGgaZDD31qYyjX8ONTnfVX2QacG0laeB2KFCknZ+Dlo51/PoGz6jto9Z+uEIljIIAkfBN0b6rzaDxs1MHi7nUprJnhnxI8FUXBUKJSxLTT9AQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OyUj/fe47xD+UYeF9QYAUOnDIv/c4LCDMeoS1QVat+U=; b=sp9R73TrgcRngE54F6c0G8DjAgdV1BOgjlhXcZXSNT0643wD62UHvDApEyAd7kVTJRhsXeliY5hyZrYFABiJku3s6E1pa7MJIXndy+a7cBWPbqn1culwKQ+pX6EK0SwSbvo8tl8LNikz4B68YiGuA+BB/YQRF9nZa++olaaEhrCUQs/ZflZ8Q5AuBgO+7hUqt+pc6OA/Og+ovT0GY4QTWkcb+BODNhLG2iYpXOOoUM+dKg5iudRn5KJZEDWxkRN9cNmYy5WeJS6tBViOFSkb3/BQzl0KleZacmsoq5C9mf+5WYxyfzUEJ9lDgBtDnzamJoWqhjsNsZh4qHTYEeIN1A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DB9PR04MB8461.eurprd04.prod.outlook.com (2603:10a6:10:2cf::20) by AS5PR04MB9943.eurprd04.prod.outlook.com (2603:10a6:20b:67f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Mon, 5 Aug 2024 02:56:45 +0000 Received: from DB9PR04MB8461.eurprd04.prod.outlook.com ([fe80::b1b9:faa9:901b:c197]) by DB9PR04MB8461.eurprd04.prod.outlook.com ([fe80::b1b9:faa9:901b:c197%5]) with mapi id 15.20.7762.020; Mon, 5 Aug 2024 02:56:45 +0000 From: "Peng Fan (OSS)" To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH] arm64: dts: imx95: correct L3Cache cache-sets Date: Mon, 5 Aug 2024 11:05:35 +0800 Message-Id: <20240805030535.3027963-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI1PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:1f4::13) To DB9PR04MB8461.eurprd04.prod.outlook.com (2603:10a6:10:2cf::20) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB8461:EE_|AS5PR04MB9943:EE_ X-MS-Office365-Filtering-Correlation-Id: 9041e4ba-3c97-4d33-191e-08dcb4fa3da0 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: GQV40OpXr5LLV7Cn1R07d3cMh5OQoqM0myi9xJNyZ6j+dDtRw85daqhlWkfjhS5XNR10m0OR8tCS9tJP5iMGYY8LtLBsu+cBsYGBFJLi9HXk5FL6rRQZsOUGmG+zgZ5JZbntykwyYgnT5GUtC+cNE63KpK8zitLJKpWvLEx5tssLyBAEOTS01aEYb7fhRuJ3GV/ckWkJ91lXlf6ag6VYTu2oBieOODIC+B73GhcemmkMG8GK+PHzvJJU5uMTty0S32vC5kgaNjEHRgcQv5xdBBilqgIwmLZN2HaVGw+BhW8hRHxNP6oNzqxzHH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M+47qx9yYSpB14+jSefs5+08p2NlaH7jDE6D4FsyH4wJR3n/vZVjg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB8461.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8ZDf5Fq10RfZzeUTu5AdIwZwqIP6C3/jUUWzhxiAzf90s2jx4IRdDiVDFoGQOn9wD0n3KKVGqmBn8QxEGavAtJjjWWgX3RjL7PMHnEDaiXFtEWZgul3kT0mpu1Z7NoEI5QRR6Aq/lqLy/59CqoKR+bgx6cTp2SS/WyYMPwj70tH85Frz2NuS/IdRXJmdzkgyWVjbjsGlA1MkOwWpEVlpUlL/ik4m21Xzw1RWphG4T3RngRx2GnGQGtmGmrIYJAnocBHgad83SZ6J0lCl45ObntA4DLeQHsvEwoXjtv9I7YEmQwgKBAutEzSsy/hcolHTS3mBvAJXqW6D3p7p+uHP9a+vut6QsdoEYyfaiQOflPT3wxi8jPqBXlrB46qEASmZ44AVX7MDCqjDCn/HnIa2lNSG7fPih9TXVT6PnlFE4UyMBQC+FM8Jmf+JMZ5dgj5zWLQMlxXiaGCoyeMlTnoT3UQhPpcgxMC6epH+Phij8PG15smnGi9gSb07HzmF6TVRdqphKVH0XpB3Ykpiti76OwINfuQca5G33jy+aW8r6VTXHUFWDOcKSeO96DqNCLOhR2wq7e5bd5zGscvb6qSMhRdA9au4zxFwwbiDAoe2diQ8z5UMFViHdBe5DWEHkxjrktJl4J/ExVnpuYNXH01VDnhg5Uz6btPGZdMUSOf6I5RS0eAcfvliIiWvYMOnWYM0/rx0ik/YCfSjmOT4xql5dyPDmBczm9/tm98cALuxf6YECvUV8CJTacvKBWa6b8oqi+JN2M8Zv1KqiiB8VarCErXmtZMvARe+dyHEkDGS33BVPURkdhK2WzF3x55DP2jhnSuGPq1XxOHT87y5EkY41wbRsF2kiwYuru9MHRkxMK8RYKtDzZB/VRFSCKHikdMYiNis+JnLyJqx75k9AfK8/OXxN4iiqQKFI/kcKkXpR8hd1kB7Q3iWYsoqc/1GkjxxFW5JeOrnuczDRQkEkP2JVA9XwFW6d/K6bSecWEXhzJph7YvbLro0HHgM2Zc8sOG+Sf5gPlFbIbKEB7+NfJ9qO3pXJK093BhWNT6fgIb+dAduJS+tzE/lwwf23oxmIIkNiUXxgsMVAXzUuifw99FuHQaEjuJmES22i+38efExYsyKgm6K/zzFK4z3j2r7BAC8TDO6sMKk3EFfx/WPm5OqqLIBYXQqDp2wez/ZGs+/wa8ej7/VLnIpCL5g08Tmdnhm6XHlIusx9AafDhB07MoZDjDLJr2xphVJAHsp/jPm/6wEi9DlO44+r8pkwDH+O0FXFelmRMXKKy+tIh1vw99jQ6JYQE07kzsO17detBv4Gz2yFIyzmWZRmKchGMeghhI6P3Bzq/FafZNYazSm1H0gqvArnuSh7/BQh60sxK5+oNePuZBWVo0IqRPu74JkxxKpUJa65yw5mIOPtTcggUyrpaW3w61OxPK24OJWabohI1d4p2nRzLP8hbp8nklaj3wMlWwopoZhUooUYxsGtcQ3hbhIlu69CX7Bk2raJeqhfSuw0SY9fSg0D+EMTEV8b81iImvQA28Nf+zWEZj+6HlWzDRbXJq2uEm2/xsSNastmxh8gBCIzB9Zf1Kabf1MAdxW X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9041e4ba-3c97-4d33-191e-08dcb4fa3da0 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8461.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 02:56:45.4397 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Iw7ye5pHcG3OEp84TgiR3bSXQR32Kht8ML9v1WADlsaGZusCxkt8mgdCHymSSEYyyeFhKFr31DGq2+JKqPG4mg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9943 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240804_195652_256425_4EF28E02 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan The L3Cache size is 512KB. Size = Cache Line Size(64) * num sets(512) * Assoc(0x10). Correct the number of Cache sets. Fixes: 5e3cbb8e4256 ("arm64: dts: freescale: add i.MX95 basic dtsi") Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 3499d4eb2496..425272aa5a81 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -187,7 +187,7 @@ l3_cache: l3-cache { compatible = "cache"; cache-size = <524288>; cache-line-size = <64>; - cache-sets = <1024>; + cache-sets = <512>; cache-level = <3>; cache-unified; };