mce: acpi/apei: Soft-offline a page on firmware GHES notification
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 10 Jul 2013 09:27:01 +0000 (14:57 +0530)
committerTony Luck <tony.luck@intel.com>
Wed, 10 Jul 2013 18:35:02 +0000 (11:35 -0700)
commitcf870c70a194443f8fc654ddc9d6cfd02c58003b
tree73553a1960478b454dbcb99c0db0c8acf381e58b
parent9ad95879cd1b22ed016c804f8d686ff83a41a9d4
mce: acpi/apei: Soft-offline a page on firmware GHES notification

If the firmware indicates in GHES error data entry that the error threshold
has exceeded for a corrected error event, then we try to soft-offline the
page. This could be called in interrupt context, so we queue this up similar
to how we handle memory failure scenarios.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/acpi/apei/ghes.c
include/linux/mm.h
mm/memory-failure.c