public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx95: correct L3Cache cache-sets
@ 2024-08-05  3:05 Peng Fan (OSS)
  2024-08-13  3:23 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Fan (OSS) @ 2024-08-05  3:05 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, shawnguo, s.hauer
  Cc: kernel, festevam, devicetree, linux-kernel, imx, linux-arm-kernel,
	Peng Fan

From: Peng Fan <peng.fan@nxp.com>

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 <peng.fan@nxp.com>
---
 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;
 		};
-- 
2.37.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: imx95: correct L3Cache cache-sets
  2024-08-05  3:05 [PATCH] arm64: dts: imx95: correct L3Cache cache-sets Peng Fan (OSS)
@ 2024-08-13  3:23 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2024-08-13  3:23 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: robh, krzk+dt, conor+dt, shawnguo, s.hauer, kernel, festevam,
	devicetree, linux-kernel, imx, linux-arm-kernel, Peng Fan

On Mon, Aug 05, 2024 at 11:05:35AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> 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 <peng.fan@nxp.com>

Applied, thanks!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-13  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05  3:05 [PATCH] arm64: dts: imx95: correct L3Cache cache-sets Peng Fan (OSS)
2024-08-13  3:23 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox