Re: [PATCH v2 1/2] bus: arm-ccn: Fix use of smp_processor_id() in preemptible context

2017-10-04 Thread Pawel Moll
On Wed, 2017-10-04 at 13:32 +0100, Marc Zyngier wrote: >  > > Acked-by: Pawel Moll > >  > > I assume you'll get this merged yourself? Or do you want me to > relay > > the CCN one (I've got a couple of other small changes to the driver > in > > the queue). > > I'd rather you take care of it if you

Re: [PATCH v2 1/2] bus: arm-ccn: Fix use of smp_processor_id() in preemptible context

2017-10-04 Thread Marc Zyngier
On 04/10/17 12:26, Pawel Moll wrote: > On Tue, 2017-10-03 at 18:14 +0100, Marc Zyngier wrote: >> Booting a DEBUG_PREEMPT enabled kernel on a CCN-based system >> results in the following splat: >> >> [...] >> arm-ccn e800.ccn: No access to interrupts, using timer. >> BUG: using smp_processor_id(

Re: [PATCH v2 1/2] bus: arm-ccn: Fix use of smp_processor_id() in preemptible context

2017-10-04 Thread Pawel Moll
On Tue, 2017-10-03 at 18:14 +0100, Marc Zyngier wrote: > Booting a DEBUG_PREEMPT enabled kernel on a CCN-based system > results in the following splat: > > [...] > arm-ccn e800.ccn: No access to interrupts, using timer. > BUG: using smp_processor_id() in preemptible [] code: > swapper/0

[PATCH v2 1/2] bus: arm-ccn: Fix use of smp_processor_id() in preemptible context

2017-10-03 Thread Marc Zyngier
Booting a DEBUG_PREEMPT enabled kernel on a CCN-based system results in the following splat: [...] arm-ccn e800.ccn: No access to interrupts, using timer. BUG: using smp_processor_id() in preemptible [] code: swapper/0/1 caller is debug_smp_processor_id+0x1c/0x28 CPU: 1 PID: 1 Comm: sw