Re: [PATCH] irqchip/mips-gic: Fix IRQs in gic_dev_domain

2016-06-25 Thread Qais Yousef
On 23/06/2016 19:11, Jason Cooper wrote: Qais, On Tue, May 24, 2016 at 11:43:07AM +0100, Qais Yousef wrote: Hmm I certainly did test this on real hardware with GIC. Are you using the new dev domain? The idea is that GIC is logically divided and shouldn't be used directly. Sorry I'm travelling a

Re: [PATCH] irqchip/mips-gic: Fix IRQs in gic_dev_domain

2016-06-25 Thread Thomas Gleixner
On Thu, 23 Jun 2016, Jason Cooper wrote: > Qais, > > On Tue, May 24, 2016 at 11:43:07AM +0100, Qais Yousef wrote: > > Hmm I certainly did test this on real hardware with GIC. Are you using the > > new dev domain? The idea is that GIC is logically divided and shouldn't be > > used directly. Sorry

Re: [PATCH] irqchip/mips-gic: Fix IRQs in gic_dev_domain

2016-06-23 Thread Jason Cooper
Qais, On Tue, May 24, 2016 at 11:43:07AM +0100, Qais Yousef wrote: > Hmm I certainly did test this on real hardware with GIC. Are you using the > new dev domain? The idea is that GIC is logically divided and shouldn't be > used directly. Sorry I'm travelling and can't check the code. Any update o

[PATCH] irqchip/mips-gic: Fix IRQs in gic_dev_domain

2016-05-23 Thread Harvey Hunt
When allocating a new device IRQ, gic_dev_domain_alloc() correctly calls irq_domain_set_hwirq_and_chip(), but gic_irq_domain_alloc() does not. This means that gic_irq_domain believes all IRQs from the dev domain have an hwirq of 0 and creates incorrect mappings in the linear_revmap. As gic_irq_doma