Commit 4e21e58
committed
Merge tag 'irq-cleanups-2026-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq cleanups from Thomas Gleixner:
"A series of treewide cleanups to ensure interrupt request consistency.
- Add the missing IRQF_COND_ONESHOT flag to devm_request_irq()
This is inconsistent vs request_irq() and causes the same issues
which where addressed with the introduction of this flag
- Cleanup IRQF_ONESHOT and IRQF_NO_THREAD usage
Quite some drivers have inconsistent interrupt request flags
related to interrupt threading namely IRQF_ONESHOT and
IRQF_NO_THREAD. This leads to warnings and/or malfunction when
forced interrupt threading is enabled.
- Remove stub primary (hard interrupt) handlers
A bunch of drivers implement a stub primary (hard interrupt)
handler which just returns IRQ_WAKE_THREAD. The same functionality
is provided by the core code when the primary handler argument of
request_thread_irq() is set to NULL"
* tag 'irq-cleanups-2026-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
media: pci: mg4b: Use IRQF_NO_THREAD
mfd: wm8350-core: Use IRQF_ONESHOT
thermal/qcom/lmh: Replace IRQF_ONESHOT with IRQF_NO_THREAD
rtc: amlogic-a4: Remove IRQF_ONESHOT
usb: typec: fusb302: Remove IRQF_ONESHOT
EDAC/altera: Remove IRQF_ONESHOT
char: tpm: cr50: Remove IRQF_ONESHOT
ARM: versatile: Remove IRQF_ONESHOT
scsi: efct: Use IRQF_ONESHOT and default primary handler
Bluetooth: btintel_pcie: Use IRQF_ONESHOT and default primary handler
bus: fsl-mc: Use default primary handler
mailbox: bcm-ferxrm-mailbox: Use default primary handler
iommu/amd: Use core's primary handler and set IRQF_ONESHOT
platform/x86: int0002: Remove IRQF_ONESHOT from request_irq()
genirq: Set IRQF_COND_ONESHOT in devm_request_irq().18 files changed
Lines changed: 26 additions & 73 deletions
File tree
- arch/arm/mach-versatile
- drivers
- bluetooth
- bus/fsl-mc
- char/tpm
- edac
- iommu/amd
- mailbox
- media/pci/mgb4
- platform/x86/intel
- rtc
- scsi/elx/efct
- thermal/qcom
- usb/typec/tcpm
- include/linux
- mfd/wm8350
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
| 462 | + | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | 1434 | | |
1440 | 1435 | | |
1441 | 1436 | | |
| |||
1537 | 1532 | | |
1538 | 1533 | | |
1539 | 1534 | | |
1540 | | - | |
| 1535 | + | |
1541 | 1536 | | |
1542 | | - | |
| 1537 | + | |
1543 | 1538 | | |
1544 | 1539 | | |
1545 | 1540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 383 | | |
395 | 384 | | |
396 | 385 | | |
| |||
527 | 516 | | |
528 | 517 | | |
529 | 518 | | |
530 | | - | |
| 519 | + | |
531 | 520 | | |
532 | 521 | | |
533 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
753 | | - | |
| 752 | + | |
754 | 753 | | |
755 | 754 | | |
756 | 755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1563 | 1563 | | |
1564 | 1564 | | |
1565 | 1565 | | |
1566 | | - | |
1567 | | - | |
| 1566 | + | |
1568 | 1567 | | |
1569 | 1568 | | |
1570 | 1569 | | |
| |||
1587 | 1586 | | |
1588 | 1587 | | |
1589 | 1588 | | |
1590 | | - | |
1591 | | - | |
| 1589 | + | |
1592 | 1590 | | |
1593 | 1591 | | |
1594 | 1592 | | |
| |||
1970 | 1968 | | |
1971 | 1969 | | |
1972 | 1970 | | |
1973 | | - | |
1974 | | - | |
| 1971 | + | |
1975 | 1972 | | |
1976 | 1973 | | |
1977 | 1974 | | |
| |||
1993 | 1990 | | |
1994 | 1991 | | |
1995 | 1992 | | |
1996 | | - | |
| 1993 | + | |
1997 | 1994 | | |
1998 | 1995 | | |
1999 | 1996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2356 | 2356 | | |
2357 | 2357 | | |
2358 | 2358 | | |
2359 | | - | |
2360 | | - | |
2361 | | - | |
2362 | | - | |
2363 | | - | |
2364 | | - | |
| 2359 | + | |
| 2360 | + | |
2365 | 2361 | | |
2366 | 2362 | | |
2367 | 2363 | | |
| |||
2535 | 2531 | | |
2536 | 2532 | | |
2537 | 2533 | | |
2538 | | - | |
2539 | | - | |
| 2534 | + | |
| 2535 | + | |
2540 | 2536 | | |
2541 | 2537 | | |
2542 | 2538 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | 1154 | | |
1160 | 1155 | | |
1161 | 1156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | 1176 | | |
1185 | 1177 | | |
1186 | 1178 | | |
| |||
1271 | 1263 | | |
1272 | 1264 | | |
1273 | 1265 | | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
| 1266 | + | |
| 1267 | + | |
1278 | 1268 | | |
1279 | 1269 | | |
1280 | 1270 | | |
| |||
0 commit comments