Re: [PATCH] irqchip/gic-v3: Ignore disabled ITS nodes

2018-02-01 Thread Stephen Boyd
On 02/01, Marc Zyngier wrote: > On 29/01/18 16:49, Stephen Boyd wrote: > > @@ -1815,6 +1815,8 @@ static int __init its_of_probe(struct device_node > > *node) > > > > for (np = of_find_matching_node(node, its_device_id); np; > > np = of_find_matching_node(np, its_device_id)) { > > +

Re: [PATCH] irqchip/gic-v3: Ignore disabled ITS nodes

2018-02-01 Thread Marc Zyngier
On 29/01/18 16:49, Stephen Boyd wrote: > On some platforms there's an ITS available but it's not enabled > because reading or writing the registers is denied by the > firmware. In fact, reading or writing them will cause the system > to reset. Wow. Funky. > We could remove the node from DT in su

[PATCH] irqchip/gic-v3: Ignore disabled ITS nodes

2018-01-29 Thread Stephen Boyd
On some platforms there's an ITS available but it's not enabled because reading or writing the registers is denied by the firmware. In fact, reading or writing them will cause the system to reset. We could remove the node from DT in such a case, but it's better to skip nodes that are marked as "dis