Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Lad, Prabhakar
Hi Geert, On Thu, Jul 2, 2020 at 3:39 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Thu, Jul 2, 2020 at 4:05 PM Lad, Prabhakar > wrote: > > > Hi Geert, > > > > On Thu, Jul 2, 2020 at 1:52 PM Geert Uytterhoeven > > wrote: > > > > > > Hi Prabhakar, > > > > > > On Thu, Jul 2, 2020 at 1:42

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Geert Uytterhoeven
Hi Prabhakar, On Thu, Jul 2, 2020 at 4:05 PM Lad, Prabhakar wrote: > Hi Geert, > > On Thu, Jul 2, 2020 at 1:52 PM Geert Uytterhoeven > wrote: > > > > Hi Prabhakar, > > > > On Thu, Jul 2, 2020 at 1:42 PM Lad, Prabhakar > > wrote: > > > On Thu, Jul 2, 2020 at 11:49 AM Lad, Prabhakar > > > wrot

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Lad, Prabhakar
Hi Geert, On Thu, Jul 2, 2020 at 1:52 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Thu, Jul 2, 2020 at 1:42 PM Lad, Prabhakar > wrote: > > On Thu, Jul 2, 2020 at 11:49 AM Lad, Prabhakar > > wrote: > > > On Thu, Jul 2, 2020 at 10:23 AM Geert Uytterhoeven > > > wrote: > > > > On Wed, J

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Geert Uytterhoeven
Hi Prabhakar, On Thu, Jul 2, 2020 at 1:42 PM Lad, Prabhakar wrote: > On Thu, Jul 2, 2020 at 11:49 AM Lad, Prabhakar > wrote: > > On Thu, Jul 2, 2020 at 10:23 AM Geert Uytterhoeven > > wrote: > > > On Wed, Jul 1, 2020 at 7:28 PM Lad, Prabhakar > > > wrote: > > > > On Wed, Jul 1, 2020 at 6:17 P

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Lad, Prabhakar
Hi Geert, On Thu, Jul 2, 2020 at 10:23 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Wed, Jul 1, 2020 at 7:28 PM Lad, Prabhakar > wrote: > > On Wed, Jul 1, 2020 at 6:17 PM Geert Uytterhoeven > > wrote: > > > On Wed, Jul 1, 2020 at 5:42 PM Lad Prabhakar > > > wrote: > > > > serial core

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Geert Uytterhoeven
Hi Prabhakar, On Wed, Jul 1, 2020 at 7:28 PM Lad, Prabhakar wrote: > On Wed, Jul 1, 2020 at 6:17 PM Geert Uytterhoeven > wrote: > > On Wed, Jul 1, 2020 at 5:42 PM Lad Prabhakar > > wrote: > > > serial core expects the spinlock to be initialized by the controller > > > driver for serial console

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-01 Thread Geert Uytterhoeven
Hi Prabhakar, On Wed, Jul 1, 2020 at 5:42 PM Lad Prabhakar wrote: > serial core expects the spinlock to be initialized by the controller > driver for serial console, this patch makes sure the spinlock is > initialized, fixing the below issue: > > [0.865928] BUG: spinlock bad magic on CPU#0, s

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-01 Thread Greg Kroah-Hartman
On Wed, Jul 01, 2020 at 04:41:40PM +0100, Lad Prabhakar wrote: > serial core expects the spinlock to be initialized by the controller > driver for serial console, this patch makes sure the spinlock is > initialized, fixing the below issue: > > [0.865928] BUG: spinlock bad magic on CPU#0, swapp

[PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-01 Thread Lad Prabhakar
serial core expects the spinlock to be initialized by the controller driver for serial console, this patch makes sure the spinlock is initialized, fixing the below issue: [0.865928] BUG: spinlock bad magic on CPU#0, swapper/0/1 [0.865945] lock: sci_ports+0x0/0x4c80, .magic: , .own