Re: [Qemu-devel] [kvm-unit-tests PATCH v2 03/10] arm/arm64: smp: support more than 8 cpus

2016-06-06 Thread Alex Bennée
Andrew Jones writes: > On Mon, Jun 06, 2016 at 05:22:49PM +0100, Alex Bennée wrote: >> >> Andrew Jones writes: >> >> > Signed-off-by: Andrew Jones >> > --- >> > arm/run | 19 --- >> > arm/selftest.c

Re: [Qemu-devel] [kvm-unit-tests PATCH v2 03/10] arm/arm64: smp: support more than 8 cpus

2016-06-06 Thread Alex Bennée
Mark Rutland writes: > On Mon, Jun 06, 2016 at 05:22:49PM +0100, Alex Bennée wrote: >> Andrew Jones writes: >> > +#define MPIDR_LEVEL_SHIFT(level) \ >> > + (((1 << level) >> 1) << 3) >> > +#define MPIDR_AFFINITY_LEVEL(mpidr, level) \ >> > + ((mpidr

Re: [Qemu-devel] [kvm-unit-tests PATCH v2 03/10] arm/arm64: smp: support more than 8 cpus

2016-06-06 Thread Andrew Jones
On Mon, Jun 06, 2016 at 05:22:49PM +0100, Alex Bennée wrote: > > Andrew Jones writes: > > > Signed-off-by: Andrew Jones > > --- > > arm/run | 19 --- > > arm/selftest.c| 5 - > > lib/arm/asm/processor.h

Re: [Qemu-devel] [kvm-unit-tests PATCH v2 03/10] arm/arm64: smp: support more than 8 cpus

2016-06-06 Thread Mark Rutland
On Mon, Jun 06, 2016 at 05:22:49PM +0100, Alex Bennée wrote: > Andrew Jones writes: > > +#define MPIDR_LEVEL_SHIFT(level) \ > > + (((1 << level) >> 1) << 3) > > +#define MPIDR_AFFINITY_LEVEL(mpidr, level) \ > > + ((mpidr >> MPIDR_LEVEL_SHIFT(level)) & 0xff) > > Doesn't

Re: [Qemu-devel] [kvm-unit-tests PATCH v2 03/10] arm/arm64: smp: support more than 8 cpus

2016-06-06 Thread Alex Bennée
Andrew Jones writes: > Signed-off-by: Andrew Jones > --- > arm/run | 19 --- > arm/selftest.c| 5 - > lib/arm/asm/processor.h | 9 +++-- > lib/arm/asm/setup.h | 4 ++-- > lib/arm/setup.c

[Qemu-devel] [kvm-unit-tests PATCH v2 03/10] arm/arm64: smp: support more than 8 cpus

2016-06-04 Thread Andrew Jones
Signed-off-by: Andrew Jones --- arm/run | 19 --- arm/selftest.c| 5 - lib/arm/asm/processor.h | 9 +++-- lib/arm/asm/setup.h | 4 ++-- lib/arm/setup.c | 12 +++- lib/arm64/asm/processor.h | 9