Debug IRQ flag manipulation

modulename: irqflag-debug.ko

configname: CONFIG_DEBUG_IRQFLAGS

Linux Kernel Configuration
└─>Kernel hacking
└─>Debug IRQ flag manipulation
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Enables checks for potentially unsafe enabling or disabling of
interrupts, such as calling raw_local_irq_restore() when interrupts
are enabled.

source code: