A issue in the Linux kernel has been identified where a sleeping function is called from an invalid context on RT kernel. This occurs when setting specific boot parameters, including "trace event=initcall:initcall start tp printk=1", which triggers the output printk() function and subsequently calls spin lock irqsave() in an atomic and irq disable interrupt context situation. On PREEMPT RT kernel, these locks are replaced with sleepable rt-spinlock, leading to a stack calltrace. The problem arises due to the use of spin lock irqsave when PREEMPT RT and the specified trace event are enabled.