mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 0/2] genirq: Add functions to avoid driver hackery
@ 2014-02-15  0:55 Thomas Gleixner
  2014-02-15  0:55 ` [patch 1/2] genirq: Provide synchronize_hardirq() Thomas Gleixner
  2014-02-15  0:55 ` [patch 2/2] genirq: Provide irq_wake_thread() Thomas Gleixner
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Gleixner @ 2014-02-15  0:55 UTC (permalink / raw)
  To: LKML; +Cc: Russell King, Chris Ball, linux-mmc, Ingo Molnar, Peter Zijlstra

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-19 16:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-15  0:55 [patch 0/2] genirq: Add functions to avoid driver hackery Thomas Gleixner
2014-02-15  0:55 ` [patch 1/2] genirq: Provide synchronize_hardirq() Thomas Gleixner
2014-02-15  9:50   ` Peter Zijlstra
2014-02-19 16:27   ` [tip:irq/core] " tip-bot for Thomas Gleixner
2014-02-15  0:55 ` [patch 2/2] genirq: Provide irq_wake_thread() Thomas Gleixner
2014-02-15  9:50   ` Peter Zijlstra
2014-02-19 16:27   ` [tip:irq/core] " tip-bot for Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome