Re: [PATCH v6 2/4] x86: Cleanup and add a new exception class

2016-01-04 Thread Andy Lutomirski
On Mon, Jan 4, 2016 at 12:32 PM, Borislav Petkov wrote: > On Mon, Jan 04, 2016 at 05:00:04PM +, Luck, Tony wrote: >> > So you're touching those again in patch 2. Why not add those defines to >> > patch 1 directly and diminish the churn? >> >> To preserve authorship. Andy did patch 1 (the cleve

Re: [PATCH v6 2/4] x86: Cleanup and add a new exception class

2016-01-04 Thread Borislav Petkov
On Mon, Jan 04, 2016 at 05:00:04PM +, Luck, Tony wrote: > > So you're touching those again in patch 2. Why not add those defines to > > patch 1 directly and diminish the churn? > > To preserve authorship. Andy did patch 1 (the clever part). Patch 2 is just > syntactic > sugar on top of it. T

RE: [PATCH v6 2/4] x86: Cleanup and add a new exception class

2016-01-04 Thread Luck, Tony
> So you're touching those again in patch 2. Why not add those defines to > patch 1 directly and diminish the churn? To preserve authorship. Andy did patch 1 (the clever part). Patch 2 is just syntactic sugar on top of it. -Tony

Re: [PATCH v6 2/4] x86: Cleanup and add a new exception class

2016-01-04 Thread Borislav Petkov
On Wed, Dec 30, 2015 at 10:56:41AM -0800, Tony Luck wrote: > Make per-class functions for exception table fixup. Add #defines > and general prettiness to make it clear how all the parts tie > together. > > Add a new class that fills %rax with the fault number of the exception. > > Signed-off-by:

[PATCH v6 2/4] x86: Cleanup and add a new exception class

2016-01-03 Thread Tony Luck
Make per-class functions for exception table fixup. Add #defines and general prettiness to make it clear how all the parts tie together. Add a new class that fills %rax with the fault number of the exception. Signed-off-by: Tony Luck --- arch/x86/include/asm/asm.h | 24 ++- arch