Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-12 Thread Frederic Weisbecker
On Mon, May 12, 2014 at 07:17:29PM +0200, Peter Zijlstra wrote: > On Mon, May 12, 2014 at 06:26:49PM +0200, Frederic Weisbecker wrote: > > On Mon, May 12, 2014 at 09:56:50AM +0200, Peter Zijlstra wrote: > > > On Mon, May 12, 2014 at 01:33:53AM +0200, Frederic Weisbecker wrote: > > > > We are going

Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-12 Thread Peter Zijlstra
On Mon, May 12, 2014 at 06:26:49PM +0200, Frederic Weisbecker wrote: > On Mon, May 12, 2014 at 09:56:50AM +0200, Peter Zijlstra wrote: > > On Mon, May 12, 2014 at 01:33:53AM +0200, Frederic Weisbecker wrote: > > > We are going to extend irq work to support remote queuing. > > > > > > So lets add a

Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-12 Thread Frederic Weisbecker
On Mon, May 12, 2014 at 01:11:50PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2014-05-12 at 10:08 +1000, Benjamin Herrenschmidt wrote: > > On Mon, 2014-05-12 at 01:33 +0200, Frederic Weisbecker wrote: > > > We are going to extend irq work to support remote queuing. > > > > > > So lets add a cp

Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-12 Thread Frederic Weisbecker
On Mon, May 12, 2014 at 09:56:50AM +0200, Peter Zijlstra wrote: > On Mon, May 12, 2014 at 01:33:53AM +0200, Frederic Weisbecker wrote: > > We are going to extend irq work to support remote queuing. > > > > So lets add a cpu argument to arch_irq_work_raise(). The architectures > > willing to suppor

Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-12 Thread Peter Zijlstra
On Mon, May 12, 2014 at 01:33:53AM +0200, Frederic Weisbecker wrote: > We are going to extend irq work to support remote queuing. > > So lets add a cpu argument to arch_irq_work_raise(). The architectures > willing to support that must then provide the backend to raise irq work > IPIs remotely. >

Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-11 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 10:08 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2014-05-12 at 01:33 +0200, Frederic Weisbecker wrote: > > We are going to extend irq work to support remote queuing. > > > > So lets add a cpu argument to arch_irq_work_raise(). The architectures > > willing to support that

Re: [PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-11 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 01:33 +0200, Frederic Weisbecker wrote: > We are going to extend irq work to support remote queuing. > > So lets add a cpu argument to arch_irq_work_raise(). The architectures > willing to support that must then provide the backend to raise irq work > IPIs remotely. > > Init

[PATCH 1/5] irq_work: Architecture support for remote irq work raise

2014-05-11 Thread Frederic Weisbecker
We are going to extend irq work to support remote queuing. So lets add a cpu argument to arch_irq_work_raise(). The architectures willing to support that must then provide the backend to raise irq work IPIs remotely. Initial support is provided for x86 and ARM since they are easily extended. The