login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
19
Re: ACPI lockdep warning on boot, 2.6.25-rc5
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Rafael J. Wysocki <rjw@...>
To: Venki Pallipadi <venkatesh.pallipadi@...>
Cc: Pavel Machek <pavel@...>, Len Brown <lenb@...>, Miklos Szeredi <miklos@...>, <linux-acpi@...>, <linux-kernel@...>
Subject:
Re: ACPI lockdep warning on boot, 2.6.25-rc5
Date: Wednesday, March 19, 2008 - 4:51 pm
On Wednesday, 19 of March 2008, Venki Pallipadi wrote:
quoted text
> On Sat, Mar 15, 2008 at 02:16:11PM +0100, Pavel Machek wrote: > > Hi! > > > > > @@ -421,7 +423,9 @@ > > > else > > > acpi_safe_halt(); > > > > > > - local_irq_enable(); > > > + if (irqs_disabled()) > > > + local_irq_enable(); > > > + > > > return; > > > } > > > > > > @@ -530,7 +534,9 @@ > > > * skew otherwise. > > > */ > > > sleep_ticks = 0xFFFFFFFF; > > > - local_irq_enable(); > > > + if (irqs_disabled()) > > > + local_irq_enable(); > > > + > > > break; > > > > > > case ACPI_STATE_C2: > > > > That's pretty ugly. Could the code be modified to have interrupt > > consistent at this point? > > > > Agreed that this is not very clean. The problem is that we cannot be sure > about the interrupt state at this point as the low level idle handlers at > this point can come from variety of different places like safe_halt, arch > dependent pm_idle code (which is different for (32 and 64 bit at this point) > and also pm_idle can be somewhere outside the kernel in some module as it is > a function pointer.
Well, I'd add a comment that this is to make lockdep happy. Otherwise it looks bizarre. Thanks, Rafael --
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:
ACPI lockdep warning on boot, 2.6.25-rc5
, Miklos Szeredi
, (Wed Mar 12, 6:33 am)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Rafael J. Wysocki
, (Wed Mar 12, 6:01 pm)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Len Brown
, (Thu Mar 13, 4:14 pm)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Venki Pallipadi
, (Thu Mar 13, 8:18 pm)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Pavel Machek
, (Sat Mar 15, 9:16 am)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Venki Pallipadi
, (Wed Mar 19, 4:09 pm)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Rafael J. Wysocki
, (Wed Mar 19, 4:51 pm)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Peter Zijlstra
, (Fri Apr 18, 6:24 am)
Re: ACPI lockdep warning on boot, 2.6.25-rc5
, Len Brown
, (Fri Mar 14, 12:07 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 006/196] Chinese: add translation of oops-tracing.txt
Linus Torvalds
Linux 2.6.21-rc1
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
linux-netdev
:
Alexey Dobriyan
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
11 users
and
689 guests
online.
Online users
baltimorecarin
audioturf21
antiagingxwwrc
fargosalonszob
lotsofdownload
burnfatnatural
radiocontrolle
blacklightteet
maximumprostat
beatlesgiftswta
naetallergyeli
Syndicate