Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

Rafael J. Wysocki
2007-07-04T14:23:57Z

On Wednesday, 4 July 2007 13:24, Paul Mackerras wrote:
> Rafael J. Wysocki writes:
>
> > BTW, does your platform's suspend work on SMP systems?
>
> Yes; currently we require userspace to offline all cpus other than the
> boot cpu before initiating the suspend.

This is incompatible with the code in kernel/power/main.c, since we only
disable the nonboot CPUs after devices have been suspended. Do you think that
your framework can be modified to work without disabling the nonboot CPUs
by the user space?

> The main difficulty is actually that SMP powermacs that can suspend
> tend to have video cards that get powered off in suspend. We know how
> to re-initialize one (the Radeon RV100 QW) but not others. That's an
> orthogonal issue to the issues we have been discussing, though.

Sure.

Greetings,
Rafael

--
"Premature optimization is the root of all evil." - Donald Knuth