Re: [PATCH] implement pm_ops.valid for everybody

David Brownell
2007-03-22T23:44:21Z

On Thursday 22 March 2007 4:29 pm, Guennadi Liakhovetski wrote:
> On Thu, 22 Mar 2007, David Brownell wrote:
>
> > On Thursday 22 March 2007 3:10 pm, Rafael J. Wysocki wrote:
> >
> > > Well, I think the only clear distinction between the STR and "standby" is the
> > > necessity to go through a boot-like procedure in order to resume from the
> > > former.
> >
> > So what's a "boot-like procedure"? Ten instructions? A hundred?
> > A thousand? Ten thousand? Does it take a certain amount of time?
> > Does it perform certain operations? Does it involve going through
> > ACPI (or APM)? If so, what about the fact that ACPI (or APM) are
> > involved in "standby" resumes too (on platforms using them)?
>
> Ok, on ARM / (at least embedded) ppc I would say - going through reset
> vector / toggling reset pin.

However, I would also say that it makes plenty of sense to talk about
an STR state that doesn't involve such a reset.

> Do these terms still make sense on hyper-threaded-cored-celled CPUs?

"Reset", sure ... though there are lots of types of reset.
And "boot-like procedure" is inherently vague though.

- Dave