[PATCH v2] soc: fsl: dpio: instead smp_processor_id with raw_smp_processor_id

2021-10-18 Thread Meng . Li
From: Meng Li When enable debug kernel configs,there will be calltrace as below: BUG: using smp_processor_id() in preemptible [] code: swapper/0/1 caller is debug_smp_processor_id+0x20/0x30 CPU: 6 PID: 1 Comm: swapper/0 Not tainted 5.10.63-yocto-standard #1 Hardware name: NXP Layerscape

Re: [PATCH v2] soc: fsl: dpio: instead smp_processor_id with raw_smp_processor_id

2021-10-19 Thread Li Yang
On Mon, Oct 18, 2021 at 9:46 PM wrote: > > From: Meng Li > > When enable debug kernel configs,there will be calltrace as below: > > BUG: using smp_processor_id() in preemptible [] code: swapper/0/1 > caller is debug_smp_processor_id+0x20/0x30 > CPU: 6 PID: 1 Comm: swapper/0 Not tainted 5.