Re: [RFC PATCH v2] Add ARM cpu topology definition

2011-06-22 Thread Amit Kucheria
On Wed, Jun 22, 2011 at 3:20 PM, Vincent Guittot wrote: > On 22 June 2011 12:14, Amit Kucheria wrote: >>> + >>> +#define topology_physical_package_id(cpu)    (cpu_topology[cpu].socket_id) >>> +#define topology_core_id(cpu)                (cpu_topology[cpu].core_id) >>> +#define topology_core_cpum

Re: [RFC PATCH v2] Add ARM cpu topology definition

2011-06-22 Thread Vincent Guittot
On 22 June 2011 12:14, Amit Kucheria wrote: > Some nits below. > > After you fix them, you can add a > Reviewed-by: Amit Kucheria > > On 11 Jun 20, Vincent Guittot wrote: >> The affinity between ARM processors is defined in the MPIDR register. >> We can identify which processors are in the same c

Re: [RFC PATCH v2] Add ARM cpu topology definition

2011-06-22 Thread Amit Kucheria
Some nits below. After you fix them, you can add a Reviewed-by: Amit Kucheria On 11 Jun 20, Vincent Guittot wrote: > The affinity between ARM processors is defined in the MPIDR register. > We can identify which processors are in the same cluster, > and which ones have performance interdependency