Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Russell King - ARM Linux
On Sat, Jul 04, 2015 at 11:53:57AM +0200, Thomas Gleixner wrote: > On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > > > On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > > > On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu > > > goes to a deep idle state,

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Russell King - ARM Linux
On Sat, Jul 04, 2015 at 04:50:07PM +0800, Jisheng Zhang wrote: > Dear Russell, > > On Sat, 4 Jul 2015 09:26:23 +0100 > Russell King - ARM Linux wrote: > > > On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > > > On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Russell King - ARM Linux
On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu > goes to a deep idle state, then the timer framework will be notified to > use a broadcast timer instead. The broadcast timer uses dw-apb-ictl as > interrupt chip

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Thomas Gleixner
On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > > On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu > > goes to a deep idle state, then the timer framework will be notified to > > use a broadcast timer inst

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Thomas Gleixner
On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > On Sat, Jul 04, 2015 at 11:53:57AM +0200, Thomas Gleixner wrote: > > On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > > > > > On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > > > > On Marvell Berlin SoCs, the cpu's local ti

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Thomas Gleixner
On Sat, 4 Jul 2015, Jisheng Zhang wrote: > Thank you for your suggestion. Is is acceptable to make an config option > such as DW_APB_ICTL_SET_AFFINITY, and warn enabled this would migrates every > interrupt, and disable it by default? No, this wants to be a runtime/boottime configuration (device t

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Jisheng Zhang
Dear Russell, On Sat, 4 Jul 2015 09:26:23 +0100 Russell King - ARM Linux wrote: > On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > > On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu > > goes to a deep idle state, then the timer framework will be notified to

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Jisheng Zhang
Dear Thomas, On Sat, 4 Jul 2015 14:49:31 +0200 Thomas Gleixner wrote: > On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > > On Sat, Jul 04, 2015 at 11:53:57AM +0200, Thomas Gleixner wrote: > > > On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > > > > > > > On Sat, Jul 04, 2015 at 01:19:

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Jisheng Zhang
Dear Russell, On Sat, 4 Jul 2015 17:35:33 +0800 Jisheng Zhang wrote: > Dear Russell, > > On Sat, 4 Jul 2015 10:25:46 +0100 > Russell King - ARM Linux wrote: > > > On Sat, Jul 04, 2015 at 04:50:07PM +0800, Jisheng Zhang wrote: > > > Dear Russell, > > > > > > On Sat, 4 Jul 2015 09:26:23 +0100

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Jisheng Zhang
Dear Russell, On Sat, 4 Jul 2015 10:25:46 +0100 Russell King - ARM Linux wrote: > On Sat, Jul 04, 2015 at 04:50:07PM +0800, Jisheng Zhang wrote: > > Dear Russell, > > > > On Sat, 4 Jul 2015 09:26:23 +0100 > > Russell King - ARM Linux wrote: > > > > > On Sat, Jul 04, 2015 at 01:19:30PM +0800,

Re: [PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-05 Thread Jisheng Zhang
Dear Russell, Thomas, On Sat, 4 Jul 2015 11:08:27 +0100 Russell King - ARM Linux wrote: > On Sat, Jul 04, 2015 at 11:53:57AM +0200, Thomas Gleixner wrote: > > On Sat, 4 Jul 2015, Russell King - ARM Linux wrote: > > > > > On Sat, Jul 04, 2015 at 01:19:30PM +0800, Jisheng Zhang wrote: > > > > On

[PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-03 Thread Jisheng Zhang
On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu goes to a deep idle state, then the timer framework will be notified to use a broadcast timer instead. The broadcast timer uses dw-apb-ictl as interrupt chip, this patch adds irq_set_affinity support so that the going to deep id