]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mce: Handle UE event for memcpy_mcsafe
authorBalbir Singh <bsingharora@gmail.com>
Tue, 20 Aug 2019 08:13:50 +0000 (13:43 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2019 12:23:48 +0000 (22:23 +1000)
commitcad7464b6bba691b71c62728b61c4a00e8d0b083
treebb179bee627472184eb81344f602d2ee4da9aef7
parentd2e30c8671bd10b29a75ae5c482ee18c9b4cc529
powerpc/mce: Handle UE event for memcpy_mcsafe

If we take a UE on one of the instructions with a fixup entry, set nip
to continue execution at the fixup entry. Stop processing the event
further or print it.

Co-developed-by: Reza Arbab <arbab@linux.ibm.com>
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@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-6-santosh@fossix.org
arch/powerpc/include/asm/mce.h
arch/powerpc/kernel/mce.c
arch/powerpc/kernel/mce_power.c