-mm swsusp: do not default to platform/firmware

From: Pavel Machek (pavel_at_ucw.cz)
Date: 07/29/04

  • Next message: Pavel Machek: "Re: [PATCH] reduce swsusp casting"
    Date:	Thu, 29 Jul 2004 00:24:45 +0200
    To: Patrick Mochel <mochel@digitalimplant.org>, Andrew Morton <akpm@zip.com.au>, kernel list <linux-kernel@vger.kernel.org>
    
    

    Hi!

    -mm swsusp now defaults to platform/firmware suspend... That's
    certainly unexpected, changes behaviour from previous version, and
    only works on one of three machines I have here. I'd like the default
    to be changed back. Please apply,
                                                                    Pavel

    --- clean-mm/drivers/acpi/sleep/main.c 2004-07-28 23:39:47.000000000 +0200
    +++ linux-mm/drivers/acpi/sleep/main.c 2004-07-28 22:54:43.000000000 +0200
    @@ -216,9 +216,7 @@
                             if (acpi_gbl_FACS->S4bios_f) {
                                     sleep_states[i] = 1;
                                     printk(" S4bios");
    - acpi_pm_ops.pm_disk_mode = PM_DISK_FIRMWARE;
    - } else if (sleep_states[i])
    - acpi_pm_ops.pm_disk_mode = PM_DISK_PLATFORM;
    + }
                     }
             }
             printk(")\n");
     

    -- 
    People were complaining that M$ turns users into beta-testers...
    ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
    -
    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/
    

  • Next message: Pavel Machek: "Re: [PATCH] reduce swsusp casting"

    Relevant Pages

    • Re: -mm swsusp: do not default to platform/firmware
      ... >> certainly unexpected, changes behaviour from previous version, and ... > line before you suspend. ... I'm afraid that we'll get big storm of complains "swsusp does not ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] PCI: Add pci shutdown ability
      ... If you think distintion between shutdown and suspend is ... It is neccessary for some machines or machine ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] PCI: Add pci shutdown ability
      ... Additionally, some machines won't properly park/flush the disk, it's ... necessary to send the proper suspend commands to IDE hard disks prior to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: -mm swsusp: do not default to platform/firmware
      ... > certainly unexpected, changes behaviour from previous version, and ... > only works on one of three machines I have here. ... line before you suspend (or add it to the suspend script). ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: KLive: Linux Kernel Live Usage Monitor
      ... > Client completely stateless couldn't get right suspend to disk as far as ... I'd say "ignore suspend". ... Machines using it are probably not connected ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)