Thread (1 message) 1 message, 1 author, 2012-01-13

[PATCH 1/2] versatile: sic: add device tree bindings

From: Russell King - ARM Linux <hidden>
Date: 2012-01-13 21:19:58
Also in: linux-devicetree

On Fri, Jan 13, 2012 at 02:00:41PM -0700, Grant Likely wrote:
Let me look at it a bit.  You can leave the initialization loop in
fpga_irq_init() for now.  I'm looking at adding a mask field to
irq_domain_add_legacy in addition to the host_data pointer.  I also
want to investigate replacing fpga_irq with generic-chip.c.  The
problem I've currently got though is that irq_domain_add_legacy() can
currently support any number of irqs, but adding a simple mask
argument will limit it to 32.  That won't work for large irq
controllers like the gic.
The easy answer is not to register the IRQs which don't actually exist
or we don't want to be used out of the set of 32.

However, the problem comes with:

#define PIC_MASK        0xFFD00000

where we have an IRQ23 but no IRQ22.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help