Re: BUG: scheduling while atomic: ip/23212/0x00000102

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Tuesday, August 5, 2008 - 2:17 am

On Tuesday, 5 of August 2008, Jesse Barnes wrote:

Okay, but tg3 evidently wants to set the power state to D0 under a spinlock
(without the delay required by the PCI PM spec, but well).

So, perhaps we should just change the msleep(pci_pm_d3_delay), in
pci_raw_set_power_state(), to mdelay(pci_pm_d3_delay).  As far as
suspend/resume is concerned, this won't matter, because they both are done
in one thread.  I'm not really sure if there are any other cases in which that
could matter, though.

Thanks,
Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
BUG: scheduling while atomic: ip/23212/0x00000102, Arkadiusz Miskiewicz, (Mon Aug 4, 9:45 am)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, David Miller, (Mon Aug 4, 2:35 pm)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Rafael J. Wysocki, (Mon Aug 4, 3:10 pm)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Rafael J. Wysocki, (Mon Aug 4, 3:40 pm)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Jesse Barnes, (Mon Aug 4, 4:04 pm)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Rafael J. Wysocki, (Mon Aug 4, 4:53 pm)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Jesse Barnes, (Mon Aug 4, 5:05 pm)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Rafael J. Wysocki, (Tue Aug 5, 2:17 am)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, David Miller, (Tue Aug 5, 2:37 am)
Re: BUG: scheduling while atomic: ip/23212/0x00000102, Rafael J. Wysocki, (Tue Aug 5, 5:20 am)