All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH urgent 0/3] __restore_processor_state() fixes
@ 2017-12-14 21:19 Andy Lutomirski
  2017-12-14 21:19 ` [PATCH urgent 1/3] x86/power/64: Use struct desc_ptr for the IDT in struct saved_context Andy Lutomirski
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Andy Lutomirski @ 2017-12-14 21:19 UTC (permalink / raw)
  To: X86 ML
  Cc: Borislav Petkov, linux-kernel, Pavel Machek, Rafael J. Wysocki,
	Zhang Rui, Jarkko Nikula, Linus Torvalds, Josh Poimboeuf,
	Andy Lutomirski

__restore_processor_state() was spaghetti code, made no sense, and
had bugs.  And I broke resume on 32-bit systems.  This series cleans
it up and fixes it (hopefully!).

Andy Lutomirski (3):
  x86/power/64: Use struct desc_ptr for the IDT in struct saved_context
  x86/power/32: Move SYSENTER MSR restoration to fix_processor_context()
  x86/power: Make restore_processor_context() sane

 arch/x86/include/asm/suspend_32.h |  8 +++-
 arch/x86/include/asm/suspend_64.h | 19 ++++++--
 arch/x86/power/cpu.c              | 99 ++++++++++++++++++---------------------
 3 files changed, 67 insertions(+), 59 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-12-15 14:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-14 21:19 [PATCH urgent 0/3] __restore_processor_state() fixes Andy Lutomirski
2017-12-14 21:19 ` [PATCH urgent 1/3] x86/power/64: Use struct desc_ptr for the IDT in struct saved_context Andy Lutomirski
2017-12-15 14:37   ` [tip:x86/urgent] " tip-bot for Andy Lutomirski
2017-12-14 21:19 ` [PATCH urgent 2/3] x86/power/32: Move SYSENTER MSR restoration to fix_processor_context() Andy Lutomirski
2017-12-15 14:38   ` [tip:x86/urgent] " tip-bot for Andy Lutomirski
2017-12-14 21:19 ` [PATCH urgent 3/3] x86/power: Make restore_processor_context() sane Andy Lutomirski
2017-12-14 22:32   ` Pavel Machek
2017-12-15 14:38   ` [tip:x86/urgent] " tip-bot for Andy Lutomirski
2017-12-15  1:28 ` [PATCH urgent 0/3] __restore_processor_state() fixes Rafael J. Wysocki
2017-12-15  1:35   ` Linus Torvalds
2017-12-15 11:21     ` Ingo Molnar
2017-12-15  9:18   ` Jarkko Nikula
2017-12-15 11:31     ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.