public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: CELF interest in suspend-to-flash
  2004-11-10 18:06 ` Nigel Cunningham
@ 2004-11-10 15:41   ` Marcelo Tosatti
  2004-11-10 19:17     ` Nigel Cunningham
  2004-11-10 19:39     ` Thomas Gleixner
  2004-11-10 18:22   ` Tim Bird
  1 sibling, 2 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2004-11-10 15:41 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: Tim Bird, Linux Kernel Mailing List, Patrick Mochel

On Thu, Nov 11, 2004 at 05:06:31AM +1100, Nigel Cunningham wrote:
> Hi.
> 
> On Thu, 2004-11-11 at 04:59, Tim Bird wrote:
> > Hi all,
> > 
> > Lately, the CE Linux Forum power management working group is showing some
> > interest in suspend-to-flash.  Is there any current work in this area?
> > 
> > Who should we talk to if we want to get involved with this (or lead
> > an effort if there isn't one)?
> 
> Can flash be treated as a swap device at the moment? If so, it might
> simply be a matter of specifying the same parameter used in swapon for
> the resume2= boot parameter.

Sure, you only need to have the flash as a block device (ie driven 
by the IDE code).

> If more work is required, I'd happily help, although I might be a little
> slow: I'm only work on this on a voluntary basis at the moment (looking
> for full time work, from next month though).

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

* CELF interest in suspend-to-flash
@ 2004-11-10 17:59 Tim Bird
  2004-11-10 18:06 ` Nigel Cunningham
  0 siblings, 1 reply; 8+ messages in thread
From: Tim Bird @ 2004-11-10 17:59 UTC (permalink / raw)
  To: linux kernel, Patrick Mochel, Nigel Cunningham

Hi all,

Lately, the CE Linux Forum power management working group is showing some
interest in suspend-to-flash.  Is there any current work in this area?

Who should we talk to if we want to get involved with this (or lead
an effort if there isn't one)?

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================

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

* Re: CELF interest in suspend-to-flash
  2004-11-10 17:59 CELF interest in suspend-to-flash Tim Bird
@ 2004-11-10 18:06 ` Nigel Cunningham
  2004-11-10 15:41   ` Marcelo Tosatti
  2004-11-10 18:22   ` Tim Bird
  0 siblings, 2 replies; 8+ messages in thread
From: Nigel Cunningham @ 2004-11-10 18:06 UTC (permalink / raw)
  To: Tim Bird; +Cc: Linux Kernel Mailing List, Patrick Mochel

Hi.

On Thu, 2004-11-11 at 04:59, Tim Bird wrote:
> Hi all,
> 
> Lately, the CE Linux Forum power management working group is showing some
> interest in suspend-to-flash.  Is there any current work in this area?
> 
> Who should we talk to if we want to get involved with this (or lead
> an effort if there isn't one)?

Can flash be treated as a swap device at the moment? If so, it might
simply be a matter of specifying the same parameter used in swapon for
the resume2= boot parameter.

If more work is required, I'd happily help, although I might be a little
slow: I'm only work on this on a voluntary basis at the moment (looking
for full time work, from next month though).

Regards,

Nigel

> =============================
> Tim Bird
> Architecture Group Chair, CE Linux Forum
> Senior Staff Engineer, Sony Electronics
> =============================
-- 
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901

You see, at just the right time, when we were still powerless, Christ
died for the ungodly.		-- Romans 5:6


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

* Re: CELF interest in suspend-to-flash
  2004-11-10 18:06 ` Nigel Cunningham
  2004-11-10 15:41   ` Marcelo Tosatti
@ 2004-11-10 18:22   ` Tim Bird
  1 sibling, 0 replies; 8+ messages in thread
From: Tim Bird @ 2004-11-10 18:22 UTC (permalink / raw)
  To: ncunningham; +Cc: Linux Kernel Mailing List, Patrick Mochel

Nigel Cunningham wrote:
> Can flash be treated as a swap device at the moment?
I don't know.  I'll ask around.  I'm not an expert, but we have some
people with experience with suspend-resume in our working group.

> If so, it might
> simply be a matter of specifying the same parameter used in swapon for
> the resume2= boot parameter.

Interesting... I'll pass this on and see what people think.

> If more work is required, I'd happily help, although I might be a little
> slow: I'm only work on this on a voluntary basis at the moment (looking
> for full time work, from next month though).

Also interesting. The forum moves VERY slowly on things (so you might not
hear back from me for a while), but I'll definitely keep this in mind.

Thanks very much for the response.

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================

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

* Re: CELF interest in suspend-to-flash
  2004-11-10 15:41   ` Marcelo Tosatti
@ 2004-11-10 19:17     ` Nigel Cunningham
  2004-11-10 19:39     ` Thomas Gleixner
  1 sibling, 0 replies; 8+ messages in thread
From: Nigel Cunningham @ 2004-11-10 19:17 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Tim Bird, Linux Kernel Mailing List, Patrick Mochel

Hi.

On Thu, 2004-11-11 at 02:41, Marcelo Tosatti wrote:
> On Thu, Nov 11, 2004 at 05:06:31AM +1100, Nigel Cunningham wrote:
> > Hi.
> > 
> > On Thu, 2004-11-11 at 04:59, Tim Bird wrote:
> > > Hi all,
> > > 
> > > Lately, the CE Linux Forum power management working group is showing some
> > > interest in suspend-to-flash.  Is there any current work in this area?
> > > 
> > > Who should we talk to if we want to get involved with this (or lead
> > > an effort if there isn't one)?
> > 
> > Can flash be treated as a swap device at the moment? If so, it might
> > simply be a matter of specifying the same parameter used in swapon for
> > the resume2= boot parameter.
> 
> Sure, you only need to have the flash as a block device (ie driven 
> by the IDE code).

Cool. In that case, it should work fine with either swsusp (the mainline
implementation) or suspend2.

Regards,

Nigel
-- 
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901

You see, at just the right time, when we were still powerless, Christ
died for the ungodly.		-- Romans 5:6


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

* Re: CELF interest in suspend-to-flash
  2004-11-10 15:41   ` Marcelo Tosatti
  2004-11-10 19:17     ` Nigel Cunningham
@ 2004-11-10 19:39     ` Thomas Gleixner
  2004-11-10 19:51       ` Nigel Cunningham
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Gleixner @ 2004-11-10 19:39 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Nigel Cunningham, Tim Bird, LKML, Patrick Mochel

On Wed, 2004-11-10 at 13:41 -0200, Marcelo Tosatti wrote:
> > On Thu, 2004-11-11 at 04:59, Tim Bird wrote:
> > > Hi all,
> > > 
> > > Lately, the CE Linux Forum power management working group is showing some
> > > interest in suspend-to-flash.  Is there any current work in this area?
> > > 
> > > Who should we talk to if we want to get involved with this (or lead
> > > an effort if there isn't one)?
> > 
> > Can flash be treated as a swap device at the moment? If so, it might
> > simply be a matter of specifying the same parameter used in swapon for
> > the resume2= boot parameter.
> 
> Sure, you only need to have the flash as a block device (ie driven 
> by the IDE code).

That's true, if you are talking about Compact FLash which pretends to be
a harddisk, but I assume that the embedded people are talking about raw
FLASH chips. It's possible do this, but it will need some tweaks to the
MTD code

tglx






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

* Re: CELF interest in suspend-to-flash
  2004-11-10 19:39     ` Thomas Gleixner
@ 2004-11-10 19:51       ` Nigel Cunningham
  2004-11-11  0:05         ` Tim Bird
  0 siblings, 1 reply; 8+ messages in thread
From: Nigel Cunningham @ 2004-11-10 19:51 UTC (permalink / raw)
  To: tglx; +Cc: Marcelo Tosatti, Tim Bird, LKML, Patrick Mochel

Hi.

On Thu, 2004-11-11 at 06:39, Thomas Gleixner wrote:
> On Wed, 2004-11-10 at 13:41 -0200, Marcelo Tosatti wrote:
> > > On Thu, 2004-11-11 at 04:59, Tim Bird wrote:
> > > > Hi all,
> > > > 
> > > > Lately, the CE Linux Forum power management working group is showing some
> > > > interest in suspend-to-flash.  Is there any current work in this area?
> > > > 
> > > > Who should we talk to if we want to get involved with this (or lead
> > > > an effort if there isn't one)?
> > > 
> > > Can flash be treated as a swap device at the moment? If so, it might
> > > simply be a matter of specifying the same parameter used in swapon for
> > > the resume2= boot parameter.
> > 
> > Sure, you only need to have the flash as a block device (ie driven 
> > by the IDE code).
> 
> That's true, if you are talking about Compact FLash which pretends to be
> a harddisk, but I assume that the embedded people are talking about raw
> FLASH chips. It's possible do this, but it will need some tweaks to the
> MTD code

Alternatively, a new module could be written for suspend to read/write
to it. If your idea is just tweaks, it will probably be quicker to
implement (and... I don't have access to the hardware).

Regards,

Nigel
-- 
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901

You see, at just the right time, when we were still powerless, Christ
died for the ungodly.		-- Romans 5:6


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

* Re: CELF interest in suspend-to-flash
  2004-11-10 19:51       ` Nigel Cunningham
@ 2004-11-11  0:05         ` Tim Bird
  0 siblings, 0 replies; 8+ messages in thread
From: Tim Bird @ 2004-11-11  0:05 UTC (permalink / raw)
  To: ncunningham; +Cc: tglx, Marcelo Tosatti, LKML, Patrick Mochel

Nigel Cunningham wrote:
> Hi.
> 
> On Thu, 2004-11-11 at 06:39, Thomas Gleixner wrote:
>> On Wed, 2004-11-10 at 13:41 -0200, Marcelo Tosatti wrote:
>> > Nigel Cunningham wrote:
>> > > 
>> > > Can flash be treated as a swap device at the moment? If so, it might
>> > > simply be a matter of specifying the same parameter used in swapon for
>> > > the resume2= boot parameter.
>> > 
>> > Sure, you only need to have the flash as a block device (ie driven 
>> > by the IDE code).
>> 
>> That's true, if you are talking about Compact FLash which pretends to be
>> a harddisk, but I assume that the embedded people are talking about raw
>> FLASH chips. It's possible do this, but it will need some tweaks to the
>> MTD code

I just heard from a developer at Samsung.
They have successfully used NAND flash as a swap device using MTD.
(on a SMDK2440 platform and SMC NAND flash)
They have not tested NOR flash as swap device.  I'll try to follow up
and see if this translates into something which will work with your
suggested method.

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================

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

end of thread, other threads:[~2004-11-11  0:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-10 17:59 CELF interest in suspend-to-flash Tim Bird
2004-11-10 18:06 ` Nigel Cunningham
2004-11-10 15:41   ` Marcelo Tosatti
2004-11-10 19:17     ` Nigel Cunningham
2004-11-10 19:39     ` Thomas Gleixner
2004-11-10 19:51       ` Nigel Cunningham
2004-11-11  0:05         ` Tim Bird
2004-11-10 18:22   ` Tim Bird

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