Skip to contentSkip to conversation

ARM: dts: bcm2711: Fix comment

PATCH Applied Richard Schleich 3 participants 4 messages Feb 5, 2022 – Feb 11, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: bcm2711: Fix comment

No functional change.

---
 arch/arm/boot/dts/bcm2711.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm2711.dtsi +1 -1
index d9f31873e711..0f2f26dc5ec6 100644
@@ -536,7 +536,7 @@ l2: l2-cache0 {
 			compatible = "cache";
 			cache-size = <0x100000>;
 			cache-line-size = <64>;
-			cache-sets = <1024>; // 1MiB(size)/64(line-size)=16000ways/16-way set
+			cache-sets = <1024>; // 1MiB(size)/64(line-size)=16384ways/16-way set
 			cache-level = <2>;
 		};
 	};
Signature · 1 line
2.25.1
#1 lore raw

Hi Richard,

the subject of this patch is too general. Here is my suggestion:

ARM: dts: bcm2711: Fix comment about L2 cache set calculation

But maybe you have a better idea.

Am 05.02.22 um 20:58 schrieb Richard Schleich:

Quoted 1 line

No functional change.

Please write a simple sentence, explaining why this change is necessary.

Thanks

Quoted 11 lines
---
 arch/arm/boot/dts/bcm2711.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm2711.dtsi +0 -0
index d9f31873e711..0f2f26dc5ec6 100644

arch/arm/boot/dts/bcm2711.dtsi l2: l2-cache0 { · line 542

Quoted 8 lines
arch/arm/boot/dts/bcm2711.dtsi +1 -1
@@ -536,7 +536,7 @@ l2: l2-cache0 {
 			compatible = "cache";
 			cache-size = <0x100000>;
 			cache-line-size = <64>;
-			cache-sets = <1024>; // 1MiB(size)/64(line-size)=16000ways/16-way set
+			cache-sets = <1024>; // 1MiB(size)/64(line-size)=16384ways/16-way set
 			cache-level = <2>;
 		};
 	};

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel