Re: [PATCH] drivers: misc/arm-cci: Fix incorrect range check for CCI PMU

2013-01-10 Thread Jon Medhurst (Tixy)
On Thu, 2013-01-10 at 12:10 +, Punit Agrawal wrote: > This patch fixes incorrect range check for the number of PMU counters. This > caused the number of counters to be off-by-1. > > Signed-off-by: Punit Agrawal > --- > Hi Tixy, > > I discovered an embarassing range check issue in the CCI dri

[PATCH] drivers: misc/arm-cci: Fix incorrect range check for CCI PMU

2013-01-10 Thread Punit Agrawal
This patch fixes incorrect range check for the number of PMU counters. This caused the number of counters to be off-by-1. Signed-off-by: Punit Agrawal --- Hi Tixy, I discovered an embarassing range check issue in the CCI driver. It would allow only 3 of the 4 CCI PMU counters to be used. This pa