Re: [PATCH] powerpc: Fix CONFIG_TRACE_IRQFLAGS with CONFIG_VMAP_STACK

2020-02-08 Thread Michael Ellerman
On Fri, 2020-02-07 at 17:20:57 UTC, Christophe Leroy wrote: > When CONFIG_PROVE_LOCKING is selected together with (now default) > CONFIG_VMAP_STACK, kernel enter deadlock during boot. > > At the point of checking whether interrupts are enabled or not, the > value of MSR saved on stack is read usin

Re: [PATCH] powerpc: Fix CONFIG_TRACE_IRQFLAGS with CONFIG_VMAP_STACK

2020-02-07 Thread Guenter Roeck
On Fri, Feb 07, 2020 at 05:20:57PM +, Christophe Leroy wrote: > When CONFIG_PROVE_LOCKING is selected together with (now default) > CONFIG_VMAP_STACK, kernel enter deadlock during boot. > > At the point of checking whether interrupts are enabled or not, the > value of MSR saved on stack is rea

[PATCH] powerpc: Fix CONFIG_TRACE_IRQFLAGS with CONFIG_VMAP_STACK

2020-02-07 Thread Christophe Leroy
When CONFIG_PROVE_LOCKING is selected together with (now default) CONFIG_VMAP_STACK, kernel enter deadlock during boot. At the point of checking whether interrupts are enabled or not, the value of MSR saved on stack is read using the physical address of the stack. But at this point, when using VMA