All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA
@ 2012-09-05 16:16 ` Stephen Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-09-05 16:16 UTC (permalink / raw)
  To: Russell King, Bill Huang
  Cc: ldewangan-DDmLM1+adcrQT0dZR+AlfA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Even though system suspend/resume hasn't been validated on Tegra yet,
this Kconfig option needs to be enabled so that system shutdown is
reliable on an SMP system. Without it, I2C interrupts may be routed
to CPU0, whereas shutdown code may be running on CPU1, causing I2C
timeouts, preventing communication with the external PMIC.

This reverts 3d5e8af "ARM: disable SUSPEND/ARCH_SUSPEND_POSSIBLE for
ARCH_TEGRA".

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 88ff698..0dd1fca 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2247,7 +2247,7 @@ menu "Power management options"
 source "kernel/power/Kconfig"
 
 config ARCH_SUSPEND_POSSIBLE
-	depends on !ARCH_S5PC100 && !ARCH_TEGRA
+	depends on !ARCH_S5PC100
 	depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
 		CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
 	def_bool y
-- 
1.7.0.4

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

* [PATCH] ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA
@ 2012-09-05 16:16 ` Stephen Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-09-05 16:16 UTC (permalink / raw)
  To: linux-arm-kernel

From: Stephen Warren <swarren@nvidia.com>

Even though system suspend/resume hasn't been validated on Tegra yet,
this Kconfig option needs to be enabled so that system shutdown is
reliable on an SMP system. Without it, I2C interrupts may be routed
to CPU0, whereas shutdown code may be running on CPU1, causing I2C
timeouts, preventing communication with the external PMIC.

This reverts 3d5e8af "ARM: disable SUSPEND/ARCH_SUSPEND_POSSIBLE for
ARCH_TEGRA".

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 88ff698..0dd1fca 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2247,7 +2247,7 @@ menu "Power management options"
 source "kernel/power/Kconfig"
 
 config ARCH_SUSPEND_POSSIBLE
-	depends on !ARCH_S5PC100 && !ARCH_TEGRA
+	depends on !ARCH_S5PC100
 	depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
 		CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
 	def_bool y
-- 
1.7.0.4

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

* Re: [PATCH] ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA
  2012-09-05 16:16 ` Stephen Warren
@ 2012-09-06 18:28     ` Stephen Warren
  -1 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-09-06 18:28 UTC (permalink / raw)
  To: Russell King, Bill Huang
  Cc: ldewangan-DDmLM1+adcrQT0dZR+AlfA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

On 09/05/2012 10:16 AM, Stephen Warren wrote:
> Even though system suspend/resume hasn't been validated on Tegra yet,
> this Kconfig option needs to be enabled so that system shutdown is
> reliable on an SMP system. Without it, I2C interrupts may be routed
> to CPU0, whereas shutdown code may be running on CPU1, causing I2C
> timeouts, preventing communication with the external PMIC.
> 
> This reverts 3d5e8af "ARM: disable SUSPEND/ARCH_SUSPEND_POSSIBLE for
> ARCH_TEGRA".

Applied to Tegra's for-3.7/fixes branch.

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

* [PATCH] ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA
@ 2012-09-06 18:28     ` Stephen Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-09-06 18:28 UTC (permalink / raw)
  To: linux-arm-kernel

On 09/05/2012 10:16 AM, Stephen Warren wrote:
> Even though system suspend/resume hasn't been validated on Tegra yet,
> this Kconfig option needs to be enabled so that system shutdown is
> reliable on an SMP system. Without it, I2C interrupts may be routed
> to CPU0, whereas shutdown code may be running on CPU1, causing I2C
> timeouts, preventing communication with the external PMIC.
> 
> This reverts 3d5e8af "ARM: disable SUSPEND/ARCH_SUSPEND_POSSIBLE for
> ARCH_TEGRA".

Applied to Tegra's for-3.7/fixes branch.

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

end of thread, other threads:[~2012-09-06 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 16:16 [PATCH] ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA Stephen Warren
2012-09-05 16:16 ` Stephen Warren
     [not found] ` <1346861811-6597-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-09-06 18:28   ` Stephen Warren
2012-09-06 18:28     ` Stephen Warren

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.