Re: [PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-02 Thread Mauricio Faria de Oliveira
On 06/02/2016 08:03 AM, Michael Ellerman wrote: Can you send me a v2 with a change log that includes all that detail. Sure; should have done it. Thanks. -- Mauricio Faria de Oliveira IBM Linux Technology Center ___ Linuxppc-dev mailing list

Re: [PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-02 Thread Michael Ellerman
On Thu, 2016-06-02 at 06:00 -0300, Mauricio Faria de Oliveira wrote: > Hi Michael, > On 06/02/2016 04:41 AM, Michael Ellerman wrote: > > On Wed, 2016-06-01 at 17:16 -0300, Mauricio Faria de Oliveira wrote: > > > Export cpu_to_core_id(). This will be used by the lpfc driver. > > > > Can you

Re: [PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-02 Thread Mauricio Faria de Oliveira
On 06/02/2016 06:00 AM, Mauricio Faria de Oliveira wrote: I actually use topology_core_id() from in lpfc [1] Er, .. kinda early here :) -- Mauricio Faria de Oliveira IBM Linux Technology Center ___ Linuxppc-dev mailing list

Re: [PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-02 Thread Mauricio Faria de Oliveira
Hi Michael, On 06/02/2016 04:41 AM, Michael Ellerman wrote: On Wed, 2016-06-01 at 17:16 -0300, Mauricio Faria de Oliveira wrote: Export cpu_to_core_id(). This will be used by the lpfc driver. Can you explain why? Yup, I would have thought there'd be architecture neutral APIs you can

Re: [PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-02 Thread Michael Ellerman
On Wed, 2016-06-01 at 17:16 -0300, Mauricio Faria de Oliveira wrote: > Export cpu_to_core_id(). This will be used by the lpfc driver. Can you explain why? I would have thought there'd be architecture neutral APIs you can use - and if there aren't maybe we should write them. cheers

Re: [PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-01 Thread Mauricio Faria de Oliveira
Please ignore the 'PATCH 1/3' in the subject; this is a single patch. -- Mauricio Faria de Oliveira IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/3] powerpc: export cpu_to_core_id()

2016-06-01 Thread Mauricio Faria de Oliveira
Export cpu_to_core_id(). This will be used by the lpfc driver. Tested on next-20160601. Signed-off-by: Mauricio Faria de Oliveira --- arch/powerpc/kernel/smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/smp.c