Re: [PATCH] riscv: Trace irq on only interrupt is enabled

2021-01-12 Thread Palmer Dabbelt
On Fri, 18 Dec 2020 16:20:51 PST (-0800), Atish Patra wrote: We should call irq trace only if interrupt is going to be enabled during excecption handling. Otherwise, it results in following warning during boot with lock debugging enabled. [0.00] [ cut here ] [

[PATCH] riscv: Trace irq on only interrupt is enabled

2020-12-18 Thread Atish Patra
We should call irq trace only if interrupt is going to be enabled during excecption handling. Otherwise, it results in following warning during boot with lock debugging enabled. [0.00] [ cut here ] [0.00] DEBUG_LOCKS_WARN_ON(early_boot_irqs_disabled) [