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. In our case, the broadcast timer uses dw-apb-ictl as the interrupt chip. These patches try to add irq_set_affinity support so that the going to deep idle state cpu can set the interrupt affinity of the broadcast interrupt to avoid unnecessary wakeups and IPIs.
Changes since v2: - Add a DT option to indicate whether we want to set the irq affinity. Changes since v1: - Add a simple test and its result into the second patch's commit msg. Jisheng Zhang (2): irqchip: dw-apb-ictl: add private data structure irqchip: dw-apb-ictl: add irq_set_affinity support .../interrupt-controller/snps,dw-apb-ictl.txt | 5 +++ drivers/irqchip/irq-dw-apb-ictl.c | 51 +++++++++++++++++++--- 2 files changed, 51 insertions(+), 5 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/