diff mbox

[1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board

Message ID 1394006947-26126-1-git-send-email-tushar.behera@linaro.org
State Accepted
Commit 3da355c03a44bc45f3688bb68b51eefa738d1857
Headers show

Commit Message

Tushar Behera March 5, 2014, 8:09 a.m. UTC
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(+)

Comments

Javi Merino March 6, 2014, 10:25 a.m. UTC | #1
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>

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tushar Behera March 19, 2014, 8:38 a.m. UTC | #2
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"?
Kukjin Kim March 20, 2014, 7:29 p.m. UTC | #3
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
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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";
+		};
+	};
 };