parisc: PDT: Add full support for memory failure via Page Deallocation Table (PDT)
authorHelge Deller <deller@gmx.de>
Fri, 4 Aug 2017 17:23:53 +0000 (19:23 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 22 Aug 2017 14:34:33 +0000 (16:34 +0200)
commit54ac8fcbd6e6777929235ac767467991005d2df3
treeea6037b396bad8f733348d67d9571f37757001d1
parent8a5aa00e6b9630d36d7681b38062a3d48d8b6ee6
parisc: PDT: Add full support for memory failure via Page Deallocation Table (PDT)

This patch adds full support to read PDT info on all machine types.  At bootup
the PDT is read and bad memory excluded from usage via memblock_reserve().

Later in the boot process a kernel thread is started (kpdtd) which regularily
checks firmare for new reported bad memory and tries to soft offline pages in
case of correctable errors and to kill processes and exclude such memory in
case of uncorrectable errors via memory_failure().

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig
arch/parisc/kernel/pdt.c