Re: [PATCH 3/4] powerpc: Rename and flesh out the facility unavailable exception handler

2013-06-27 Thread Stephen Rothwell
Hi Michael, On Fri, 28 Jun 2013 00:16:31 +1000 Michael Ellerman wrote: > > On Thu, Jun 27, 2013 at 02:05:39PM +1000, Stephen Rothwell wrote: > > > > On Tue, 25 Jun 2013 17:47:56 +1000 Michael Ellerman > > wrote: > > > > > > -void tm_unavailable_exception(struct pt_regs *regs) > > > +void faci

Re: [PATCH 3/4] powerpc: Rename and flesh out the facility unavailable exception handler

2013-06-27 Thread Michael Ellerman
On Thu, Jun 27, 2013 at 02:05:39PM +1000, Stephen Rothwell wrote: > Hi Michael, > > On Tue, 25 Jun 2013 17:47:56 +1000 Michael Ellerman > wrote: > > > > -void tm_unavailable_exception(struct pt_regs *regs) > > +void facility_unavailable_exception(struct pt_regs *regs) > > { > > + static char

Re: [PATCH 3/4] powerpc: Rename and flesh out the facility unavailable exception handler

2013-06-26 Thread Stephen Rothwell
Hi Michael, On Tue, 25 Jun 2013 17:47:56 +1000 Michael Ellerman wrote: > > -void tm_unavailable_exception(struct pt_regs *regs) > +void facility_unavailable_exception(struct pt_regs *regs) > { > + static char *facility_strings[] = { > + "FPU", > + "VMX/VSX", > +

[PATCH 3/4] powerpc: Rename and flesh out the facility unavailable exception handler

2013-06-25 Thread Michael Ellerman
From: Michael Ellerman The exception at 0xf60 is not the TM (Transactional Memory) unavailable exception, it is the "Facility Unavailable Exception", rename it as such. Flesh out the handler to acknowledge the fact that it can be called for many reasons, one of which is TM being unavailable. Us