PCI: shpchp: Handle push button event asynchronously
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Jan 2013 19:07:22 +0000 (12:07 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Feb 2013 04:33:33 +0000 (04:33 +0000)
commit0809b51bdf57a2e813ccb06ac9ff01c01b341885
tree86c56cc8218f25e6b326d4bed389d791746819d9
parentc4dca1575d32be2bf92b3e4501e97a0755edec67
PCI: shpchp: Handle push button event asynchronously

commit d347e75847c1fb299c97736638f45e6ea39702d4 upstream.

Use non-ordered workqueue for attention button events.

Attention button events on each slot can be handled asynchronously. So
we should use non-ordered workqueue. This patch also removes ordered
workqueue in shpchp as a result.

486b10b9f4 ("PCI: pciehp: Handle push button event asynchronously") made
the same change to pciehp.  I split this out from a patch by Yijing Wang
<wangyijing@huawei.com> so we fix one thing at a time and to make the
shpchp history correspond more closely with the pciehp history.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_ctrl.c