On Thu, 4 Apr 2019, Tycho Andersen wrote:
>       leaq    -PTREGS_SIZE(%rax), %rsp
>       UNWIND_HINT_FUNC sp_offset=PTREGS_SIZE
>  
> +     /*
> +      * If we oopsed in an interrupt handler, interrupts may be off. Let's 
> turn
> +      * them back on before going back to "normal" code.
> +      */
> +     sti

That breaks the paravirt muck and tracing/lockdep.

ENABLE_INTERRUPTS() is what you want plus TRACE_IRQ_ON to keep the tracer
and lockdep happy.

Thanks,

        tglx
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to