Re: [PATCH] powerpc/mpic: Disable preemption when calling mpic_processor_id()

2013-09-27 Thread Kumar Gala
On Sep 26, 2013, at 7:18 PM, Scott Wood wrote: Otherwise, we get a debug traceback due to the use of smp_processor_id() (or get_paca()) inside hard_smp_processor_id(). mpic_host_map() is just looking for a default CPU, so it doesn't matter if we migrate after getting the CPU ID.

Re: [PATCH] powerpc/mpic: Disable preemption when calling mpic_processor_id()

2013-09-27 Thread Scott Wood
On Fri, 2013-09-27 at 10:52 -0500, Kumar Gala wrote: On Sep 26, 2013, at 7:18 PM, Scott Wood wrote: Otherwise, we get a debug traceback due to the use of smp_processor_id() (or get_paca()) inside hard_smp_processor_id(). mpic_host_map() is just looking for a default CPU, so it doesn't

Re: [PATCH] powerpc/mpic: Disable preemption when calling mpic_processor_id()

2013-09-27 Thread Kumar Gala
On Sep 27, 2013, at 11:15 AM, Scott Wood wrote: On Fri, 2013-09-27 at 10:52 -0500, Kumar Gala wrote: On Sep 26, 2013, at 7:18 PM, Scott Wood wrote: Otherwise, we get a debug traceback due to the use of smp_processor_id() (or get_paca()) inside hard_smp_processor_id(). mpic_host_map() is

Re: [PATCH] powerpc/mpic: Disable preemption when calling mpic_processor_id()

2013-09-27 Thread Scott Wood
On Fri, 2013-09-27 at 12:09 -0500, Kumar Gala wrote: On Sep 27, 2013, at 11:15 AM, Scott Wood wrote: On Fri, 2013-09-27 at 10:52 -0500, Kumar Gala wrote: On Sep 26, 2013, at 7:18 PM, Scott Wood wrote: Otherwise, we get a debug traceback due to the use of smp_processor_id() (or

[PATCH] powerpc/mpic: Disable preemption when calling mpic_processor_id()

2013-09-26 Thread Scott Wood
Otherwise, we get a debug traceback due to the use of smp_processor_id() (or get_paca()) inside hard_smp_processor_id(). mpic_host_map() is just looking for a default CPU, so it doesn't matter if we migrate after getting the CPU ID. Signed-off-by: Scott Wood scottw...@freescale.com ---