Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-22 Thread Sudeep KarkadaNagesha
On 22/08/13 07:15, Benjamin Herrenschmidt wrote: > On Tue, 2013-08-20 at 10:30 +0100, Sudeep KarkadaNagesha wrote: >> From: Sudeep KarkadaNagesha >> >> Currently different drivers requiring to access cpu device node are >> parsing the device tree themselves. Since the ordering in the DT need >> no

Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-21 Thread Benjamin Herrenschmidt
On Tue, 2013-08-20 at 10:30 +0100, Sudeep KarkadaNagesha wrote: > From: Sudeep KarkadaNagesha > > Currently different drivers requiring to access cpu device node are > parsing the device tree themselves. Since the ordering in the DT need > not match the logical cpu ordering, the parsing logic nee

Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-20 Thread Benjamin Herrenschmidt
On Tue, 2013-08-20 at 13:22 +0100, Sudeep KarkadaNagesha wrote: > Correct, he has reviewed but I am waiting for his ACK before I could > sent you pull request. Hopefully I should be able to send pull request > tomorrow with his ACK. > > Hi Ben, > > If this is patch is fine, can I have your ACK ?

Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-20 Thread Sudeep KarkadaNagesha
On 20/08/13 13:27, Rafael J. Wysocki wrote: > On Tuesday, August 20, 2013 10:30:05 AM Sudeep KarkadaNagesha wrote: >> From: Sudeep KarkadaNagesha >> >> Currently different drivers requiring to access cpu device node are >> parsing the device tree themselves. Since the ordering in the DT need >> no

Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 10:30:05 AM Sudeep KarkadaNagesha wrote: > From: Sudeep KarkadaNagesha > > Currently different drivers requiring to access cpu device node are > parsing the device tree themselves. Since the ordering in the DT need > not match the logical cpu ordering, the parsing logi

[PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Currently different drivers requiring to access cpu device node are parsing the device tree themselves. Since the ordering in the DT need not match the logical cpu ordering, the parsing logic needs to consider that. However, this has resulted in lots of code duplicatio