All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board
@ 2014-03-05  8:09 Tushar Behera
  2014-03-05  8:09 ` [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa Tushar Behera
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tushar Behera @ 2014-03-05  8:09 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim

MDMA1 can support both secure and non-secure AXI transactions. When this
is enabled in the kernel for boards that run in secure mode, we get
imprecise external aborts causing the kernel to oops.

Unhandled fault: imprecise external abort (0x1406) at 0x00000000
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007

Suggested-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index f509e8f..810ec73 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -361,4 +361,16 @@
 			gpio-key,wakeup;
 		};
 	};
+
+	amba {
+		mdma1: mdma@11C10000 {
+			/*
+			 * MDMA1 can support both secure and non-secure
+			 * AXI transactions. When this is enabled in the kernel
+			 * for boards that run in secure mode, we are getting
+			 * imprecise external aborts causing the kernel to oops.
+			 */
+			status = "disabled";
+		};
+	};
 };
-- 
1.7.9.5

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

* [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa
  2014-03-05  8:09 [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Tushar Behera
@ 2014-03-05  8:09 ` Tushar Behera
  2014-03-19  8:39   ` Tushar Behera
  2014-03-06 10:25 ` [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Javi Merino
  2014-03-19  8:38 ` Tushar Behera
  2 siblings, 1 reply; 6+ messages in thread
From: Tushar Behera @ 2014-03-05  8:09 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim

LDO3 and LDO23 need to be enabled in order for soft-reset to work.

Additionally LDO9 needs to be enabled for USB operations.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index 810ec73..df975b5 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -113,6 +113,7 @@
 					regulator-name = "PVDD_APIO_MMCON_1V8";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
+					regulator-always-on;
 				};
 
 				ldo4_reg: LDO4 {
@@ -150,6 +151,7 @@
 					regulator-name = "PVDD_USB_3V3";
 					regulator-min-microvolt = <3000000>;
 					regulator-max-microvolt = <3000000>;
+					regulator-always-on;
 				};
 
 				ldo10_reg: LDO10 {
@@ -218,6 +220,7 @@
 					regulator-name = "PVDD_MIFS_1V1";
 					regulator-min-microvolt = <1200000>;
 					regulator-max-microvolt = <1200000>;
+					regulator-always-on;
 				};
 
 				ldo24_reg: LDO24 {
-- 
1.7.9.5

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

* Re: [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board
  2014-03-05  8:09 [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Tushar Behera
  2014-03-05  8:09 ` [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa Tushar Behera
@ 2014-03-06 10:25 ` Javi Merino
  2014-03-19  8:38 ` Tushar Behera
  2 siblings, 0 replies; 6+ messages in thread
From: Javi Merino @ 2014-03-06 10:25 UTC (permalink / raw)
  To: linux-samsung-soc

Tushar Behera <tushar.behera <at> linaro.org> writes:

> 
> MDMA1 can support both secure and non-secure AXI transactions. When this
> is enabled in the kernel for boards that run in secure mode, we get
> imprecise external aborts causing the kernel to oops.
> 
> Unhandled fault: imprecise external abort (0x1406) at 0x00000000
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
> 
> Suggested-by: Javi Merino <javi.merino@arm.com>
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>

I've tested this on top of kgene/for-next (I'm assuming that your patch is
based on that branch) but that tree currently doesn't boot.

If I backport it to v3.14-rc5, the kernel boots.  So:

Tested-by: Javi Merino <javi.merino@arm.com>

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

* Re: [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board
  2014-03-05  8:09 [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Tushar Behera
  2014-03-05  8:09 ` [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa Tushar Behera
  2014-03-06 10:25 ` [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Javi Merino
@ 2014-03-19  8:38 ` Tushar Behera
  2014-03-20 19:29   ` Kukjin Kim
  2 siblings, 1 reply; 6+ messages in thread
From: Tushar Behera @ 2014-03-19  8:38 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: Kgene Kim

On 5 March 2014 13:39, Tushar Behera <tushar.behera@linaro.org> wrote:
> MDMA1 can support both secure and non-secure AXI transactions. When this
> is enabled in the kernel for boards that run in secure mode, we get
> imprecise external aborts causing the kernel to oops.
>
> Unhandled fault: imprecise external abort (0x1406) at 0x00000000
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
>
> Suggested-by: Javi Merino <javi.merino@arm.com>
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> ---
>  arch/arm/boot/dts/exynos5420-arndale-octa.dts |   12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> index f509e8f..810ec73 100644
> --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> @@ -361,4 +361,16 @@
>                         gpio-key,wakeup;
>                 };
>         };
> +
> +       amba {
> +               mdma1: mdma@11C10000 {
> +                       /*
> +                        * MDMA1 can support both secure and non-secure
> +                        * AXI transactions. When this is enabled in the kernel
> +                        * for boards that run in secure mode, we are getting
> +                        * imprecise external aborts causing the kernel to oops.
> +                        */
> +                       status = "disabled";
> +               };
> +       };
>  };
> --
> 1.7.9.5
>
Kukjin,

Can you please apply this with Javi's "Tested-by"?


-- 
Tushar Behera

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

* Re: [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa
  2014-03-05  8:09 ` [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa Tushar Behera
@ 2014-03-19  8:39   ` Tushar Behera
  0 siblings, 0 replies; 6+ messages in thread
From: Tushar Behera @ 2014-03-19  8:39 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: Kukjin Kim

On 5 March 2014 13:39, Tushar Behera <tushar.behera@linaro.org> wrote:
> LDO3 and LDO23 need to be enabled in order for soft-reset to work.
>
> Additionally LDO9 needs to be enabled for USB operations.
>
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> ---
>  arch/arm/boot/dts/exynos5420-arndale-octa.dts |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> index 810ec73..df975b5 100644
> --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
> @@ -113,6 +113,7 @@
>                                         regulator-name = "PVDD_APIO_MMCON_1V8";
>                                         regulator-min-microvolt = <1800000>;
>                                         regulator-max-microvolt = <1800000>;
> +                                       regulator-always-on;
>                                 };
>
>                                 ldo4_reg: LDO4 {
> @@ -150,6 +151,7 @@
>                                         regulator-name = "PVDD_USB_3V3";
>                                         regulator-min-microvolt = <3000000>;
>                                         regulator-max-microvolt = <3000000>;
> +                                       regulator-always-on;
>                                 };
>
>                                 ldo10_reg: LDO10 {
> @@ -218,6 +220,7 @@
>                                         regulator-name = "PVDD_MIFS_1V1";
>                                         regulator-min-microvolt = <1200000>;
>                                         regulator-max-microvolt = <1200000>;
> +                                       regulator-always-on;
>                                 };
>
>                                 ldo24_reg: LDO24 {
> --
> 1.7.9.5
>

Kukjin,

Would you please apply this?

-- 
Tushar Behera

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

* Re: [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board
  2014-03-19  8:38 ` Tushar Behera
@ 2014-03-20 19:29   ` Kukjin Kim
  0 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2014-03-20 19:29 UTC (permalink / raw)
  To: Tushar Behera; +Cc: linux-samsung-soc, Kgene Kim

On 03/19/14 17:38, Tushar Behera wrote:
> On 5 March 2014 13:39, Tushar Behera<tushar.behera@linaro.org>  wrote:
>> MDMA1 can support both secure and non-secure AXI transactions. When this
>> is enabled in the kernel for boards that run in secure mode, we get
>> imprecise external aborts causing the kernel to oops.
>>
>> Unhandled fault: imprecise external abort (0x1406) at 0x00000000
>> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
>>
>> Suggested-by: Javi Merino<javi.merino@arm.com>
>> Signed-off-by: Tushar Behera<tushar.behera@linaro.org>
>> ---
>>   arch/arm/boot/dts/exynos5420-arndale-octa.dts |   12 ++++++++++++
>>   1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
>> index f509e8f..810ec73 100644
>> --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
>> +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
>> @@ -361,4 +361,16 @@
>>                          gpio-key,wakeup;
>>                  };
>>          };
>> +
>> +       amba {
>> +               mdma1: mdma@11C10000 {
>> +                       /*
>> +                        * MDMA1 can support both secure and non-secure
>> +                        * AXI transactions. When this is enabled in the kernel
>> +                        * for boards that run in secure mode, we are getting
>> +                        * imprecise external aborts causing the kernel to oops.
>> +                        */
>> +                       status = "disabled";
>> +               };
>> +       };
>>   };
>> --
>> 1.7.9.5
>>
> Kukjin,
>
> Can you please apply this with Javi's "Tested-by"?
>
>
Looks OK, applied this and second one.

Thanks,
Kukjin

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

end of thread, other threads:[~2014-03-20 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05  8:09 [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Tushar Behera
2014-03-05  8:09 ` [PATCH 2/2] ARM: dts: Keep some essential LDOs enabled for Arndale-Octa Tushar Behera
2014-03-19  8:39   ` Tushar Behera
2014-03-06 10:25 ` [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board Javi Merino
2014-03-19  8:38 ` Tushar Behera
2014-03-20 19:29   ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.