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| 5 -
>> > lib/arm/asm/processor.h | 9 +
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 >> MPIDR_LEVEL_SHIFT(level)) & 0xff)
>>
>> D
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 | 9 +++--
> > lib/arm/asm/setup.
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 Aff3 break this little
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 | 12 +++-
> lib/arm64/a
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 +++--
6 files c