]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mce: Add MCE notification chain
authorSantosh Sivaraj <santosh@fossix.org>
Thu, 9 Jul 2020 13:51:41 +0000 (19:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Jul 2020 12:57:56 +0000 (22:57 +1000)
commit52cf7cd5d28318cd0dd2da2b8df964c3836ffe39
tree20b724de3e51d332276a97de8f867defa30e50d2
parentcc2f7a9e5053d042375bbf807bc8a0c950e21ca8
powerpc/mce: Add MCE notification chain

Introduce notification chain which lets us know about uncorrected memory
errors(UE). This would help prospective users in pmem or nvdimm subsystem
to track bad blocks for better handling of persistent memory allocations.

Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200709135142.721504-1-santosh@fossix.org
arch/powerpc/include/asm/mce.h
arch/powerpc/kernel/mce.c