diff options
author | Lukas Wunner <lukas@wunner.de> | 2018-07-19 17:27:43 -0500 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-07-23 17:04:14 -0500 |
commit | 774d446b0f9222f46772dde8770d7c1c169c0284 (patch) | |
tree | ccc8d8e53605b76fb8316da188787ebe08414e46 /virt | |
parent | 51bbf9bee34ff5d4006d266f24a54dc9c1669eb5 (diff) | |
download | linux-774d446b0f9222f46772dde8770d7c1c169c0284.tar.gz linux-774d446b0f9222f46772dde8770d7c1c169c0284.tar.bz2 linux-774d446b0f9222f46772dde8770d7c1c169c0284.zip |
PCI: pciehp: Publish to user space last on probe
The PCI hotplug core has just been refactored to separate slot
initialization for in-kernel use from publication to user space.
Take advantage of it in pciehp by publishing to user space last on
probe. This will allow enable/disablement of the slot exclusively from
the IRQ thread because the IRQ is requested after initialization for
in-kernel use (thereby getting its unique name needed by the IRQ thread)
but before user space is able to submit enable/disable requests.
On teardown, the order is the same in reverse: The user space interface
is removed prior to freeing the IRQ and destroying the slot.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions