]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitc37a63afc429ce959402168f67e4f094ab639ace
tree20b724de3e51d332276a97de8f867defa30e50d2
parentaf9d00e93a4f062c5f160325d7b8f33336f6744e
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