public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM
@ 2013-01-04 22:27 Fabio Estevam
  2013-01-04 23:36 ` Rob Herring
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2013-01-04 22:27 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Since commit 62e4d357a (ARM: 7609/1: disable errata work-arounds which access 
secure registers) ARM_ERRATA_743622/751472 depends on !ARCH_MULTIPLATFORM.

Since imx has been converted to multiplatform, the following warning happens:

$ make imx_v6_v7_defconfig
warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
!ARCH_MULTIPLATFORM)
warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
!ARCH_MULTIPLATFORM)

Recommended approach is to remove ARM_ERRATA_743622/751472 from being selected
by SOC_IMX6Q and apply such workarounds into the bootloader.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/Kconfig |    2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 1ad0d76..3e628fd 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -841,8 +841,6 @@ config SOC_IMX6Q
 	select ARCH_HAS_CPUFREQ
 	select ARCH_HAS_OPP
 	select ARM_CPU_SUSPEND if PM
-	select ARM_ERRATA_743622
-	select ARM_ERRATA_751472
 	select ARM_ERRATA_754322
 	select ARM_ERRATA_764369 if SMP
 	select ARM_ERRATA_775420
-- 
1.7.9.5

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

* [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM
  2013-01-04 22:27 [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM Fabio Estevam
@ 2013-01-04 23:36 ` Rob Herring
  2013-01-05  1:07   ` Shawn Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2013-01-04 23:36 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/04/2013 04:27 PM, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Since commit 62e4d357a (ARM: 7609/1: disable errata work-arounds which access 
> secure registers) ARM_ERRATA_743622/751472 depends on !ARCH_MULTIPLATFORM.
> 
> Since imx has been converted to multiplatform, the following warning happens:
> 
> $ make imx_v6_v7_defconfig
> warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
> ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
> !ARCH_MULTIPLATFORM)
> warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
> which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
> warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
> which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
> warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
> ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
> !ARCH_MULTIPLATFORM)
> 
> Recommended approach is to remove ARM_ERRATA_743622/751472 from being selected
> by SOC_IMX6Q and apply such workarounds into the bootloader.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Broken and

Acked-by: Rob Herring <rob.herring@calxeda.com>

> ---
>  arch/arm/mach-imx/Kconfig |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 1ad0d76..3e628fd 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -841,8 +841,6 @@ config SOC_IMX6Q
>  	select ARCH_HAS_CPUFREQ
>  	select ARCH_HAS_OPP
>  	select ARM_CPU_SUSPEND if PM
> -	select ARM_ERRATA_743622
> -	select ARM_ERRATA_751472
>  	select ARM_ERRATA_754322
>  	select ARM_ERRATA_764369 if SMP
>  	select ARM_ERRATA_775420
> 

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

* [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM
  2013-01-04 23:36 ` Rob Herring
@ 2013-01-05  1:07   ` Shawn Guo
  2013-01-05  2:53     ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2013-01-05  1:07 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 04, 2013 at 05:36:53PM -0600, Rob Herring wrote:
> On 01/04/2013 04:27 PM, Fabio Estevam wrote:
> > From: Fabio Estevam <fabio.estevam@freescale.com>
> > 
> > Since commit 62e4d357a (ARM: 7609/1: disable errata work-arounds which access 
> > secure registers) ARM_ERRATA_743622/751472 depends on !ARCH_MULTIPLATFORM.
> > 
> > Since imx has been converted to multiplatform, the following warning happens:
> > 
> > $ make imx_v6_v7_defconfig
> > warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
> > ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
> > !ARCH_MULTIPLATFORM)
> > warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
> > which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
> > warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
> > which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
> > warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
> > ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
> > !ARCH_MULTIPLATFORM)
> > 
> > Recommended approach is to remove ARM_ERRATA_743622/751472 from being selected
> > by SOC_IMX6Q and apply such workarounds into the bootloader.
> > 
> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Broken and
> 
> Acked-by: Rob Herring <rob.herring@calxeda.com>
> 
I think the patch should be put into Russell's the patch system to
have it go through the same branch that 7609/1 goes.

Shawn

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

* [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM
  2013-01-05  1:07   ` Shawn Guo
@ 2013-01-05  2:53     ` Fabio Estevam
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-01-05  2:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 4, 2013 at 11:07 PM, Shawn Guo <shawn.guo@linaro.org> wrote:

> I think the patch should be put into Russell's the patch system to
> have it go through the same branch that 7609/1 goes.

Entered as 7612/1.

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

end of thread, other threads:[~2013-01-05  2:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 22:27 [PATCH] ARM: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM Fabio Estevam
2013-01-04 23:36 ` Rob Herring
2013-01-05  1:07   ` Shawn Guo
2013-01-05  2:53     ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox