Skip to contentSkip to conversation

riscv: dts: starfive: jh7110: Correct the properties of S7 core

PATCH In review Hal Feng 2 participants 2 messages Mar 24, 2023

Subsystems (3)
lore
Share & tools
lore

Hal Feng

author
#0 lore raw

PATCH 1/1 riscv: dts: starfive: jh7110: Correct the properties of S7 core

The S7 core has no L1 data cache and MMU, so delete some related properties.

---

Hi, Conor,

This is a correction for the S7 entry.
This patch depends on patch [1].

[1] https://lore.kernel.org/all/[email protected]/

---
 arch/riscv/boot/dts/starfive/jh7110.dtsi | 9 ---------
 1 file changed, 9 deletions(-)
arch/riscv/boot/dts/starfive/jh7110.dtsi +0 -9
index d484ecdf93f7..4c5fdb905da8 100644
@@ -20,21 +20,12 @@ cpus {
 		S7_0: cpu@0 {
 			compatible = "sifive,s7", "riscv";
 			reg = <0>;
-			d-cache-block-size = <64>;
-			d-cache-sets = <64>;
-			d-cache-size = <8192>;
-			d-tlb-sets = <1>;
-			d-tlb-size = <40>;
 			device_type = "cpu";
 			i-cache-block-size = <64>;
 			i-cache-sets = <64>;
 			i-cache-size = <16384>;
-			i-tlb-sets = <1>;
-			i-tlb-size = <40>;
-			mmu-type = "riscv,sv39";
 			next-level-cache = <&ccache>;
 			riscv,isa = "rv64imac_zba_zbb";
-			tlb-split;
 			status = "disabled";
 
 			cpu0_intc: interrupt-controller {
Signature · 1 line
2.38.1
maintainer
#1 lore raw
Quoted 9 lines · Hal Feng

The S7 core has no L1 data cache and MMU, so delete some related properties.

---

Hi, Conor,

This is a correction for the S7 entry.

Again going off the latest version of the u74-mc core complex, this looks to be correct, thanks.
I need to go read the Emil email from earier today, but I've provisionally gone and put this on the riscv-jh7100_initial_dts branch with a Fixes: tag.

Thanks,
Conor.

Quoted 37 lines

This patch depends on patch [1].

[1] https://lore.kernel.org/all/[email protected]/

---
 arch/riscv/boot/dts/starfive/jh7110.dtsi | 9 ---------
 1 file changed, 9 deletions(-)
arch/riscv/boot/dts/starfive/jh7110.dtsi +0 -9
index d484ecdf93f7..4c5fdb905da8 100644
@@ -20,21 +20,12 @@ cpus {
 		S7_0: cpu@0 {
 			compatible = "sifive,s7", "riscv";
 			reg = <0>;
-			d-cache-block-size = <64>;
-			d-cache-sets = <64>;
-			d-cache-size = <8192>;
-			d-tlb-sets = <1>;
-			d-tlb-size = <40>;
 			device_type = "cpu";
 			i-cache-block-size = <64>;
 			i-cache-sets = <64>;
 			i-cache-size = <16384>;
-			i-tlb-sets = <1>;
-			i-tlb-size = <40>;
-			mmu-type = "riscv,sv39";
 			next-level-cache = <&ccache>;
 			riscv,isa = "rv64imac_zba_zbb";
-			tlb-split;
 			status = "disabled";
 
 			cpu0_intc: interrupt-controller {
Signature · 1 line
2.38.1

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