[PATCH 01/11] kernel/debug: Mask KGDB NMI upon entry

2012-09-24 Thread Anton Vorontsov
The new arch callback should manage NMIs that usually cause KGDB to enter. That is, not all NMIs should be enabled/disabled, but only those that issue kgdb_handle_exception(). We must mask it as serial-line interrupt can be used as an NMI, so if the original KGDB-entry cause was say a breakpoint,

[PATCH 01/11] kernel/debug: Mask KGDB NMI upon entry

2012-09-19 Thread Anton Vorontsov
The new arch callback should manage NMIs that usually cause KGDB to enter. That is, not all NMIs should be enabled/disabled, but only those that issue kgdb_handle_exception(). We must mask it as serial-line interrupt can be used as an NMI, so if the original KGDB-entry cause was say a breakpoint,

Re: [PATCH 01/11] kernel/debug: Mask KGDB NMI upon entry

2012-09-19 Thread Jason Wessel
On 09/13/2012 10:03 AM, Anton Vorontsov wrote: > The new arch callback should manage NMIs that usually cause KGDB to > enter. That is, not all NMIs should be enabled/disabled, but only > those that issue kgdb_handle_exception(). > > We must mask it as serial-line interrupt can be used as an NMI, s

[PATCH 01/11] kernel/debug: Mask KGDB NMI upon entry

2012-09-13 Thread Anton Vorontsov
The new arch callback should manage NMIs that usually cause KGDB to enter. That is, not all NMIs should be enabled/disabled, but only those that issue kgdb_handle_exception(). We must mask it as serial-line interrupt can be used as an NMI, so if the original KGDB-entry cause was say a breakpoint,