HWPOISON: Add code to handle "action required" errors.
authorTony Luck <tony.luck@intel.com>
Tue, 13 Dec 2011 17:27:58 +0000 (09:27 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 3 Jan 2012 20:06:38 +0000 (12:06 -0800)
commit7329bbeb92740f35d64a8860ae7837ff4db27fe0
treedf4decab54463fd2dee4979f1aa38615f1ef2f3c
parentcd42f4a3b2b1c4cbd997363dc57821953d73fd87
HWPOISON: Add code to handle "action required" errors.

Add new flag bit "MF_ACTION_REQUIRED" to be used by machine check
code to force a signal with si_code = BUS_MCEERR_AR in the case
where the error occurs in processor execution context. Pass the
flags argument along call chain:
memory_failure()
  hwpoison_user_mappings()
    kill_procs()
      kill_proc()

Drop the "_ao" suffix from kill_procs_ao() and kill_proc_ao() since
they can now handle "action required" as well as "action optional" errors.

Acked-by: Borislav Petkov <bp@amd64.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/linux/mm.h
mm/memory-failure.c