devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: vexpress: Add unified-cache Device Tree property
@ 2015-03-17 18:31 Robert Schwebel
       [not found] ` <1426617084-1583-1-git-send-email-r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-03-17 18:31 UTC (permalink / raw)
  To: Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi
  Cc: Robert Schwebel,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Without this propergy, we get this boot warning:

"L2C: device tree omits to specify unified cache"

Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---
 arch/arm/boot/dts/vexpress-v2p-ca9.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
index 23662b5..a411274 100644
--- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
@@ -170,6 +170,7 @@
 		compatible = "arm,pl310-cache";
 		reg = <0x1e00a000 0x1000>;
 		interrupts = <0 43 4>;
+		cache-unified;
 		cache-level = <2>;
 		arm,data-latency = <1 1 1>;
 		arm,tag-latency = <1 1 1>;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM: vexpress: Add unified-cache Device Tree property
       [not found] ` <1426617084-1583-1-git-send-email-r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-03-18  9:21   ` Sudeep Holla
       [not found]     ` <5509437E.6060806-5wv7dgnIgG8@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Sudeep Holla @ 2015-03-18  9:21 UTC (permalink / raw)
  To: Robert Schwebel
  Cc: Liviu Dudau, Lorenzo Pieralisi, Sudeep Holla,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org



On 17/03/15 18:31, Robert Schwebel wrote:
> Without this propergy, we get this boot warning:
>
              ^^property
> "L2C: device tree omits to specify unified cache"
>
> Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>

> ---
>   arch/arm/boot/dts/vexpress-v2p-ca9.dts | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> index 23662b5..a411274 100644
> --- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> +++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> @@ -170,6 +170,7 @@
>   		compatible = "arm,pl310-cache";
>   		reg = <0x1e00a000 0x1000>;
>   		interrupts = <0 43 4>;
> +		cache-unified;
>   		cache-level = <2>;
>   		arm,data-latency = <1 1 1>;
>   		arm,tag-latency = <1 1 1>;
>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM: vexpress: Add unified-cache Device Tree property
       [not found]     ` <5509437E.6060806-5wv7dgnIgG8@public.gmane.org>
@ 2015-03-18  9:29       ` Robert Schwebel
  2015-03-18  9:34       ` [PATCH v2] " Robert Schwebel
  1 sibling, 0 replies; 16+ messages in thread
From: Robert Schwebel @ 2015-03-18  9:29 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Liviu Dudau, Lorenzo Pieralisi,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Wed, Mar 18, 2015 at 09:21:02AM +0000, Sudeep Holla wrote:
> On 17/03/15 18:31, Robert Schwebel wrote:
> >Without this propergy, we get this boot warning:
> >
>              ^^property

Uh, sorry, will fix.

> >"L2C: device tree omits to specify unified cache"
> >
> >Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> 
> Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>

Thanks.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]     ` <5509437E.6060806-5wv7dgnIgG8@public.gmane.org>
  2015-03-18  9:29       ` Robert Schwebel
@ 2015-03-18  9:34       ` Robert Schwebel
       [not found]         ` <1426671298-2012-1-git-send-email-r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  1 sibling, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-03-18  9:34 UTC (permalink / raw)
  To: Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi
  Cc: Robert Schwebel,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Without this property, we get this boot warning:

"L2C: device tree omits to specify unified cache"

Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
---
 arch/arm/boot/dts/vexpress-v2p-ca9.dts | 1 +
 1 file changed, 1 insertion(+)

Changes since v1:
 * fix typo in patch description

diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
index 23662b5..a411274 100644
--- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
@@ -170,6 +170,7 @@
 		compatible = "arm,pl310-cache";
 		reg = <0x1e00a000 0x1000>;
 		interrupts = <0 43 4>;
+		cache-unified;
 		cache-level = <2>;
 		arm,data-latency = <1 1 1>;
 		arm,tag-latency = <1 1 1>;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]         ` <1426671298-2012-1-git-send-email-r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-04-29 19:12           ` Robert Schwebel
       [not found]             ` <20150429191228.GO15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-04-29 19:12 UTC (permalink / raw)
  To: Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Hi Liviu,

On Wed, Mar 18, 2015 at 10:34:58AM +0100, Robert Schwebel wrote:
> Without this property, we get this boot warning:
> 
> "L2C: device tree omits to specify unified cache"
> 
> Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
> ---
>  arch/arm/boot/dts/vexpress-v2p-ca9.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> Changes since v1:
>  * fix typo in patch description
> 
> diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> index 23662b5..a411274 100644
> --- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> +++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> @@ -170,6 +170,7 @@
>  		compatible = "arm,pl310-cache";
>  		reg = <0x1e00a000 0x1000>;
>  		interrupts = <0 43 4>;
> +		cache-unified;
>  		cache-level = <2>;
>  		arm,data-latency = <1 1 1>;
>  		arm,tag-latency = <1 1 1>;
> -- 
> 2.1.4

Gentle ping, this patch didn't make it into 4.1-rc1.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]             ` <20150429191228.GO15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-04-30 11:08               ` Liviu Dudau
       [not found]                 ` <20150430110853.GN7440-2JSQmVVBSi7ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Liviu Dudau @ 2015-04-30 11:08 UTC (permalink / raw)
  To: Robert Schwebel, Arnd Bergmann, Olof Johansson
  Cc: Sudeep Holla, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

On Wed, Apr 29, 2015 at 08:12:28PM +0100, Robert Schwebel wrote:
> Hi Liviu,
> 
> On Wed, Mar 18, 2015 at 10:34:58AM +0100, Robert Schwebel wrote:
> > Without this property, we get this boot warning:
> > 
> > "L2C: device tree omits to specify unified cache"
> > 
> > Signed-off-by: Robert Schwebel <r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> > Acked-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
> > ---
> >  arch/arm/boot/dts/vexpress-v2p-ca9.dts | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > Changes since v1:
> >  * fix typo in patch description
> > 
> > diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> > index 23662b5..a411274 100644
> > --- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> > +++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts
> > @@ -170,6 +170,7 @@
> >  		compatible = "arm,pl310-cache";
> >  		reg = <0x1e00a000 0x1000>;
> >  		interrupts = <0 43 4>;
> > +		cache-unified;
> >  		cache-level = <2>;
> >  		arm,data-latency = <1 1 1>;
> >  		arm,tag-latency = <1 1 1>;
> > -- 
> > 2.1.4
> 
> Gentle ping, this patch didn't make it into 4.1-rc1.

Sorry Robert, this fell through the cracks. VExpress gets very few
patches in general and we're new to this :(

Arnd/Olof, can we add this and Sudeep's patch for Juno into one of the
later 4.1-rc pull requests?

Best regards,
Liviu

> 
> rsc
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                 ` <20150430110853.GN7440-2JSQmVVBSi7ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
@ 2015-04-30 13:30                   ` Robert Schwebel
       [not found]                     ` <20150430133011.GE15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-04-30 13:30 UTC (permalink / raw)
  To: Liviu Dudau
  Cc: Sudeep Holla, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

Hi Liviu,

On Thu, Apr 30, 2015 at 12:08:53PM +0100, Liviu Dudau wrote:
> Sorry Robert, this fell through the cracks. VExpress gets very few
> patches in general and we're new to this :(

Thanks for the help!

I still see these errors with 4.1-rc1:

[    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
[    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
[    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
[    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
[    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
[    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
[    0.426298] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e0000
[    0.426799] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e1000
[    0.427099] of_amba_device_create(): amba_device_add() failed (-19) for /watchdog@100e5000
[    0.433206] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/sysctl@01000
[    0.438165] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/wdt@0f000

Do you have an idea what might go wrong?

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                     ` <20150430133011.GE15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-04-30 13:45                       ` Liviu Dudau
  2015-04-30 13:50                       ` Sudeep Holla
  2015-04-30 17:45                       ` Sudeep Holla
  2 siblings, 0 replies; 16+ messages in thread
From: Liviu Dudau @ 2015-04-30 13:45 UTC (permalink / raw)
  To: Robert Schwebel
  Cc: Sudeep Holla, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

On Thu, Apr 30, 2015 at 02:30:11PM +0100, Robert Schwebel wrote:
> Hi Liviu,
> 
> On Thu, Apr 30, 2015 at 12:08:53PM +0100, Liviu Dudau wrote:
> > Sorry Robert, this fell through the cracks. VExpress gets very few
> > patches in general and we're new to this :(
> 
> Thanks for the help!
> 
> I still see these errors with 4.1-rc1:
> 
> [    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
> [    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
> [    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
> [    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
> [    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
> [    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
> [    0.426298] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e0000
> [    0.426799] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e1000
> [    0.427099] of_amba_device_create(): amba_device_add() failed (-19) for /watchdog@100e5000
> [    0.433206] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/sysctl@01000
> [    0.438165] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/wdt@0f000
> 
> Do you have an idea what might go wrong?

No, not yet. I will give it a go on my TC2 board.

Best regards,
Liviu

> 
> rsc
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                     ` <20150430133011.GE15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  2015-04-30 13:45                       ` Liviu Dudau
@ 2015-04-30 13:50                       ` Sudeep Holla
       [not found]                         ` <55423316.70408-5wv7dgnIgG8@public.gmane.org>
  2015-04-30 17:45                       ` Sudeep Holla
  2 siblings, 1 reply; 16+ messages in thread
From: Sudeep Holla @ 2015-04-30 13:50 UTC (permalink / raw)
  To: Robert Schwebel, Liviu Dudau
  Cc: Sudeep Holla, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org



On 30/04/15 14:30, Robert Schwebel wrote:
> Hi Liviu,
>
> On Thu, Apr 30, 2015 at 12:08:53PM +0100, Liviu Dudau wrote:
>> Sorry Robert, this fell through the cracks. VExpress gets very few
>> patches in general and we're new to this :(
>
> Thanks for the help!
>
> I still see these errors with 4.1-rc1:
>
> [    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
> [    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
> [    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
> [    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
> [    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
> [    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link

I see above errors even on my Vexpress TC2, but

> [    0.426298] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e0000
> [    0.426799] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e1000
> [    0.427099] of_amba_device_create(): amba_device_add() failed (-19) for /watchdog@100e5000
> [    0.433206] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/sysctl@01000
> [    0.438165] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/wdt@0f000
>
.. not theses ones

> Do you have an idea what might go wrong?
>

I will give it a spin on my CA9 coretile.

Regards,Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                         ` <55423316.70408-5wv7dgnIgG8@public.gmane.org>
@ 2015-04-30 14:11                           ` Robert Schwebel
       [not found]                             ` <20150430141152.GG15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-04-30 14:11 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Liviu Dudau, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

On Thu, Apr 30, 2015 at 02:50:14PM +0100, Sudeep Holla wrote:
> >[    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
> >[    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
> >[    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
> >[    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
> >[    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
> >[    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
> 
> I see above errors even on my Vexpress TC2, but
> 
> >[    0.426298] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e0000
> >[    0.426799] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e1000
> >[    0.427099] of_amba_device_create(): amba_device_add() failed (-19) for /watchdog@100e5000
> >[    0.433206] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/sysctl@01000
> >[    0.438165] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/wdt@0f000
> >
> .. not theses ones
> 
> >Do you have an idea what might go wrong?
> >
> 
> I will give it a spin on my CA9 coretile.

I'm testing on qemu (and not even the latest one), so this might be a
reason.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                             ` <20150430141152.GG15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-04-30 14:14                               ` Sudeep Holla
  0 siblings, 0 replies; 16+ messages in thread
From: Sudeep Holla @ 2015-04-30 14:14 UTC (permalink / raw)
  To: Robert Schwebel
  Cc: Sudeep Holla, Liviu Dudau, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org



On 30/04/15 15:11, Robert Schwebel wrote:
> On Thu, Apr 30, 2015 at 02:50:14PM +0100, Sudeep Holla wrote:
>>> [    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
>>> [    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
>>> [    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
>>> [    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
>>> [    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
>>> [    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
>>
>> I see above errors even on my Vexpress TC2, but
>>
>>> [    0.426298] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e0000
>>> [    0.426799] of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e1000
>>> [    0.427099] of_amba_device_create(): amba_device_add() failed (-19) for /watchdog@100e5000
>>> [    0.433206] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/sysctl@01000
>>> [    0.438165] of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/wdt@0f000
>>>
>> .. not theses ones
>>
>>> Do you have an idea what might go wrong?
>>>
>>
>> I will give it a spin on my CA9 coretile.
>
> I'm testing on qemu (and not even the latest one), so this might be a
> reason.

OK, I tried on my CA9 coretile and don't see these errors on it either.
However the "... creating of_node link" is present on both and I will
look at that issue.

Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                     ` <20150430133011.GE15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  2015-04-30 13:45                       ` Liviu Dudau
  2015-04-30 13:50                       ` Sudeep Holla
@ 2015-04-30 17:45                       ` Sudeep Holla
       [not found]                         ` <55426A26.9060704-5wv7dgnIgG8@public.gmane.org>
  2 siblings, 1 reply; 16+ messages in thread
From: Sudeep Holla @ 2015-04-30 17:45 UTC (permalink / raw)
  To: Robert Schwebel, Liviu Dudau
  Cc: Sudeep Holla, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org



On 30/04/15 14:30, Robert Schwebel wrote:
> Hi Liviu,
>
> On Thu, Apr 30, 2015 at 12:08:53PM +0100, Liviu Dudau wrote:
>> Sorry Robert, this fell through the cracks. VExpress gets very few
>> patches in general and we're new to this :(
>
> Thanks for the help!
>
> I still see these errors with 4.1-rc1:
>
> [    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
> [    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
> [    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
> [    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
> [    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
> [    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link

OK, I was able to debug this, it boils down to initcall ordering.
Both of_init where the firmware sysfs is initialized and
vexpress_sysreg_init are at same core_initcall level. Needs some
thinking and more time to fix this.

Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                         ` <55426A26.9060704-5wv7dgnIgG8@public.gmane.org>
@ 2015-05-16 20:13                           ` Robert Schwebel
       [not found]                             ` <20150516201301.GT14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-05-16 20:13 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Liviu Dudau, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ

Hi Sudeep,

On Thu, Apr 30, 2015 at 06:45:10PM +0100, Sudeep Holla wrote:
> >I still see these errors with 4.1-rc1:
> >
> >[    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
> >[    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
> >[    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
> >[    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
> >[    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
> >[    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
> 
> OK, I was able to debug this, it boils down to initcall ordering.
> Both of_init where the firmware sysfs is initialized and
> vexpress_sysreg_init are at same core_initcall level. Needs some
> thinking and more time to fix this.

Did you find out something in the meantime?
I just tested 4.1-rc3 and the issues are still confirmed.

Thanks,

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                             ` <20150516201301.GT14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-05-18  8:58                               ` Sudeep Holla
  2015-05-21 12:26                               ` Robert Schwebel
  1 sibling, 0 replies; 16+ messages in thread
From: Sudeep Holla @ 2015-05-18  8:58 UTC (permalink / raw)
  To: Robert Schwebel
  Cc: Sudeep Holla, Liviu Dudau, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org



On 16/05/15 21:13, Robert Schwebel wrote:
> Hi Sudeep,
>
> On Thu, Apr 30, 2015 at 06:45:10PM +0100, Sudeep Holla wrote:
>>> I still see these errors with 4.1-rc1:
>>>
>>> [    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
>>> [    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
>>> [    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
>>> [    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
>>> [    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
>>> [    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
>>
>> OK, I was able to debug this, it boils down to initcall ordering.
>> Both of_init where the firmware sysfs is initialized and
>> vexpress_sysreg_init are at same core_initcall level. Needs some
>> thinking and more time to fix this.
>
> Did you find out something in the meantime?
> I just tested 4.1-rc3 and the issues are still confirmed.
>

Ah sorry, forgot to include you or your Reported-by(will
fix that if/when I have to repost a newer version)
I posted the patch but not yet pulled in mainline yet [1]

Regards,
Sudeep

[1] https://lkml.org/lkml/2015/5/14/360
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                             ` <20150516201301.GT14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  2015-05-18  8:58                               ` Sudeep Holla
@ 2015-05-21 12:26                               ` Robert Schwebel
       [not found]                                 ` <20150521122644.GP14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  1 sibling, 1 reply; 16+ messages in thread
From: Robert Schwebel @ 2015-05-21 12:26 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Liviu Dudau, Lorenzo Pieralisi,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ

Hi Sundeep,

On Sat, May 16, 2015 at 10:13:01PM +0200, Robert Schwebel wrote:
> On Thu, Apr 30, 2015 at 06:45:10PM +0100, Sudeep Holla wrote:
> > >I still see these errors with 4.1-rc1:
> > >
> > >[    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
> > >[    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
> > >[    0.268626] platform 10000000.sysreg: Error -2 creating of_node link
> > >[    0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link
> > >[    0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link
> > >[    0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link
> > 
> > OK, I was able to debug this, it boils down to initcall ordering.
> > Both of_init where the firmware sysfs is initialized and
> > vexpress_sysreg_init are at same core_initcall level. Needs some
> > thinking and more time to fix this.
> 
> Did you find out something in the meantime?
> I just tested 4.1-rc3 and the issues are still confirmed.

Gentle ping ...

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property
       [not found]                                 ` <20150521122644.GP14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2015-05-22  6:18                                   ` Robert Schwebel
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Schwebel @ 2015-05-22  6:18 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Lorenzo Pieralisi, Liviu Dudau, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

On Thu, May 21, 2015 at 02:26:44PM +0200, Robert Schwebel wrote:
> > Did you find out something in the meantime?
> > I just tested 4.1-rc3 and the issues are still confirmed.
> 
> Gentle ping ...

Sorry, missed the other mail and found it in the mean time :)

rsc 
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-05-22  6:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 18:31 [PATCH] ARM: vexpress: Add unified-cache Device Tree property Robert Schwebel
     [not found] ` <1426617084-1583-1-git-send-email-r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-03-18  9:21   ` Sudeep Holla
     [not found]     ` <5509437E.6060806-5wv7dgnIgG8@public.gmane.org>
2015-03-18  9:29       ` Robert Schwebel
2015-03-18  9:34       ` [PATCH v2] " Robert Schwebel
     [not found]         ` <1426671298-2012-1-git-send-email-r.schwebel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-29 19:12           ` Robert Schwebel
     [not found]             ` <20150429191228.GO15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-30 11:08               ` Liviu Dudau
     [not found]                 ` <20150430110853.GN7440-2JSQmVVBSi7ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2015-04-30 13:30                   ` Robert Schwebel
     [not found]                     ` <20150430133011.GE15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-30 13:45                       ` Liviu Dudau
2015-04-30 13:50                       ` Sudeep Holla
     [not found]                         ` <55423316.70408-5wv7dgnIgG8@public.gmane.org>
2015-04-30 14:11                           ` Robert Schwebel
     [not found]                             ` <20150430141152.GG15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-30 14:14                               ` Sudeep Holla
2015-04-30 17:45                       ` Sudeep Holla
     [not found]                         ` <55426A26.9060704-5wv7dgnIgG8@public.gmane.org>
2015-05-16 20:13                           ` Robert Schwebel
     [not found]                             ` <20150516201301.GT14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-05-18  8:58                               ` Sudeep Holla
2015-05-21 12:26                               ` Robert Schwebel
     [not found]                                 ` <20150521122644.GP14416-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-05-22  6:18                                   ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).