linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: State of resume for AHCI?
       [not found]   ` <20060601183904.GR4400@suse.de>
@ 2006-06-01 20:19     ` Jeremy Fitzhardinge
  2006-06-02  1:02       ` zhao, forrest
  2006-06-02  6:03       ` Jens Axboe
  0 siblings, 2 replies; 11+ messages in thread
From: Jeremy Fitzhardinge @ 2006-06-01 20:19 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Mark Lord, Jeff Garzik, Linux Kernel Mailing List,
	Hannes Reinecke, linux-ide

Jens Axboe wrote:
> It's a lot more complicated than that, I'm afraid. ahci doesn't even
> have the resume/suspend methods defined, plus it needs more work than
> piix on resume.
>   
Hannes Reinecke's patch implements those functions, basically by 
factoring out the shutdown and init code and calling them at 
suspend/resume time as well.

Is that correct/sufficient?  Or should something else be happening?

    J

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

* Re: State of resume for AHCI?
  2006-06-01 20:19     ` State of resume for AHCI? Jeremy Fitzhardinge
@ 2006-06-02  1:02       ` zhao, forrest
  2006-06-02  3:39         ` Jeremy Fitzhardinge
  2006-06-02  6:39         ` Hannes Reinecke
  2006-06-02  6:03       ` Jens Axboe
  1 sibling, 2 replies; 11+ messages in thread
From: zhao, forrest @ 2006-06-02  1:02 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Jens Axboe, Mark Lord, Jeff Garzik, Linux Kernel Mailing List,
	Hannes Reinecke, linux-ide

On Thu, 2006-06-01 at 13:19 -0700, Jeremy Fitzhardinge wrote:
> Jens Axboe wrote:
> > It's a lot more complicated than that, I'm afraid. ahci doesn't even
> > have the resume/suspend methods defined, plus it needs more work than
> > piix on resume.
> >   
> Hannes Reinecke's patch implements those functions, basically by 
> factoring out the shutdown and init code and calling them at 
> suspend/resume time as well.
> 
> Is that correct/sufficient?  Or should something else be happening?

According to our test of Hannes's patch, it's not sufficient to support
AHCI suspend/resume.

Now I'm writing a patch to try to provide complete support for AHCI
suspend/resume and will send out patch soon, hopefully by the end of
today.

Thanks,
Forrest

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

* Re: State of resume for AHCI?
  2006-06-02  1:02       ` zhao, forrest
@ 2006-06-02  3:39         ` Jeremy Fitzhardinge
  2006-06-02  6:39         ` Hannes Reinecke
  1 sibling, 0 replies; 11+ messages in thread
From: Jeremy Fitzhardinge @ 2006-06-02  3:39 UTC (permalink / raw)
  To: zhao, forrest
  Cc: Jens Axboe, Mark Lord, Jeff Garzik, Linux Kernel Mailing List,
	Hannes Reinecke, linux-ide

zhao, forrest wrote:
> According to our test of Hannes's patch, it's not sufficient to support
> AHCI suspend/resume.
>   
Yes.  I merged it into mm2, and it didn't make any difference.
> Now I'm writing a patch to try to provide complete support for AHCI
> suspend/resume and will send out patch soon, hopefully by the end of
> today.
Great, looking forward to it.

    J

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

* Re: State of resume for AHCI?
  2006-06-01 20:19     ` State of resume for AHCI? Jeremy Fitzhardinge
  2006-06-02  1:02       ` zhao, forrest
@ 2006-06-02  6:03       ` Jens Axboe
  2006-06-02  6:03         ` zhao, forrest
  1 sibling, 1 reply; 11+ messages in thread
From: Jens Axboe @ 2006-06-02  6:03 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Mark Lord, Jeff Garzik, Linux Kernel Mailing List,
	Hannes Reinecke, linux-ide

On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
> Jens Axboe wrote:
> >It's a lot more complicated than that, I'm afraid. ahci doesn't even
> >have the resume/suspend methods defined, plus it needs more work than
> >piix on resume.
> >  
> Hannes Reinecke's patch implements those functions, basically by 
> factoring out the shutdown and init code and calling them at 
> suspend/resume time as well.
> 
> Is that correct/sufficient?  Or should something else be happening?

No that's it, I know for a fact that suspend/resume works perfectly with
the 10.1 suse kernel. You can give that a shot, if you want.

-- 
Jens Axboe


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

* Re: State of resume for AHCI?
  2006-06-02  6:03       ` Jens Axboe
@ 2006-06-02  6:03         ` zhao, forrest
  2006-06-02  6:41           ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: zhao, forrest @ 2006-06-02  6:03 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Jeremy Fitzhardinge, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, Hannes Reinecke, linux-ide

On Fri, 2006-06-02 at 08:03 +0200, Jens Axboe wrote:
> On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
> > Jens Axboe wrote:
> > >It's a lot more complicated than that, I'm afraid. ahci doesn't even
> > >have the resume/suspend methods defined, plus it needs more work than
> > >piix on resume.
> > >  
> > Hannes Reinecke's patch implements those functions, basically by 
> > factoring out the shutdown and init code and calling them at 
> > suspend/resume time as well.
> > 
> > Is that correct/sufficient?  Or should something else be happening?
> 
> No that's it, I know for a fact that suspend/resume works perfectly with
> the 10.1 suse kernel. You can give that a shot, if you want.

You may mean the Hannes's patch for 10.1 SUSE kernel. Hannes's patch
posted in open source community(or in linux-ide mailing list) didn't
work.

Forrest

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

* Re: State of resume for AHCI?
  2006-06-02  1:02       ` zhao, forrest
  2006-06-02  3:39         ` Jeremy Fitzhardinge
@ 2006-06-02  6:39         ` Hannes Reinecke
  1 sibling, 0 replies; 11+ messages in thread
From: Hannes Reinecke @ 2006-06-02  6:39 UTC (permalink / raw)
  To: zhao, forrest
  Cc: Jeremy Fitzhardinge, Jens Axboe, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, linux-ide

zhao, forrest wrote:
> On Thu, 2006-06-01 at 13:19 -0700, Jeremy Fitzhardinge wrote:
>> Jens Axboe wrote:
>>> It's a lot more complicated than that, I'm afraid. ahci doesn't even
>>> have the resume/suspend methods defined, plus it needs more work than
>>> piix on resume.
>>>   
>> Hannes Reinecke's patch implements those functions, basically by 
>> factoring out the shutdown and init code and calling them at 
>> suspend/resume time as well.
>>
>> Is that correct/sufficient?  Or should something else be happening?
> 
> According to our test of Hannes's patch, it's not sufficient to support
> AHCI suspend/resume.
> 
> Now I'm writing a patch to try to provide complete support for AHCI
> suspend/resume and will send out patch soon, hopefully by the end of
> today.
> 
Can I have details, please? What doesn't work?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@suse.de
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

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

* Re: State of resume for AHCI?
  2006-06-02  6:03         ` zhao, forrest
@ 2006-06-02  6:41           ` Jens Axboe
  2006-06-02  6:43             ` Hannes Reinecke
  0 siblings, 1 reply; 11+ messages in thread
From: Jens Axboe @ 2006-06-02  6:41 UTC (permalink / raw)
  To: zhao, forrest
  Cc: Jeremy Fitzhardinge, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, Hannes Reinecke, linux-ide

On Fri, Jun 02 2006, zhao, forrest wrote:
> On Fri, 2006-06-02 at 08:03 +0200, Jens Axboe wrote:
> > On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
> > > Jens Axboe wrote:
> > > >It's a lot more complicated than that, I'm afraid. ahci doesn't even
> > > >have the resume/suspend methods defined, plus it needs more work than
> > > >piix on resume.
> > > >  
> > > Hannes Reinecke's patch implements those functions, basically by 
> > > factoring out the shutdown and init code and calling them at 
> > > suspend/resume time as well.
> > > 
> > > Is that correct/sufficient?  Or should something else be happening?
> > 
> > No that's it, I know for a fact that suspend/resume works perfectly with
> > the 10.1 suse kernel. You can give that a shot, if you want.
> 
> You may mean the Hannes's patch for 10.1 SUSE kernel. Hannes's patch
> posted in open source community(or in linux-ide mailing list) didn't
> work.

I didn't say Hannes patch, I said I know that 10.1 works. And that is
probably in large due to the patch that Hannes did, which implents
resume/suspend and takes care of reinitializing the resources.

-- 
Jens Axboe


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

* Re: State of resume for AHCI?
  2006-06-02  6:41           ` Jens Axboe
@ 2006-06-02  6:43             ` Hannes Reinecke
  2006-06-02  6:49               ` zhao, forrest
  2006-06-02  6:52               ` Jens Axboe
  0 siblings, 2 replies; 11+ messages in thread
From: Hannes Reinecke @ 2006-06-02  6:43 UTC (permalink / raw)
  To: Jens Axboe
  Cc: zhao, forrest, Jeremy Fitzhardinge, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, linux-ide

Jens Axboe wrote:
> On Fri, Jun 02 2006, zhao, forrest wrote:
>> On Fri, 2006-06-02 at 08:03 +0200, Jens Axboe wrote:
>>> On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
>>>> Jens Axboe wrote:
>>>>> It's a lot more complicated than that, I'm afraid. ahci doesn't even
>>>>> have the resume/suspend methods defined, plus it needs more work than
>>>>> piix on resume.
>>>>>  
>>>> Hannes Reinecke's patch implements those functions, basically by 
>>>> factoring out the shutdown and init code and calling them at 
>>>> suspend/resume time as well.
>>>>
>>>> Is that correct/sufficient?  Or should something else be happening?
>>> No that's it, I know for a fact that suspend/resume works perfectly with
>>> the 10.1 suse kernel. You can give that a shot, if you want.
>> You may mean the Hannes's patch for 10.1 SUSE kernel. Hannes's patch
>> posted in open source community(or in linux-ide mailing list) didn't
>> work.
> 
> I didn't say Hannes patch, I said I know that 10.1 works. And that is
> probably in large due to the patch that Hannes did, which implents
> resume/suspend and takes care of reinitializing the resources.
> 
Indeed. I didn't post the latest set of patches to the open-source
community as Jeff indicated he would only accept patches against
libata-dev. And as I didn't have time to port them yet I didn't feel the
need to do so.

Forrest, please drop me a mail if I can be of further assistance.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@suse.de
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

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

* Re: State of resume for AHCI?
  2006-06-02  6:43             ` Hannes Reinecke
@ 2006-06-02  6:49               ` zhao, forrest
  2006-06-02  7:06                 ` Jens Axboe
  2006-06-02  6:52               ` Jens Axboe
  1 sibling, 1 reply; 11+ messages in thread
From: zhao, forrest @ 2006-06-02  6:49 UTC (permalink / raw)
  To: Hannes Reinecke
  Cc: Jens Axboe, Jeremy Fitzhardinge, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, linux-ide

On Fri, 2006-06-02 at 08:43 +0200, Hannes Reinecke wrote:
> Jens Axboe wrote:
> > On Fri, Jun 02 2006, zhao, forrest wrote:
> >> On Fri, 2006-06-02 at 08:03 +0200, Jens Axboe wrote:
> >>> On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
> >>>> Jens Axboe wrote:
> >>>>> It's a lot more complicated than that, I'm afraid. ahci doesn't even
> >>>>> have the resume/suspend methods defined, plus it needs more work than
> >>>>> piix on resume.
> >>>>>  
> >>>> Hannes Reinecke's patch implements those functions, basically by 
> >>>> factoring out the shutdown and init code and calling them at 
> >>>> suspend/resume time as well.
> >>>>
> >>>> Is that correct/sufficient?  Or should something else be happening?
> >>> No that's it, I know for a fact that suspend/resume works perfectly with
> >>> the 10.1 suse kernel. You can give that a shot, if you want.
> >> You may mean the Hannes's patch for 10.1 SUSE kernel. Hannes's patch
> >> posted in open source community(or in linux-ide mailing list) didn't
> >> work.
> > 
> > I didn't say Hannes patch, I said I know that 10.1 works. And that is
> > probably in large due to the patch that Hannes did, which implents
> > resume/suspend and takes care of reinitializing the resources.
> > 
> Indeed. I didn't post the latest set of patches to the open-source
> community as Jeff indicated he would only accept patches against
> libata-dev. And as I didn't have time to port them yet I didn't feel the
> need to do so.
> 
> Forrest, please drop me a mail if I can be of further assistance.

I almost finished porting a patch from OpenSUSE, will send it out in an
hour, please help review it :)

Thanks,
Forrest

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

* Re: State of resume for AHCI?
  2006-06-02  6:43             ` Hannes Reinecke
  2006-06-02  6:49               ` zhao, forrest
@ 2006-06-02  6:52               ` Jens Axboe
  1 sibling, 0 replies; 11+ messages in thread
From: Jens Axboe @ 2006-06-02  6:52 UTC (permalink / raw)
  To: Hannes Reinecke
  Cc: zhao, forrest, Jeremy Fitzhardinge, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, linux-ide

On Fri, Jun 02 2006, Hannes Reinecke wrote:
> Jens Axboe wrote:
> > On Fri, Jun 02 2006, zhao, forrest wrote:
> >> On Fri, 2006-06-02 at 08:03 +0200, Jens Axboe wrote:
> >>> On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
> >>>> Jens Axboe wrote:
> >>>>> It's a lot more complicated than that, I'm afraid. ahci doesn't even
> >>>>> have the resume/suspend methods defined, plus it needs more work than
> >>>>> piix on resume.
> >>>>>  
> >>>> Hannes Reinecke's patch implements those functions, basically by 
> >>>> factoring out the shutdown and init code and calling them at 
> >>>> suspend/resume time as well.
> >>>>
> >>>> Is that correct/sufficient?  Or should something else be happening?
> >>> No that's it, I know for a fact that suspend/resume works perfectly with
> >>> the 10.1 suse kernel. You can give that a shot, if you want.
> >> You may mean the Hannes's patch for 10.1 SUSE kernel. Hannes's patch
> >> posted in open source community(or in linux-ide mailing list) didn't
> >> work.
> > 
> > I didn't say Hannes patch, I said I know that 10.1 works. And that is
> > probably in large due to the patch that Hannes did, which implents
> > resume/suspend and takes care of reinitializing the resources.
> > 
> Indeed. I didn't post the latest set of patches to the open-source
> community as Jeff indicated he would only accept patches against
> libata-dev. And as I didn't have time to port them yet I didn't feel the
> need to do so.

Understandable, I hope you will have some time to push it for 2.6.18
though.

-- 
Jens Axboe


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

* Re: State of resume for AHCI?
  2006-06-02  6:49               ` zhao, forrest
@ 2006-06-02  7:06                 ` Jens Axboe
  0 siblings, 0 replies; 11+ messages in thread
From: Jens Axboe @ 2006-06-02  7:06 UTC (permalink / raw)
  To: zhao, forrest
  Cc: Hannes Reinecke, Jeremy Fitzhardinge, Mark Lord, Jeff Garzik,
	Linux Kernel Mailing List, linux-ide

On Fri, Jun 02 2006, zhao, forrest wrote:
> On Fri, 2006-06-02 at 08:43 +0200, Hannes Reinecke wrote:
> > Jens Axboe wrote:
> > > On Fri, Jun 02 2006, zhao, forrest wrote:
> > >> On Fri, 2006-06-02 at 08:03 +0200, Jens Axboe wrote:
> > >>> On Thu, Jun 01 2006, Jeremy Fitzhardinge wrote:
> > >>>> Jens Axboe wrote:
> > >>>>> It's a lot more complicated than that, I'm afraid. ahci doesn't even
> > >>>>> have the resume/suspend methods defined, plus it needs more work than
> > >>>>> piix on resume.
> > >>>>>  
> > >>>> Hannes Reinecke's patch implements those functions, basically by 
> > >>>> factoring out the shutdown and init code and calling them at 
> > >>>> suspend/resume time as well.
> > >>>>
> > >>>> Is that correct/sufficient?  Or should something else be happening?
> > >>> No that's it, I know for a fact that suspend/resume works perfectly with
> > >>> the 10.1 suse kernel. You can give that a shot, if you want.
> > >> You may mean the Hannes's patch for 10.1 SUSE kernel. Hannes's patch
> > >> posted in open source community(or in linux-ide mailing list) didn't
> > >> work.
> > > 
> > > I didn't say Hannes patch, I said I know that 10.1 works. And that is
> > > probably in large due to the patch that Hannes did, which implents
> > > resume/suspend and takes care of reinitializing the resources.
> > > 
> > Indeed. I didn't post the latest set of patches to the open-source
> > community as Jeff indicated he would only accept patches against
> > libata-dev. And as I didn't have time to port them yet I didn't feel the
> > need to do so.
> > 
> > Forrest, please drop me a mail if I can be of further assistance.
> 
> I almost finished porting a patch from OpenSUSE, will send it out in an
> hour, please help review it :)

Wonderful! Please do test it as well :-)

-- 
Jens Axboe


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

end of thread, other threads:[~2006-06-02  7:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <447F23C2.8030802@goop.org>
     [not found] ` <447F3250.5070101@rtr.ca>
     [not found]   ` <20060601183904.GR4400@suse.de>
2006-06-01 20:19     ` State of resume for AHCI? Jeremy Fitzhardinge
2006-06-02  1:02       ` zhao, forrest
2006-06-02  3:39         ` Jeremy Fitzhardinge
2006-06-02  6:39         ` Hannes Reinecke
2006-06-02  6:03       ` Jens Axboe
2006-06-02  6:03         ` zhao, forrest
2006-06-02  6:41           ` Jens Axboe
2006-06-02  6:43             ` Hannes Reinecke
2006-06-02  6:49               ` zhao, forrest
2006-06-02  7:06                 ` Jens Axboe
2006-06-02  6:52               ` Jens Axboe

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).