Skip to content

Commit a001a15

Browse files
nmenongregkh
authored andcommitted
arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
[ Upstream commit a172c86 ] 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: d361ed8 ("arm64: dts: ti: Add support for J7200 SoC") Reported-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Link: https://lore.kernel.org/r/20211113042640.30955-1-nm@ti.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 7591920 commit a001a15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/arm64/boot/dts/ti/k3-j7200.dtsi‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
i-cache-sets = <256>;
6161
d-cache-size = <0x8000>;
6262
d-cache-line-size = <64>;
63-
d-cache-sets = <128>;
63+
d-cache-sets = <256>;
6464
next-level-cache = <&L2_0>;
6565
};
6666

@@ -74,7 +74,7 @@
7474
i-cache-sets = <256>;
7575
d-cache-size = <0x8000>;
7676
d-cache-line-size = <64>;
77-
d-cache-sets = <128>;
77+
d-cache-sets = <256>;
7878
next-level-cache = <&L2_0>;
7979
};
8080
};

0 commit comments

Comments
 (0)