]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mce: Schedule work from irq_work
authorSantosh Sivaraj <santosh@fossix.org>
Tue, 20 Aug 2019 08:13:46 +0000 (13:43 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2019 12:23:03 +0000 (22:23 +1000)
commit80f43de28c825635a6304002ccca8b20cc09f962
treecb8af56489d70756a61dc329c0b1bf37494fed69
parent0b66776be236651b6569447bd9e81571357b5880
powerpc/mce: Schedule work from irq_work

schedule_work() cannot be called from MCE exception context as MCE can
interrupt even in interrupt disabled context.

Fixes: 8ae36ab3952d ("powerpc/mce: hookup memory_failure for UE errors")
Cc: stable@vger.kernel.org # v4.15+
Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190820081352.8641-2-santosh@fossix.org
arch/powerpc/kernel/mce.c