From: hechtb@gmail.com (Bastian Hecht)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] ARM: shmobile: sh73a0 Suspend-to-RAM
Date: Thu, 21 Mar 2013 14:31:35 +0100 [thread overview]
Message-ID: <1363872697-11267-1-git-send-email-hechtb+renesas@gmail.com> (raw)
Here is a patch for shutting down the CPU0 to Power Off mode during
SUSPEND-to-RAM (in which case CPU1 is already shut down to Power Off mode
due to CPU hotplug).
While patch 2/2 implements this, we face some unresolved problems with the
interrupt controller code. See: "[PATCH] input: st1232: Add IRQF_NO_SUSPEND flag"
posted on 14th of February. This problem makes us unable to use the touchscreen
as a wakeup source. I consider patch 2/2 sane in itself though, and we
should consider merging it.
To test Suspend-to-RAM, patch 1/2 is supplied that is a workaround to the problem.
When I use the gpio keys in general (and as wakeup source), I get
------------[ cut here ]------------
WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x44/0x1a0()
tty is NULL
I suppose this is another independent problem to this code.
Side note for future work: On the way to CPUIdle we might want to use
CPUIDLE_FLAG_COUPLED that enables us to coordinate the shutdown of both CPUs.
The patches are based on Simon's renesas/next branch.
Bastian Hecht (2):
input: st1232: Add IRQF_NO_SUSPEND flag
ARM: shmobile: sh73a0: Suspend-to-RAM Power Off mode
arch/arm/mach-shmobile/Makefile | 2 +-
arch/arm/mach-shmobile/headsmp-sh73a0.S | 72 ++++++++++++++++++++++++++
arch/arm/mach-shmobile/include/mach/common.h | 1 +
arch/arm/mach-shmobile/pm-sh73a0.c | 32 ++++++++++--
arch/arm/mach-shmobile/smp-sh73a0.c | 2 +-
drivers/input/touchscreen/st1232.c | 2 +-
6 files changed, 104 insertions(+), 7 deletions(-)
create mode 100644 arch/arm/mach-shmobile/headsmp-sh73a0.S
--
1.7.9.5
next reply other threads:[~2013-03-21 13:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 13:31 Bastian Hecht [this message]
2013-03-21 13:31 ` [PATCH 2/2] ARM: shmobile: sh73a0: Suspend-to-RAM Power Off mode Bastian Hecht
2013-04-09 13:25 ` Simon Horman
2013-04-09 15:02 ` Bastian Hecht
2013-03-21 13:36 ` [PATCH 0/2] ARM: shmobile: sh73a0 Suspend-to-RAM Bastian Hecht
2013-03-27 5:49 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363872697-11267-1-git-send-email-hechtb+renesas@gmail.com \
--to=hechtb@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).