Re: [Acpi] Re: ACPI "hlt" mode and SMP systems?

Pavel Machek (pavel@suse.cz)
Thu, 8 Nov 2001 14:34:34 +0000


Hi!

I have few comments...

> +System sleep states are defined as follows:
> +
> +S0 - On
> + - System is running.
> +
> +S1 - "Power On Suspend"
> + - Processor power, and hence execution context, is preserved.
> + - Devices may have been put into a low power state.
> +
> +S2 - "Pseudo-Suspend To Ram"
> + - Processor power is removed.
> + - Devices may be placed into low power state.
> + - Memory is placed into self-refresh and retains context.
> + - Execution starts again from processor's reset vector
> + - Cache and MTRR configuration is lost during this state; the
> + firmware is responsible for restoring it to some known state.
> +
> +S3 - "Suspend to Ram"
> + - Processor power is removed.
> + - Devices are placed into a low power state.
> + - Power may be removed from all system buses.
> + - Memory context is preserved by placing memory in Self-Refresh
> + - Execution begins from processor's reset vector
> + - Cache and MTRR configuration is lost during this state; the
> + firmware is responsible for restoring it to some known state.

If S2 and S3 are same, you should use exactly same text. It seems to say
exactly same thing in slightly different words.

> +S4 - "Suspend to Disk", aka "Hibernate"
> + - All power may be removed from the system.
> + - All device context may be lost.
> + - Context is usually written to persistant storage (e.g. disk).
> + - Execution begins at processor's reset vector; the firmware
> + will usually load the OS boot loader.
> +
> +S5 - Soft Off
> + - Technically not a sleep state
> + - No context is retained
> + - OS is not responsible for saving context
> + - OS must completely reinitialise itself on 'resume' (power-on)
> + - Wake events may still trigger the system to resume from sleep.

...

> +G0 -
> + The system is in the S0 state.
> +G1 -
> + The system is in one of the S1 - S4 sleep states.
> +G2 -
> + The system is in the S4 sleep state.
~~
this should be S5, no?

> +6. References
> +~~~~~~~~~~~~~
> +
> +ACPI 2.0 Specification; esp. Ch 1 - 3.
> +<http://acpi.info>
~~~~~~~~~~~~~~~~
This url does not seem too real.

Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/