Re: [PATCH 03/12] powerpc: Rework runlatch code

2012-04-11 Thread Andreas Schwab
Benjamin Herrenschmidt writes: > Subject: [PATCH] powerpc: Fix typo in runlatch code Thanks, this works for me. :-) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH 03/12] powerpc: Rework runlatch code

2012-04-10 Thread Benjamin Herrenschmidt
On Thu, 2012-04-05 at 23:38 +0200, Andreas Schwab wrote: > Benjamin Herrenschmidt writes: > > > This moves the inlines into system.h and changes the runlatch > > code to use the thread local flags (non-atomic) rather than > > the TIF flags (atomic) to keep track of the latch state. > > > > The co

Re: [PATCH 03/12] powerpc: Rework runlatch code

2012-04-05 Thread Andreas Schwab
Benjamin Herrenschmidt writes: > Have you verified that you can "fix" it with reverting just the above > patch ? Yes. (Currently running 3.4-rc1 with fe1952f reverted and irq_set_irq_type removed from mpic_host_map.) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58C

Re: [PATCH 03/12] powerpc: Rework runlatch code

2012-04-05 Thread Benjamin Herrenschmidt
On Thu, 2012-04-05 at 23:38 +0200, Andreas Schwab wrote: > Benjamin Herrenschmidt writes: > > > This moves the inlines into system.h and changes the runlatch > > code to use the thread local flags (non-atomic) rather than > > the TIF flags (atomic) to keep track of the latch state. > > > > The co

Re: [PATCH 03/12] powerpc: Rework runlatch code

2012-04-05 Thread Andreas Schwab
Benjamin Herrenschmidt writes: > This moves the inlines into system.h and changes the runlatch > code to use the thread local flags (non-atomic) rather than > the TIF flags (atomic) to keep track of the latch state. > > The code to turn it back on in an asynchronous interrupt is > now simplified

[PATCH 03/12] powerpc: Rework runlatch code

2012-03-02 Thread Benjamin Herrenschmidt
This moves the inlines into system.h and changes the runlatch code to use the thread local flags (non-atomic) rather than the TIF flags (atomic) to keep track of the latch state. The code to turn it back on in an asynchronous interrupt is now simplified and partially inlined. Signed-off-by: Benja