diff options
author | Juergen Gross <jgross@suse.com> | 2015-11-23 13:59:24 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-11-24 11:18:33 +0300 |
commit | 42baa2581c92f8d07e7260506c8d41caf14b0fc3 (patch) | |
tree | 2e0151e4c2219f03c11aae4a034db1c3c5721daa /arch/mips/pmcs-msp71xx/msp_setup.c | |
parent | 2fde46b79e2fdbc90d0d97cf992782732b5a371c (diff) | |
download | linux-42baa2581c92f8d07e7260506c8d41caf14b0fc3.tar.xz |
x86/apic: Fix the saving and restoring of lapic vectors during suspend/resume
Saving and restoring lapic vectors in lapic_suspend() and
lapic_resume() is not consistent: the thmr vector saving is
guarded by a different config option than the restore part. The
cmci vector isn't handled at all.
Those inconsistencies are not very critical, as the missing cmci
vector will be set via mce resume handling, the wrong config
option used for restoring the thmr vector can't be configured
differently than the one which should be used.
Nevertheless correct the thmr vector restore and add cmci vector
handling.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1448276364-31334-1-git-send-email-jgross@suse.com
[ Minor code edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips/pmcs-msp71xx/msp_setup.c')
0 files changed, 0 insertions, 0 deletions