Re: [PATCH v9 2/4] x86, mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries

2016-02-04 Thread Borislav Petkov
On Thu, Dec 31, 2015 at 11:40:27AM -0800, Tony Luck wrote: > Extend the severity checking code to add a new context IN_KERN_RECOV > which is used to indicate that the machine check was triggered by code > in the kernel with a EXTABLE_CLASS_FAULT fixup entry. > > Major re-work to the tail code in d

RE: [PATCH v9 2/4] x86, mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries

2016-02-03 Thread Luck, Tony
>> which is used to indicate that the machine check was triggered by code >> in the kernel with a EXTABLE_CLASS_FAULT fixup entry. > > I think that the EXTABLE_CLASS_FAULT references no longer match the code. You'd think that checkpatch could have spotted that the commit comment mentions an identi

Re: [PATCH v9 2/4] x86, mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries

2016-02-02 Thread Andy Lutomirski
On Thu, Dec 31, 2015 at 11:40 AM, Tony Luck wrote: > Extend the severity checking code to add a new context IN_KERN_RECOV > which is used to indicate that the machine check was triggered by code > in the kernel with a EXTABLE_CLASS_FAULT fixup entry. I think that the EXTABLE_CLASS_FAULT reference

[PATCH v9 2/4] x86, mce: Check for faults tagged in EXTABLE_CLASS_FAULT exception table entries

2016-02-02 Thread Tony Luck
Extend the severity checking code to add a new context IN_KERN_RECOV which is used to indicate that the machine check was triggered by code in the kernel with a EXTABLE_CLASS_FAULT fixup entry. Major re-work to the tail code in do_machine_check() to make all this readable/maintainable. One functio