Skip to content

genirq: Add functions to avoid driver hackery

Thomas Gleixner linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2genirq: Provide synchronize_hardirq()include/linux/hardirq.h kernel/irq/manage.c+48 -201 reply
2/2genirq: Provide irq_wake_thread()include/linux/interrupt.h kernel/irq/handle.c kernel/irq/internals.h +1 more+31 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Zijlstra
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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