Re: [PATCH 1/5] introduce .wakeup_event ops

Alan Stern
2009-08-21T14:33:49Z

On Fri, 21 Aug 2009, Shaohua Li wrote:

> > > I'm still not clear on this. Does the non-standard wakeup register
> > > have to be set and cleared by the suspend and resume routines in
> > > uhci-hcd, or will it be handled by other code?
> >
> > I'm not sure if anyone can answer this 100% accurately without doing any
> > testing.
> As far as I know, when the pci trys to enable pme, we will call corresponding
> ACPI methods. In that methods, the non-starndard wakeup registers will be
> set/clear. The issue is we must relay on correct BIOS.

If the BIOS doesn't know about the non-standard register then it won't
set the wakeup bits. Therefore the fact that it won't clear them
doesn't matter.

Alan Stern