genirq: Add functions to avoid driver hackery
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | genirq: Provide synchronize_hardirq()include/ kernel/ | +48 | 1 reply | |
| 2/2 | genirq: Provide irq_wake_thread()include/ kernel/ kernel/ +1 more | +31 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 0/2] genirq: Add functions to avoid driver hackery
Russell tricked me to look into the homebrewn kthread hackery of drivers/mmc. I'm still trying to recover from that.
But it spurred an interesting discussion how to improve things and the outcome was the following series of patches:
1) Provide means to synchronize only hard irq context
2) Provide means to trigger a threaded irq handler from any context
The main rationale is to cleanup the mess in drivers/mmc and other places but each of the patches has a justification for itself exemplified by the drivers/mmc use case, which is explained in detail in the changelogs of the individual patches.
Russell has a working implementation for sdhci which relies on patch #1 ready and quite some ideas how to make use of #2 to kill the sdio_irq kthread hackery.
Thanks,
tglx