parisc: PDT: Add full support for memory failure via Page Deallocation Table (PDT)
Helge Deller
maintainerPATCH 1/1 parisc: PDT: Add full support for memory failure via Page Deallocation Table (PDT)
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 <[email protected]>
arch/parisc/Kconfig +1 -0
@@ -9,6 +9,7 @@ config PARISC select ARCH_WANT_FRAME_POINTERS select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_STRICT_KERNEL_RWX + select ARCH_SUPPORTS_MEMORY_FAILURE select RTC_CLASS select RTC_DRV_GENERIC select INIT_ALL_POSSIBLE
arch/parisc/kernel/pdt.c +239 -41
354 lines not on this page · raw message