public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Seyfried <seife-l3A5Bk7waGM@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: "Li,
	Shaohua" <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Andrew Morton <akpm-LJ1TwQYPT6cQrrorzV6ljw@public.gmane.org>,
	Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>,
	kernel list
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	ACPI mailing list
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	"Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: s4bios: does anyone use it?
Date: Tue, 08 Mar 2005 10:42:23 +0100	[thread overview]
Message-ID: <422D737F.2020807@suse.de> (raw)
In-Reply-To: <20050308091856.GB16436-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

Pavel Machek wrote:
> Hi!
> 
>> >Okay, so we had 2 users in past but have 0 users now? :-).
>> I wonder how could anyone use S4BIOS in 2.6.11. S4 and S4b all came into
>> 'enter_state'. and in acpi_sleep_init:
>> 
>> 		if (i == ACPI_STATE_S4) {
>> 			if (acpi_gbl_FACS->S4bios_f) {
>> 				sleep_states[i] = 1;
>> 				printk(" S4bios");
>> 				acpi_pm_ops.pm_disk_mode =
>> PM_DISK_FIRMWARE;
>> 			}
>> 			if (sleep_states[i])
>> 				acpi_pm_ops.pm_disk_mode =
>> PM_DISK_PLATFORM;
>> 		}
>> That means we actually can't set PM_DISK_FIRMWARE (always set
>> PM_DISK_PLATFORM). Is this intended? If no, .pm_disk_mode should be a
>> mask.
> 
> pm_disk_mode is settable using /sys/power/disk, no?

No, it isn't. That was my original point: you can write "firmware" into
it, but it has no effect. This probably was a side-effect of the "make
firmware mode not default" patch from a year ago.
But the real question is: what is firmware mode good for today? Is there
a single machine where firmware mode once worked, but swsusp does not
work today?

> Anyway, what about this, then?
> 
> --- clean/Documentation/feature-removal-schedule.txt	2005-01-22 21:24:50.000000000 +0100
> +++ linux/Documentation/feature-removal-schedule.txt	2005-03-08 10:18:05.000000000 +0100

Fine with me. I think it cannot work since ~one year (when we changed
the default from "firmware if available" to "shutdown always", the code
piece cited above) and nobody complained until now, so it won't be
missed IMO.
-- 
Stefan Seyfried, QA / R&D Team Mobile Devices, SUSE LINUX Nürnberg.

"Any ideas, John?"
"Well, surrounding them's out."


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

  parent reply	other threads:[~2005-03-08  9:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08  5:24 s4bios: does anyone use it? Li, Shaohua
2005-03-08  9:18 ` [ACPI] " Pavel Machek
     [not found]   ` <20050308091856.GB16436-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-08  9:42     ` Stefan Seyfried [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-05 19:14 Pavel Machek
     [not found] ` <20050305191405.GA1463-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-05 21:08   ` Brice Goglin
     [not found]     ` <422A1FB6.3000504-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
2005-03-05 21:17       ` Pavel Machek
2005-03-05 21:26         ` Brice Goglin
2005-03-05 21:32           ` Pavel Machek
     [not found]             ` <20050305213236.GH1424-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-05 21:45               ` Brice Goglin
2005-03-05 22:01     ` Stefan Seyfried
2005-03-07 17:08   ` Bruno Ducrot
     [not found]     ` <20050307170852.GB31985-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-03-07 20:44       ` Pavel Machek
     [not found]         ` <20050307204401.GA15212-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-08  9:20           ` Bruno Ducrot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=422D737F.2020807@suse.de \
    --to=seife-l3a5bk7wagm@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=akpm-LJ1TwQYPT6cQrrorzV6ljw@public.gmane.org \
    --cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pavel-AlSwsSmVLrQ@public.gmane.org \
    --cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox