Re: [PATCH] powerpc/xive: Prevent page fault issues in the machine crash handler

2019-11-14 Thread Michael Ellerman
On Thu, 2019-10-31 at 06:31:00 UTC, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= wrote: > When the machine crash handler is invoked, all interrupts are masked > but interrupts which have not been started yet do not have an ESB page > mapped in the Linux address space. This crashes the 'crash kexec' > sequ

Re: [PATCH] powerpc/xive: Prevent page fault issues in the machine crash handler

2019-11-12 Thread Cédric Le Goater
On 12/11/2019 13:44, Michael Ellerman wrote: > Cédric Le Goater writes: >> When the machine crash handler is invoked, all interrupts are masked >> but interrupts which have not been started yet do not have an ESB page >> mapped in the Linux address space. This crashes the 'crash kexec' >> sequence

Re: [PATCH] powerpc/xive: Prevent page fault issues in the machine crash handler

2019-11-12 Thread Michael Ellerman
Cédric Le Goater writes: > When the machine crash handler is invoked, all interrupts are masked > but interrupts which have not been started yet do not have an ESB page > mapped in the Linux address space. This crashes the 'crash kexec' > sequence on sPAPR guests. This sounds like it needs a Fixe

Re: [PATCH] powerpc/xive: Prevent page fault issues in the machine crash handler

2019-10-31 Thread Greg Kurz
On Thu, 31 Oct 2019 07:31:00 +0100 Cédric Le Goater wrote: > When the machine crash handler is invoked, all interrupts are masked > but interrupts which have not been started yet do not have an ESB page > mapped in the Linux address space. This crashes the 'crash kexec' > sequence on sPAPR guests

[PATCH] powerpc/xive: Prevent page fault issues in the machine crash handler

2019-10-31 Thread Cédric Le Goater
When the machine crash handler is invoked, all interrupts are masked but interrupts which have not been started yet do not have an ESB page mapped in the Linux address space. This crashes the 'crash kexec' sequence on sPAPR guests. To fix, force the mapping of the ESB page when an interrupt is bei