linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: marek.vasut@gmail.com (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: PXA27x: save/restore PWER on suspend/resume
Date: Mon, 27 Feb 2012 00:47:01 +0100	[thread overview]
Message-ID: <201202270047.01509.marek.vasut@gmail.com> (raw)
In-Reply-To: <20120226233648.GD4706@n2100.arm.linux.org.uk>

> On Sun, Feb 26, 2012 at 11:20:27PM +0100, Marek Vasut wrote:
> > > On Sun, Feb 26, 2012 at 04:47:41PM +0300, Vasily Khoruzhick wrote:
> > > > Bootloader can clobber PWER value, so save it state on suspend.
> > > 
> > > What boot loader is this,
> > 
> > U-Boot, patched, not mainline.
> > 
> > > and why is it being so idiotic?
> > 
> > Mainline doesn't touch PWER, so please be careful about your accusations.
> > 
> > > Why can't it
> > > be fixed?
> > 
> > Yes, either by using mainline uboot (to rule out the bootloader problem),
> > finding bug in linux kernel or reading the CPU manual.
> 
> Was there supposed to be any useful information in your reply, or are
> you just trying to be your usual antagonistic self?

Um ... 

1) PWER isn't reconfigured by uboot (see above)
2) That you should try mainline uboot to avoid debugging problems with not-
mainlined patches
3) That the bug with PWER is likely in kernel, since there's an issue with 
gpio_set_wake() on PXA
4) That the CPU might not preserve PWER throughout the suspend and that this 
information might be found in the CPU manual

I was a bit terse there, sorry.

M

  reply	other threads:[~2012-02-26 23:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 13:47 [PATCH 1/3] ARM: PXA: Zipit Z2: Fix oops in z2_power_off Vasily Khoruzhick
2012-02-26 13:47 ` [PATCH 2/3] ARM: PXA27x: save/restore PWER on suspend/resume Vasily Khoruzhick
2012-02-26 14:27   ` Russell King - ARM Linux
2012-02-26 14:55     ` Vasily Khoruzhick
2012-02-26 15:26       ` Russell King - ARM Linux
2012-02-26 22:20     ` Marek Vasut
2012-02-26 23:36       ` Russell King - ARM Linux
2012-02-26 23:47         ` Marek Vasut [this message]
2012-02-27  0:18           ` Russell King - ARM Linux
2012-02-27  0:40             ` Marek Vasut
2012-02-26 13:47 ` [PATCH 3/3] ARM: PXA27x: Zipit Z2: disable wake on GPIO0 Vasily Khoruzhick
2012-02-26 14:26   ` Russell King - ARM Linux
2012-02-26 15:11     ` Vasily Khoruzhick
2012-02-26 15:29       ` Russell King - ARM Linux
2012-02-26 15:35         ` Vasily Khoruzhick
2012-02-26 22:21           ` Marek Vasut
2012-02-26 23:35             ` Russell King - ARM Linux
2012-02-26 23:47               ` Marek Vasut

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=201202270047.01509.marek.vasut@gmail.com \
    --to=marek.vasut@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).