commit | ec07a4473072ff0607e3126ce26c31dbf81f9a15 | [log] [tgz] |
---|---|---|
author | Lukas Wunner <lukas@wunner.de> | Thu Jul 19 17:27:39 2018 -0500 |
committer | Bjorn Helgaas <helgaas@kernel.org> | Mon Jul 23 17:04:12 2018 -0500 |
tree | 40c25791e2d03df387315cfc9ca6fbfa38244847 | |
parent | 7b4ce26bcf697e3a4aa9ba2a5b456562e0fb7af4 [diff] |
PCI: pciehp: Convert to threaded polling We've just converted pciehp to threaded IRQ handling, but still cannot sleep in pciehp_ist() because the function is also called in poll mode, which runs in softirq context (from a timer). Convert poll mode to a kthread so that pciehp_ist() always runs in task context. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Thomas Gleixner <tglx@linutronix.de>