genirq: Distangle irq_request/release_resources() from irq_desc->lock
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pinctrl: samsung: Remove bogus irq_[un]mask from resource managementdrivers/ | +0 | 7 replies | |
| 2/5 | genirq: Move bus locking into __setup_irq()kernel/ | +5 | 0 replies | |
| 3/5 | genirq: Add mutex to irq desc to serialize request/free_irq()include/ kernel/ kernel/ | +12 | 0 replies | |
| 4/5 | genirq: Move irq resource handling out of spinlocked regionkernel/ | +15 | 0 replies | |
| 5/5 | genirq/timings: Move free timings out of spinlocked regionkernel/ | +3 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tomasz Figa | Linus Walleij | Marc Zyngier |
|---|---|---|---|
| Series | R-b | ||
| 1/5 | A-b | R-b | |
| 2/5 | |||
| 3/5 | |||
| 4/5 | |||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [patch 0/5] genirq: Distangle irq_request/release_resources() from irq_desc->lock
The irq_request/release_resources() callbacks are a problem on RT as they are called under irq_desc->lock with interrupts disabled.
Aside of that calling them under irq_desc->lock is conceptually wrong and has a (hard to trigger and probably theoretical) issue in free_irq(). See patch 4/5 for a detailed explanation.
The series contains also a fix for the exynos gpio driver, which fiddles with the irq masking in the resource callbacks, which is bogus and potentially harmful.
Finally it moves the irq timings deallocation out of the spin locked region.
Thanks,
tglx
--- drivers/pinctrl/samsung/pinctrl-exynos.c | 4 -- include/linux/irqdesc.h | 3 + kernel/irq/irqdesc.c | 1 kernel/irq/manage.c | 47 +++++++++++++++++++------------ 4 files changed, 34 insertions(+), 21 deletions(-)