Thread (16 messages) 16 messages, 4 authors, 2014-08-20
STALE4341d
Revisions (11)
  1. v4 [diff vs current]
  2. v5 [diff vs current]
  3. v6 [diff vs current]
  4. v9 [diff vs current]
  5. v10 [diff vs current]
  6. v16 [diff vs current]
  7. v16 [diff vs current]
  8. v16 [diff vs current]
  9. v17 [diff vs current]
  10. v17 current
  11. v17 [diff vs current]

[PATCH v17 8/9] irq: enable hip04 irq chip

From: haojian.zhuang@linaro.org (Haojian Zhuang)
Date: 2014-08-14 02:41:33

On 7 August 2014 18:51, Haojian Zhuang [off-list ref] wrote:
HiP04 GIC is the variate of ARM GICv2.

ARM GICv2 supports 8 cores. HiP04 GIC extends to support 16 cores. It
results that bit fields in GIC_DIST_TARGET & GIC_DIST_SOFTINT are
different from ARM GICv2. And the maximium IRQ is downgrade from 1020 to 510.

Since different register offset & bitfields definitation breaks
compartible with ARM GICv2, create a new hip04 irq driver.

And this driver is derived from irq-gic.c to support the Hisilicon HiP04
interrupt controller, which is similar to the GIC, but deviates at some
points. Support for power management, non-banked registers, cascaded
GICs (and multiple controllers in general) and bigLittle support has
been removed from the GIC driver.

Affinity related functions have been adjusted to match the Hisilicon
hardware implementation.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
---
 drivers/irqchip/Makefile    |   1 +
 drivers/irqchip/irq-hip04.c | 424 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 425 insertions(+)
 create mode 100644 drivers/irqchip/irq-hip04.c
Hi Jason,

All other HiP04 patches are ready. How do you think about this one? Is
it OK for you? If so,
will you take it into your git tree or we take it through armsoc tree
with your Ack?

Best Regards
Haojian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help