]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: handle PCI state saving with interrupts disabled
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 13 Jan 2009 23:39:19 +0000 (00:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:35:46 +0000 (10:35 -0800)
commit939c599209d596d205cc44a7fb41b727f20fc459
tree232152344d552489c956eb2c7991949e8d60248a
parent5f94bb6eda87dcd0136ceb52b62c03ebbb651443
PCI: handle PCI state saving with interrupts disabled

commit 63f4898ace2788a89ed685672aab092e1c3e50e6 upstream.

Since interrupts will soon be disabled at PCI resume time, we need to
pre-allocate memory to save/restore PCI config space (or use GFP_ATOMIC,
but this is safer).

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c