]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Suspend and resume PCI Express ports with interrupts disabled
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 6 Dec 2008 14:07:59 +0000 (15:07 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:38 +0000 (11:12 -0800)
commit34c200e8038a6caa955ec7127cc6f332033aed95
tree68e6dc189098c38d9027a7cafe8fea52e784193e
parent0f995eb28619606934adf450a829b9cfafa85977
PCI: Suspend and resume PCI Express ports with interrupts disabled

I don't see why the suspend and resume of PCI Express ports should be
handled with interrupts enabled and it may even lead to problems in
some situations.  For this reason, move the suspending and resuming
of PCI Express ports into ->suspend_late() and ->resume_early()
callbacks executed with interrupts disabled.

This patch addresses the regression from 2.6.26 tracked as
http://bugzilla.kernel.org/show_bug.cgi?id=12121 .

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_pci.c