login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
7
Re: [PATCH] swsusp: Disable nonboot CPUs before entering platform suspend
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Rafael J. Wysocki <rjw@...>
Cc: LKML <linux-kernel@...>, Pavel Machek <pavel@...>
Subject:
Re: [PATCH] swsusp: Disable nonboot CPUs before entering platform suspend
Date: Wednesday, March 7, 2007 - 5:16 pm
On Wed, 7 Mar 2007 20:44:11 +0100 "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
quoted text
> From: Rafael J. Wysocki <rjw@sisk.pl> > > Prevent the WARN_ON() in arch/x86_64/kernel/acpi/sleep.c:init_low_mapping() > from triggering by disabling nonboot CPUs before we finally enter the platform > suspend. > > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> > --- > kernel/power/disk.c | 1 + > kernel/power/user.c | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > Index: linux-2.6.21-rc2-mm2/kernel/power/disk.c > =================================================================== > --- linux-2.6.21-rc2-mm2.orig/kernel/power/disk.c > +++ linux-2.6.21-rc2-mm2/kernel/power/disk.c > @@ -61,6 +61,7 @@ static void power_down(suspend_disk_meth > switch(mode) { > case PM_DISK_PLATFORM: > if (pm_ops && pm_ops->enter) { > + disable_nonboot_cpus(); > kernel_shutdown_prepare(SYSTEM_SUSPEND_DISK); > pm_ops->enter(PM_SUSPEND_DISK); > break; > Index: linux-2.6.21-rc2-mm2/kernel/power/user.c > =================================================================== > --- linux-2.6.21-rc2-mm2.orig/kernel/power/user.c > +++ linux-2.6.21-rc2-mm2/kernel/power/user.c > @@ -398,9 +398,9 @@ static int snapshot_ioctl(struct inode * > > case PMOPS_ENTER: > if (data->platform_suspend) { > + disable_nonboot_cpus(); > kernel_shutdown_prepare(SYSTEM_SUSPEND_DISK); > error = pm_ops->enter(PM_SUSPEND_DISK); > - error = 0; > } > break;
Is this considered 2.6.21 material? If so why? Thanks. -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] swsusp: Disable nonboot CPUs before entering platfor...
, Rafael J. Wysocki
, (Wed Mar 7, 3:44 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Wed Mar 7, 5:07 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Heiko Carstens
, (Fri Mar 9, 8:29 am)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Fri Mar 9, 6:10 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Fri Mar 9, 3:39 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Fri Mar 9, 3:58 am)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Fri Mar 9, 4:54 am)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Fri Mar 9, 4:07 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Fri Mar 9, 5:07 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Fri Mar 9, 5:24 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Fri Mar 9, 6:13 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Fri Mar 9, 6:34 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Fri Mar 9, 6:48 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Andrew Morton
, (Wed Mar 7, 5:16 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Wed Mar 7, 6:14 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Pavel Machek
, (Wed Mar 7, 6:19 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Wed Mar 7, 7:14 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Andrew Morton
, (Wed Mar 7, 6:49 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Wed Mar 7, 7:13 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Len Brown
, (Thu Mar 8, 9:11 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Fri Mar 9, 3:11 am)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Dave Jones
, (Wed Mar 7, 8:20 pm)
Re: [PATCH] swsusp: Disable nonboot CPUs before entering pla...
, Rafael J. Wysocki
, (Wed Mar 7, 8:48 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Artem Bityutskiy
[PATCH 10/44 take 2] [UBI] debug unit implementation
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
Dave Young
Re: Linux v2.6.24-rc1
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
659 guests
online.
Online users
strcmp
Syndicate