From: Tony Luck Date: Tue, 13 Dec 2011 17:27:58 +0000 (-0800) Subject: HWPOISON: Add code to handle "action required" errors. X-Git-Tag: v3.4-rc1~150^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7329bbeb92740f35d64a8860ae7837ff4db27fe0;p=pandora-kernel.git 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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed