Re: [RFC PATCH V2 5/8] irqchip/gic: Return an error if GIC initialisation fails

2015-12-18 Thread Jon Hunter
On 17/12/15 13:26, Linus Walleij wrote: > On Thu, Dec 17, 2015 at 11:48 AM, Jon Hunter wrote: > >> If the GIC initialisation fails, then currently we do not return an error >> or clean-up afterwards. Although for root controllers, this failure may be >> fatal anyway, for secondary controllers, i

Re: [RFC PATCH V2 5/8] irqchip/gic: Return an error if GIC initialisation fails

2015-12-17 Thread Linus Walleij
On Thu, Dec 17, 2015 at 11:48 AM, Jon Hunter wrote: > If the GIC initialisation fails, then currently we do not return an error > or clean-up afterwards. Although for root controllers, this failure may be > fatal anyway, for secondary controllers, it may not be fatal and so return > an error on f

[RFC PATCH V2 5/8] irqchip/gic: Return an error if GIC initialisation fails

2015-12-17 Thread Jon Hunter
If the GIC initialisation fails, then currently we do not return an error or clean-up afterwards. Although for root controllers, this failure may be fatal anyway, for secondary controllers, it may not be fatal and so return an error on failure and clean-up. Also for non-banked GIC controllers, mak