* [GIT PULL] PM updates for 2.6.31
@ 2009-06-12 20:02 Rafael J. Wysocki
2009-06-12 20:06 ` Pavel Machek
2009-06-12 20:19 ` Linus Torvalds
0 siblings, 2 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2009-06-12 20:02 UTC (permalink / raw)
To: Linus Torvalds
Cc: Alan Stern, Cornelia Huck, Pavel Machek, pm list, LKML,
ACPI Devel Maling List, Greg Kroah-Hartman, Heiko Carstens,
Ingo Molnar, Jaswinder Singh Rajput, Lauro Salmito, Magnus Damm,
Wu Fengguang, Sergio Luis
Hi Linus,
Please pull power management updates for 2.6.31 from:
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git for-linus
They are cleanups and code rearrangements mostly, in particular:
* arch/x86/power/cpu_(32|64) unification from Sergio Luis (Ingo saw
these patches and his opinion was that they should better go
through the suspend tree)
* Removal of some unused files and PM callbacks, function renames
from Magnus Damm and Alan Stern
* Rearrangements of the code under kernel/power from me and
Cornelia Huck
* Two patches related to the memory shrinking (for the record, Pavel
doesn't like the "PM/Suspend: Do not shrink memory before suspend"
patch, so please let me know if I should drop it)
* A couple of bug fixes
Documentation/power/devices.txt | 34 +--
arch/alpha/include/asm/suspend.h | 6 -
arch/arm/include/asm/suspend.h | 4 -
arch/ia64/include/asm/suspend.h | 1 -
arch/m68k/include/asm/suspend.h | 6 -
arch/mips/include/asm/suspend.h | 6 -
arch/s390/include/asm/suspend.h | 5 -
arch/um/include/asm/suspend.h | 4 -
arch/x86/kernel/acpi/sleep.c | 2 +-
arch/x86/kernel/apm_32.c | 14 +-
arch/x86/power/Makefile | 2 +-
arch/x86/power/cpu.c | 259 +++++++++++
arch/x86/power/cpu_32.c | 148 ------
arch/x86/power/cpu_64.c | 174 -------
drivers/base/platform.c | 36 +-
drivers/base/power/main.c | 94 ++---
drivers/base/sys.c | 16 +
drivers/xen/manage.c | 16 +-
include/linux/device.h | 5 -
include/linux/interrupt.h | 6 +
include/linux/pm.h | 11 +-
include/linux/suspend.h | 18 +-
kernel/kexec.c | 14 +-
kernel/power/Kconfig | 4 +
kernel/power/Makefile | 5 +-
kernel/power/disk.c | 955 --------------------------------------
kernel/power/hibernate.c | 955 ++++++++++++++++++++++++++++++++++++++
kernel/power/hibernate_nvs.c | 135 ++++++
kernel/power/main.c | 521 ---------------------
kernel/power/power.h | 25 +-
kernel/power/snapshot.c | 80 +++-
kernel/power/suspend.c | 300 ++++++++++++
kernel/power/suspend_test.c | 187 ++++++++
kernel/power/swsusp.c | 198 --------
mm/vmscan.c | 4 +-
35 files changed, 2056 insertions(+), 2194 deletions(-)
---------------
Alan Stern (1):
PM core: rename suspend and resume functions
Cornelia Huck (1):
PM/Hibernate: Move NVS routines into a seperate file (v2).
Heiko Carstens (1):
PM: Add empty suspend/resume device irq functions
Jaswinder Singh Rajput (1):
PM/ACPI/x86: Fix sparse warning in arch/x86/kernel/acpi/sleep.c
Magnus Damm (5):
PM: Remove unused asm/suspend.h
PM: Rename device_power_down/up()
PM: Remove bus_type suspend_late()/resume_early() V2
PM: Remove device_type suspend()/resume()
Driver Core: Rework platform suspend/resume, print warning
Rafael J. Wysocki (5):
PM: Warn if interrupts are enabled during suspend-resume of sysdevs
PM/Suspend: Do not shrink memory before suspend
PM/Hibernate: Move memory shrinking to snapshot.c (rev. 2)
PM: Separate suspend to RAM functionality from core
PM/Hibernate: Rename disk.c to hibernate.c
Sergio Luis (6):
x86: unify power/cpu_(32|64) headers
x86: unify power/cpu_(32|64) global variables
x86: unify power/cpu_(32|64) regarding saving processor state
x86: unify power/cpu_(32|64) regarding restoring processor state
x86: unify power/cpu_(32|64) copyright notes
x86: unify power/cpu_(32|64).c
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [GIT PULL] PM updates for 2.6.31
2009-06-12 20:02 [GIT PULL] PM updates for 2.6.31 Rafael J. Wysocki
@ 2009-06-12 20:06 ` Pavel Machek
2009-06-12 20:19 ` Linus Torvalds
1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2009-06-12 20:06 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Linus Torvalds, Alan Stern, Cornelia Huck, pm list, LKML,
ACPI Devel Maling List, Greg Kroah-Hartman, Heiko Carstens,
Ingo Molnar, Jaswinder Singh Rajput, Lauro Salmito, Magnus Damm,
Wu Fengguang, Sergio Luis
On Fri 2009-06-12 22:02:06, Rafael J. Wysocki wrote:
> Hi Linus,
>
> Please pull power management updates for 2.6.31 from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git for-linus
>
> They are cleanups and code rearrangements mostly, in particular:
>
> * arch/x86/power/cpu_(32|64) unification from Sergio Luis (Ingo saw
> these patches and his opinion was that they should better go
> through the suspend tree)
>
> * Removal of some unused files and PM callbacks, function renames
> from Magnus Damm and Alan Stern
>
> * Rearrangements of the code under kernel/power from me and
> Cornelia Huck
>
> * Two patches related to the memory shrinking (for the record, Pavel
> doesn't like the "PM/Suspend: Do not shrink memory before suspend"
> patch, so please let me know if I should drop it)
Thanks.
For the record, the patch will break suspend if suspend is attempted
with 0 pages free. (I believe Rafael agrees with this).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] PM updates for 2.6.31
2009-06-12 20:02 [GIT PULL] PM updates for 2.6.31 Rafael J. Wysocki
2009-06-12 20:06 ` Pavel Machek
@ 2009-06-12 20:19 ` Linus Torvalds
2009-06-12 22:44 ` Rafael J. Wysocki
1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2009-06-12 20:19 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Alan Stern, Cornelia Huck, Pavel Machek, pm list, LKML,
ACPI Devel Maling List, Greg Kroah-Hartman, Heiko Carstens,
Ingo Molnar, Jaswinder Singh Rajput, Lauro Salmito, Magnus Damm,
Wu Fengguang, Sergio Luis
On Fri, 12 Jun 2009, Rafael J. Wysocki wrote:
> Hi Linus,
>
> Please pull power management updates for 2.6.31 from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git for-linus
>
> They are cleanups and code rearrangements mostly, in particular:
>
> * arch/x86/power/cpu_(32|64) unification from Sergio Luis (Ingo saw
> these patches and his opinion was that they should better go
> through the suspend tree)
>
> * Removal of some unused files and PM callbacks, function renames
> from Magnus Damm and Alan Stern
>
> * Rearrangements of the code under kernel/power from me and
> Cornelia Huck
>
> * Two patches related to the memory shrinking (for the record, Pavel
> doesn't like the "PM/Suspend: Do not shrink memory before suspend"
> patch, so please let me know if I should drop it)
>
> * A couple of bug fixes
>
>
> arch/x86/power/cpu.c | 259 +++++++++++
> arch/x86/power/cpu_32.c | 148 ------
> arch/x86/power/cpu_64.c | 174 -------
> kernel/power/disk.c | 955 --------------------------------------
> kernel/power/hibernate.c | 955 ++++++++++++++++++++++++++++++++++++++
> kernel/power/hibernate_nvs.c | 135 ++++++
> 35 files changed, 2056 insertions(+), 2194 deletions(-)
Please add rename detection to your pull script (and --summary, for that
matter). This _should_ have looked like
33 files changed, 984 insertions(+), 1122 deletions(-)
because it would have detected this:
rename arch/x86/power/{cpu_64.c => cpu.c} (62%)
delete mode 100644 arch/x86/power/cpu_32.c
rename kernel/power/{disk.c => hibernate.c} (96%)
instead of counting those as some huge patches that add/remove code.
Linus
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [GIT PULL] PM updates for 2.6.31
2009-06-12 20:19 ` Linus Torvalds
@ 2009-06-12 22:44 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2009-06-12 22:44 UTC (permalink / raw)
To: Linus Torvalds
Cc: Alan Stern, Cornelia Huck, Pavel Machek, pm list, LKML,
ACPI Devel Maling List, Greg Kroah-Hartman, Heiko Carstens,
Ingo Molnar, Jaswinder Singh Rajput, Lauro Salmito, Magnus Damm,
Wu Fengguang, Sergio Luis
On Friday 12 June 2009, Linus Torvalds wrote:
>
> On Fri, 12 Jun 2009, Rafael J. Wysocki wrote:
>
> > Hi Linus,
> >
> > Please pull power management updates for 2.6.31 from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git for-linus
> >
> > They are cleanups and code rearrangements mostly, in particular:
> >
> > * arch/x86/power/cpu_(32|64) unification from Sergio Luis (Ingo saw
> > these patches and his opinion was that they should better go
> > through the suspend tree)
> >
> > * Removal of some unused files and PM callbacks, function renames
> > from Magnus Damm and Alan Stern
> >
> > * Rearrangements of the code under kernel/power from me and
> > Cornelia Huck
> >
> > * Two patches related to the memory shrinking (for the record, Pavel
> > doesn't like the "PM/Suspend: Do not shrink memory before suspend"
> > patch, so please let me know if I should drop it)
> >
> > * A couple of bug fixes
> >
> >
> > arch/x86/power/cpu.c | 259 +++++++++++
> > arch/x86/power/cpu_32.c | 148 ------
> > arch/x86/power/cpu_64.c | 174 -------
> > kernel/power/disk.c | 955 --------------------------------------
> > kernel/power/hibernate.c | 955 ++++++++++++++++++++++++++++++++++++++
> > kernel/power/hibernate_nvs.c | 135 ++++++
> > 35 files changed, 2056 insertions(+), 2194 deletions(-)
>
> Please add rename detection to your pull script (and --summary, for that
> matter). This _should_ have looked like
>
> 33 files changed, 984 insertions(+), 1122 deletions(-)
>
> because it would have detected this:
>
> rename arch/x86/power/{cpu_64.c => cpu.c} (62%)
> delete mode 100644 arch/x86/power/cpu_32.c
> rename kernel/power/{disk.c => hibernate.c} (96%)
>
> instead of counting those as some huge patches that add/remove code.
I will, sorry for not doing it this time and thanks for pulling.
Best,
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-12 22:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 20:02 [GIT PULL] PM updates for 2.6.31 Rafael J. Wysocki
2009-06-12 20:06 ` Pavel Machek
2009-06-12 20:19 ` Linus Torvalds
2009-06-12 22:44 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox