[PATCH] powerpc: add ibm,suspend-me rtas interface

Dave C Boutcher sleddog at us.ibm.com
Thu Jan 12 09:48:30 EST 2006


On Thu, Jan 12, 2006 at 08:47:54AM +1100, Benjamin Herrenschmidt wrote:
> 
> > 
> > This suspend is not (sigh) the same as linux suspend.  I might have 
> > tried to rename it something different, but the RTAS call is 
> > "ibm,suspend-me".  This is going to be driven by the HMC ultimately.
> > 
> > This function doesn't preclude someone implementing one of the Linux
> > swsusp versions on Power (and in fact Santi was working on that last 
> > year.)
> 
> What is it then ? Linux "suspend" means any kind of maching suspend,
> wether it's to RAM or to disk. If this calls suspends operations on the
> partition, it should probably be hooked to the linux PM framework. This
> is regardless of wether suspend to disk is implemented or not for ppc64.

The only time this gets used is when the HMC wants to bring the OS to
a sync point.  It is not a generic linux-initiated suspend thing.
Properly this should just be a generic RTAS call from user-land, except
that there is this wierd dance that has to occur with some hypervisor
calls.  There is no need (or desire) to tie into (for example) all the
device-suspend/resume stuff.

I wish they had called the RTAS call "OS-sync" or something.

-- 
Dave Boutcher



More information about the Linuxppc64-dev mailing list