Re: [Qemu-devel] [PATCH v2 1/1] arm_gic: Update ID registers based on revision

2016-01-20 Thread Alistair Francis
On Wed, Jan 20, 2016 at 3:37 PM, Peter Maydell wrote: > On 20 January 2016 at 23:08, Alistair Francis > wrote: >> On Wed, Jan 20, 2016 at 2:48 PM, Peter Maydell >> wrote: >>> On 20 January 2016 at 22:42, Alistair Francis >>> wrote: Update the GIC ID registers (registers above 0xfe0) based

Re: [Qemu-devel] [PATCH v2 1/1] arm_gic: Update ID registers based on revision

2016-01-20 Thread Peter Maydell
On 20 January 2016 at 23:08, Alistair Francis wrote: > On Wed, Jan 20, 2016 at 2:48 PM, Peter Maydell > wrote: >> On 20 January 2016 at 22:42, Alistair Francis >> wrote: >>> Update the GIC ID registers (registers above 0xfe0) based on the GIC >>> revision instead of using the sames values for a

Re: [Qemu-devel] [PATCH v2 1/1] arm_gic: Update ID registers based on revision

2016-01-20 Thread Alistair Francis
On Wed, Jan 20, 2016 at 2:48 PM, Peter Maydell wrote: > On 20 January 2016 at 22:42, Alistair Francis > wrote: >> Update the GIC ID registers (registers above 0xfe0) based on the GIC >> revision instead of using the sames values for all GIC implementations. >> >> Signed-off-by: Alistair Francis

Re: [Qemu-devel] [PATCH v2 1/1] arm_gic: Update ID registers based on revision

2016-01-20 Thread Peter Maydell
On 20 January 2016 at 22:42, Alistair Francis wrote: > Update the GIC ID registers (registers above 0xfe0) based on the GIC > revision instead of using the sames values for all GIC implementations. > > Signed-off-by: Alistair Francis > Tested-by: Sören Brinkmann > --- > V2: > - Update array ind

[Qemu-devel] [PATCH v2 1/1] arm_gic: Update ID registers based on revision

2016-01-20 Thread Alistair Francis
Update the GIC ID registers (registers above 0xfe0) based on the GIC revision instead of using the sames values for all GIC implementations. Signed-off-by: Alistair Francis Tested-by: Sören Brinkmann --- V2: - Update array indexing to match new values - Check the maximum value of offset as wel