linux/kernel/irq
Kuan-Wei Chiu 26f6b6357b irq: Make refcount_interrupt kunit test selectable
Currently, refcount_interrupt_test is built unconditionally when
CONFIG_KUNIT is enabled, causing it to run unexpectedly during boot.

Fix this by introducing CONFIG_REFCOUNT_INTERRUPT_KUNIT_TEST so the
test can be configured independently, following standard kunit
practices.

Fixes: 07a88e2bcd ("irq: Add KUnit test for refcounted interrupt enable/disable")
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Radu Rendec <radu@rendec.net>
Reviewed-by: Boqun Feng <boqun@kernel.org>
Link: https://patch.msgid.link/20261001082519.16195-2-boqun@kernel.org
2026-10-02 11:40:12 +02:00
..
affinity.c genirq/affinity: Remove cpus_read_lock() while reading cpu_possible_mask 2026-04-01 16:09:05 +02:00
autoprobe.c genirq/autoprobe: Switch to lock guards 2025-05-07 09:08:11 +02:00
chip.c Interrupt core code changes: 2026-06-15 13:19:41 +05:30
cpuhotplug.c genirq/cpuhotplug: Notify about affinity changes breaking the affinity mask 2026-01-13 21:18:16 +01:00
debug.h
debugfs.c treewide: Update email address 2026-01-11 06:09:11 -10:00
debugfs.h genirq/proc: Runtime size the chip name 2026-05-26 16:21:15 +02:00
devres.c genirq/devres: Add error handling in devm_request_*_irq() 2025-08-24 13:00:45 +02:00
dummychip.c
generic-chip.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
handle.c genirq: Remove IRQ timing tracking infrastructure 2025-12-15 22:20:50 +01:00
internals.h Locking updates for v7.2: 2026-06-15 14:21:14 +05:30
ipi-mux.c genirq/ipi-mux: Use irq_domain_alloc_irqs() 2023-02-06 17:21:15 +00:00
ipi.c genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask() 2023-02-20 13:53:41 +01:00
irq_sim.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
irq_test.c genirq/test: Ensure CPU 1 is online for hotplug test 2025-09-03 17:04:52 +02:00
irqdesc.c genirq: Remove unnecessary NULL check of the kstat_irqs field 2026-07-07 21:36:18 +02:00
irqdomain.c irqdomain: Remove unnedded NULL check in __irq_domain_[de]activate_irq() 2026-06-29 15:42:26 +02:00
Kconfig irq: Make refcount_interrupt kunit test selectable 2026-10-02 11:40:12 +02:00
kexec.c genirq/kexec: Prevent redundant IRQ masking by checking state before shutdown 2024-12-11 20:32:34 +01:00
Makefile irq: Make refcount_interrupt kunit test selectable 2026-10-02 11:40:12 +02:00
manage.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
matrix.c genirq/matrix, LoongArch: Delete IRQ_MATRIX_BITS leftovers 2026-03-17 10:57:03 +01:00
migration.c genirq/migration: Use irqd_get_parent_data() in irq_force_complete_move() 2025-04-04 17:08:36 +02:00
msi.c genirq/msi: Move misplaced EXPORT_SYMBOL_GPL for msi_domain_free_irqs_all() 2026-07-20 11:23:00 +02:00
pm.c syscore: Pass context data to callbacks 2025-11-14 10:01:52 +01:00
proc.c genirq/proc: Speed up /proc/interrupts iteration 2026-05-26 16:21:15 +02:00
proc.h genirq/proc: Runtime size the chip name 2026-05-26 16:21:15 +02:00
refcount_interrupt_test.c irq: Add KUnit test for refcounted interrupt enable/disable 2026-08-10 10:50:18 +02:00
resend.c genirq/resend: Switch to lock guards 2025-05-07 09:08:11 +02:00
settings.h genirq: Cache the condition for /proc/interrupts exposure 2026-05-26 16:21:13 +02:00
spurious.c genirq: Move irq_wait_for_poll() to call site 2025-07-22 14:30:42 +02:00