Re: [PATCH] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-02-23 Thread Shanker Donthineni
Hi Marc, Sorry, I have not responded to your email earlier, by mistake replied to original patch. On 02/23/2016 02:51 AM, Marc Zyngier wrote: On 23/02/16 03:57, Shanker Donthineni wrote: We are not checking whether the requested device identifier fits into table or not. The ITS MAPD command

Re: [PATCH] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-02-23 Thread Shanker Donthineni
Hi Marc, On 02/22/2016 09:57 PM, Shanker Donthineni wrote: We are not checking whether the requested device identifier fits into table or not. The ITS MAPD command fails if 'Device ID' is outside of device table range. Add a simple validation check to avoid MAPD failures since we are not handl

Re: [PATCH] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-02-23 Thread Shanker Donthineni
Hi Marc, On 02/23/2016 02:51 AM, Marc Zyngier wrote: On 23/02/16 03:57, Shanker Donthineni wrote: We are not checking whether the requested device identifier fits into table or not. The ITS MAPD command fails if 'Device ID' is outside of device table range. Add a simple validation check to avo

Re: [PATCH] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-02-23 Thread Marc Zyngier
On 23/02/16 03:57, Shanker Donthineni wrote: > We are not checking whether the requested device identifier fits into > table or not. The ITS MAPD command fails if 'Device ID' is outside of > device table range. > > Add a simple validation check to avoid MAPD failures since we are > not handling IT

[PATCH] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-02-22 Thread Shanker Donthineni
We are not checking whether the requested device identifier fits into table or not. The ITS MAPD command fails if 'Device ID' is outside of device table range. Add a simple validation check to avoid MAPD failures since we are not handling ITS command errors. This change also helps to return an err