linux/arch/x86/kernel/cpu/mcheck
Tony Luck dad1743e59 x86/mce: Only restart instruction after machine check recovery if it is safe
Section 15.3.1.2 of the software developer manual has this to say about the
RIPV bit in the IA32_MCG_STATUS register:

  RIPV (restart IP valid) flag, bit 0 — Indicates (when set) that program
  execution can be restarted reliably at the instruction pointed to by the
  instruction pointer pushed on the stack when the machine-check exception
  is generated.  When clear, the program cannot be reliably restarted at
  the pushed instruction pointer.

We need to save the state of this bit in do_machine_check() and use it
in mce_notify_process() to force a signal; even if memory_failure() says
it made a complete recovery ... e.g. replaced a clean LRU page.

Acked-by: Borislav Petkov <bp@amd64.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2012-05-14 15:07:48 -07:00
..
Makefile ACPI, APEI, Generic Hardware Error Source memory error support 2010-05-19 22:41:16 -04:00
mce_amd.c Two miscellaneous MCE fixes 2012-03-14 07:44:48 +01:00
mce_intel.c locking, x86: mce: Annotate cmci_discover_lock as raw 2011-09-13 11:12:09 +02:00
mce-apei.c x86: Fix files explicitly requiring export.h for EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:35 -04:00
mce-inject.c x86: add IRQ context simulation in module mce-inject 2011-12-16 11:20:02 -08:00
mce-internal.h cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem 2011-12-21 14:29:42 -08:00
mce-severity.c x86/mce: Replace hard coded hex constants with symbolic defines 2012-01-26 16:02:22 -08:00
mce.c x86/mce: Only restart instruction after machine check recovery if it is safe 2012-05-14 15:07:48 -07:00
p5.c Disintegrate asm/system.h for X86 2012-03-28 18:11:12 +01:00
therm_throt.c Disintegrate asm/system.h for X86 2012-03-28 18:11:12 +01:00
threshold.c x86: Call idle notifier after irq_enter() 2011-12-11 10:31:38 -08:00
winchip.c Disintegrate asm/system.h for X86 2012-03-28 18:11:12 +01:00