Skip to contentSkip to conversation

arm64: dts: ti: k3-am65: Add MSMC RAM ranges in interconnect node

PATCH In review Suman Anna 3 participants 6 messages May 29, 2019 – Jun 17, 2019

Subsystems (2)
lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH 1/1 arm64: dts: ti: k3-am65: Add MSMC RAM ranges in interconnect node

From: Roger Quadros <[email protected]>

Add the MSCM RAM address space to the ranges property of the cbass_main interconnect node so that the addresses can be translated properly.

This fixes the probe failure in the sram driver for the MSMC RAM node.

---

The following error message is seen without this:

[    0.480261] sram interconnect@100000:sram@70000000: found no memory resource
[    0.487497] sram: probe of interconnect@100000:sram@70000000 failed with error -22

regards
Suman

 arch/arm64/boot/dts/ti/k3-am65.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am65.dtsi +1 -0
index 50f4be2047a9..68b3f954f1d1 100644
@@ -68,6 +68,7 @@
 			 <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
 			 <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
 			 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
+			 <0x00 0x70000000 0x00 0x70000000 0x00 0x00200000>, /* MSMC SRAM */
 			 /* MCUSS Range */
 			 <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
 			 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
Signature · 1 line
2.21.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 36 lines · Suman Anna

From: Roger Quadros <[email protected]>

Add the MSCM RAM address space to the ranges property of the cbass_main interconnect node so that the addresses can be translated properly.

This fixes the probe failure in the sram driver for the MSMC RAM node.

---

The following error message is seen without this:

[    0.480261] sram interconnect@100000:sram@70000000: found no memory resource
[    0.487497] sram: probe of interconnect@100000:sram@70000000 failed with error -22

regards
Suman

 arch/arm64/boot/dts/ti/k3-am65.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am65.dtsi +1 -0
index 50f4be2047a9..68b3f954f1d1 100644
@@ -68,6 +68,7 @@
 			 <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
 			 <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
 			 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
+			 <0x00 0x70000000 0x00 0x70000000 0x00 0x00200000>, /* MSMC SRAM */
 			 /* MCUSS Range */
 			 <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
 			 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
Signature · 1 line
2.21.0

Arrgh.. Nice catch. Thanks. We should consider pulling this in as part of early rc fixes please.

Signature · 2 lines
Regards,
Nishanth Menon
#2 lore raw
Quoted 41 lines · Nishanth Menon
Quoted 36 lines · Suman Anna

From: Roger Quadros <[email protected]>

Add the MSCM RAM address space to the ranges property of the cbass_main interconnect node so that the addresses can be translated properly.

This fixes the probe failure in the sram driver for the MSMC RAM node.

---

The following error message is seen without this:

[    0.480261] sram interconnect@100000:sram@70000000: found no memory resource
[    0.487497] sram: probe of interconnect@100000:sram@70000000 failed with error -22

regards
Suman

  arch/arm64/boot/dts/ti/k3-am65.dtsi | 1 +
  1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am65.dtsi +1 -0
index 50f4be2047a9..68b3f954f1d1 100644
@@ -68,6 +68,7 @@
  			 <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
  			 <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
  			 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
+			 <0x00 0x70000000 0x00 0x70000000 0x00 0x00200000>, /* MSMC SRAM */
  			 /* MCUSS Range */
  			 <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
  			 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
Signature · 1 line
2.21.0

Arrgh.. Nice catch. Thanks. We should consider pulling this in as part of early rc fixes please.

Quoted 1 line

Hmm, what is the failure this causes, except the probe message? SRAM driver obviously won't work but is it used for anything at the moment anyways?

I would rather queue this towards 5.3.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

maintainer
#3 lore raw
Quoted 42 lines · Tero Kristo
Quoted 41 lines · Nishanth Menon
Quoted 36 lines · Suman Anna

From: Roger Quadros <[email protected]>

Add the MSCM RAM address space to the ranges property of the cbass_main interconnect node so that the addresses can be translated properly.

This fixes the probe failure in the sram driver for the MSMC RAM node.

---

The following error message is seen without this:

[    0.480261] sram interconnect@100000:sram@70000000: found no memory resource
[    0.487497] sram: probe of interconnect@100000:sram@70000000 failed with error -22

regards
Suman

  arch/arm64/boot/dts/ti/k3-am65.dtsi | 1 +
  1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am65.dtsi +1 -0
index 50f4be2047a9..68b3f954f1d1 100644
@@ -68,6 +68,7 @@
  			 <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
  			 <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
  			 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
+			 <0x00 0x70000000 0x00 0x70000000 0x00 0x00200000>, /* MSMC SRAM */
  			 /* MCUSS Range */
  			 <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
  			 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
Signature · 1 line
2.21.0

Arrgh.. Nice catch. Thanks. We should consider pulling this in as part of early rc fixes please.

Quoted 6 lines
Quoted 1 line

Hmm, what is the failure this causes, except the probe message? SRAM driver obviously won't work but is it used for anything at the moment anyways?

I would rather queue this towards 5.3.

Yes, this should be good enough for 5.3

Signature · 2 lines
Regards,
Nishanth Menon
author
#4 lore raw
In reply to Tero Kristo
Quoted 49 lines · Tero Kristo
Quoted 48 lines · Nishanth Menon
Quoted 34 lines · Suman Anna

From: Roger Quadros <[email protected]>

Add the MSCM RAM address space to the ranges property of the cbass_main interconnect node so that the addresses can be translated properly.

This fixes the probe failure in the sram driver for the MSMC RAM node.

---

The following error message is seen without this:
[    0.480261] sram interconnect@100000:sram@70000000: found no memory resource
[    0.487497] sram: probe of interconnect@100000:sram@70000000 failed with error -22

regards
Suman

  arch/arm64/boot/dts/ti/k3-am65.dtsi | 1 +

  1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am65.dtsi +0 -0
index 50f4be2047a9..68b3f954f1d1 100644
@@ -68,6 +68,7 @@

               <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
               <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
               <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /*

Quoted 9 lines

MAIN NAVSS */
+             <0x00 0x70000000 0x00 0x70000000 0x00 0x00200000>, /* MSMC SRAM */
               /* MCUSS Range */
               <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>, --
2.21.0

Arrgh.. Nice catch. Thanks. We should consider pulling this in as part of early rc fixes please.

Quoted 7 lines
Quoted 1 line

Hmm, what is the failure this causes, except the probe message? SRAM driver obviously won't work but is it used for anything at the moment anyways?

I would rather queue this towards 5.3.

OK, I am fine either way.

regards
Suman

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

#5 lore raw
Quoted 56 lines · Suman Anna
Quoted 55 lines · Tero Kristo
Quoted 48 lines · Nishanth Menon
Quoted 32 lines · Suman Anna

From: Roger Quadros <[email protected]>

Add the MSCM RAM address space to the ranges property of the cbass_main interconnect node so that the addresses can be translated properly.

This fixes the probe failure in the sram driver for the MSMC RAM node.

---

The following error message is seen without this:
[    0.480261] sram interconnect@100000:sram@70000000: found no memory resource
[    0.487497] sram: probe of interconnect@100000:sram@70000000 failed with error -22

regards
Suman

   arch/arm64/boot/dts/ti/k3-am65.dtsi | 1 +
   1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am65.dtsi +0 -0
index 50f4be2047a9..68b3f954f1d1 100644
@@ -68,6 +68,7 @@
                <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /*

serdes */
               <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /*

Quoted 11 lines

Most peripherals */
               <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /*
MAIN NAVSS */
+             <0x00 0x70000000 0x00 0x70000000 0x00 0x00200000>, /* MSMC SRAM */
               /* MCUSS Range */
               <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,

Signature · 1 line
2.21.0

Arrgh.. Nice catch. Thanks. We should consider pulling this in as part of early rc fixes please.

Quoted 1 line

Hmm, what is the failure this causes, except the probe message? SRAM driver obviously won't work but is it used for anything at the moment anyways?

Quoted 7 lines
Quoted 1 line

I would rather queue this towards 5.3.

OK, I am fine either way.

regards
Suman

Ok thanks, queued towards 5.3.

That basically saves me one pull-request. :)

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

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