diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-02-12 13:39:32 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-17 15:32:14 -0800 |
commit | 973a2dd1d50a11d380086601f14e59116f93e8c5 (patch) | |
tree | 8fad8589e95a034b8c33da8f3c17056ae60c2294 /drivers/ata/pata_cs5535.c | |
parent | 07db1c140eb233971341396e492cc73d4280e698 (diff) |
x86, mce: disable machine checks on suspend
Impact: Bug fix
During suspend it is not reliable to process machine check
exceptions, because CPUs disappear but can still get machine check
broadcasts. Also the system is slightly more likely to
machine check them, but the handler is typically not a position
to handle them in a meaningfull way.
So disable them during suspend and enable them during resume.
Also make sure they are always disabled on hot-unplugged CPUs.
This new code assumes that suspend always hotunplugs all
non BP CPUs.
v2: Remove the WARN_ONs Thomas objected to.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/ata/pata_cs5535.c')
0 files changed, 0 insertions, 0 deletions