All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 1] Kexec alteration
@ 2012-12-06 15:56 Andrew Cooper
  2012-12-06 15:56 ` [PATCH 1 of 1] x86/kexec: Change NMI and MCE handling on kexec path Andrew Cooper
  2012-12-06 16:01 ` [PATCH 0 of 1] Kexec alteration Andrew Cooper
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Cooper @ 2012-12-06 15:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrew Cooper

Hello,

Fixing the root reentrant NMI/MCE issues is quickly turning into a
substantially larger problem than initially thought.

As a result, I have decided to submit the fixes in smaller chunks, in
the hope that they are reviewed and integrated separately.  The first
part is changes to the kexec path, from which I am now happy to drop the
RFC tag.

Please scrutinise carefully.


The vague decided plan going forwards is:

 * Implement spin_{un,}lock_recursive_irq{save,restore}()
 * Audit users of mixed regular/recursive calls on the same spinlock
 * Swap recursive spinlocks to be a separate type
 * Fix the semantics of console_force_unlock
 * Continue audit of NMI and MCE paths, with console semantics fixed
 * {Panic,NMI,MCE}-in-progress flags & reentrancy protection
 * Ability to specify whether iret should be used on trap exit
 * Implement "MCEs never iret, NMIs always iret" policy

The plan for "things I think needs to happen" is:
 * Extend spinlock debugging to know about NMI and MCE contexts
 * Implement strict ordering constraints for spinlock debugging

The "other things needing investigating" list includes:
 * Interaction of paging changes and IDTs while purgatory is changing
   processor modes

~Andrew

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

end of thread, other threads:[~2012-12-07 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06 15:56 [PATCH 0 of 1] Kexec alteration Andrew Cooper
2012-12-06 15:56 ` [PATCH 1 of 1] x86/kexec: Change NMI and MCE handling on kexec path Andrew Cooper
2012-12-06 17:17   ` Mats Petersson
2012-12-07 11:23     ` Jan Beulich
2012-12-06 16:01 ` [PATCH 0 of 1] Kexec alteration Andrew Cooper

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.