Skip to content

irqchip: dw-apb-ictl: add irq_set_affinity support

Jisheng Zhang linux-arm-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 11 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Add a DT option to indicate whether we want to set the irq affinity.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2irqchip: dw-apb-ictl: add private data structuredrivers/irqchip/irq-dw-apb-ictl.c+21 -50 replies
2/2irqchip: dw-apb-ictl: add irq_set_affinity supportDocumentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt drivers/irqchip/irq-dw-apb-ictl.c+30 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] irqchip: dw-apb-ictl: add irq_set_affinity support

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(-)
Signature · 1 line
2.1.4