Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Sudeep Holla
On 25/07/17 10:27, Suzuki K Poulose wrote: > On 24/07/17 17:42, Sudeep Holla wrote: >> >> >> On 24/07/17 11:29, Suzuki K Poulose wrote: >>> Add a helper to map a device node to a logical CPU number to avoid >>> duplication. Currently this is open coded in different places (e.g >>> gic-v3,

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Sudeep Holla
On 25/07/17 10:27, Suzuki K Poulose wrote: > On 24/07/17 17:42, Sudeep Holla wrote: >> >> >> On 24/07/17 11:29, Suzuki K Poulose wrote: >>> Add a helper to map a device node to a logical CPU number to avoid >>> duplication. Currently this is open coded in different places (e.g >>> gic-v3,

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 17:42, Sudeep Holla wrote: On 24/07/17 11:29, Suzuki K Poulose wrote: Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible"

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 17:42, Sudeep Holla wrote: On 24/07/17 11:29, Suzuki K Poulose wrote: Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible"

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Sudeep Holla
On 24/07/17 11:29, Suzuki K Poulose wrote: > Add a helper to map a device node to a logical CPU number to avoid > duplication. Currently this is open coded in different places (e.g > gic-v3, coresight). The helper tries to map device node to a "possible" > logical CPU id, which may not be online

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Sudeep Holla
On 24/07/17 11:29, Suzuki K Poulose wrote: > Add a helper to map a device node to a logical CPU number to avoid > duplication. Currently this is open coded in different places (e.g > gic-v3, coresight). The helper tries to map device node to a "possible" > logical CPU id, which may not be online

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Suzuki K Poulose
Hi Marc, On 24/07/17 14:14, Marc Zyngier wrote: On 24/07/17 11:29, Suzuki K Poulose wrote: Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Suzuki K Poulose
Hi Marc, On 24/07/17 14:14, Marc Zyngier wrote: On 24/07/17 11:29, Suzuki K Poulose wrote: Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Marc Zyngier
On 24/07/17 11:29, Suzuki K Poulose wrote: > Add a helper to map a device node to a logical CPU number to avoid > duplication. Currently this is open coded in different places (e.g > gic-v3, coresight). The helper tries to map device node to a "possible" > logical CPU id, which may not be online

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Marc Zyngier
On 24/07/17 11:29, Suzuki K Poulose wrote: > Add a helper to map a device node to a logical CPU number to avoid > duplication. Currently this is open coded in different places (e.g > gic-v3, coresight). The helper tries to map device node to a "possible" > logical CPU id, which may not be online

[PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Suzuki K Poulose
Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible" logical CPU id, which may not be online yet. It is the responsibility of the user to make

[PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Suzuki K Poulose
Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible" logical CPU id, which may not be online yet. It is the responsibility of the user to make