[PATCH RFC 2/3] pciehp: add disconnect_work work_struct

From
Abhin Parekadan Jose <hidden>
Date
2026-08-23 18:35:09
Also in
linux-pci, lkml
Reply to
Abhin Parekadan Jose, 2026-08-23
- This work_struct is used to dispatch disconnect events directly from the pciehp_isr, as we cannot wait in pciehp_isr

Signed-off-by: Abhin Parekadan Jose <redacted>
---
 drivers/pci/hotplug/pciehp.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index debc79b0adfb..c8ceb9320e2e 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -116,6 +116,7 @@ struct controller {
 	unsigned int ist_running;
 	int request_result;
 	wait_queue_head_t requester;
+	struct work_struct disconnect_work;
 };
 
 /**
-- 
2.51.1
Thread (27 messages) 27 messages, 5 authors, last reply 2026-08-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help