Re: Sleeping from invalid context in udlfb

2018-12-31 Thread Mikulas Patocka
On Thu, 2 Aug 2018, David Airlie wrote: > > I'm pretty sure udlkms handles this already. > > Dave. But it crashes on unplug :-) Mikulas > On Wed, Aug 1, 2018 at 11:34 PM, Mikulas Patocka wrote: > > > On Wed, 1 Aug 2018, Geert Uytterhoeven wrote: > > > Hi Mikulas, > > >

Re: Sleeping from invalid context in udlfb

2018-08-01 Thread David Airlie
I'm pretty sure udlkms handles this already. Dave. On Wed, Aug 1, 2018 at 11:34 PM, Mikulas Patocka wrote: > > > On Wed, 1 Aug 2018, Geert Uytterhoeven wrote: > > > Hi Mikulas, > > > > On Wed, Aug 1, 2018 at 12:59 PM Mikulas Patocka > wrote: > > > On Wed, 1 Aug 2018, Geert Uytterhoeven wrote:

Re: Sleeping from invalid context in udlfb

2018-08-01 Thread Mikulas Patocka
On Wed, 1 Aug 2018, Geert Uytterhoeven wrote: > Hi Mikulas, > > On Wed, Aug 1, 2018 at 12:59 PM Mikulas Patocka wrote: > > On Wed, 1 Aug 2018, Geert Uytterhoeven wrote: > > > On Tue, Jul 31, 2018 at 5:23 PM Mikulas Patocka > > > wrote: > > > > BTW when using the udlfb driver as a console, I'

Re: Sleeping from invalid context in udlfb

2018-08-01 Thread Geert Uytterhoeven
Hi Mikulas, On Wed, Aug 1, 2018 at 12:59 PM Mikulas Patocka wrote: > On Wed, 1 Aug 2018, Geert Uytterhoeven wrote: > > On Tue, Jul 31, 2018 at 5:23 PM Mikulas Patocka wrote: > > > BTW when using the udlfb driver as a console, I've got this warning. > > > vt_console_print takes a spinlock and the

Re: Sleeping from invalid context in udlfb

2018-08-01 Thread Mikulas Patocka
On Wed, 1 Aug 2018, Geert Uytterhoeven wrote: > Hi Mikulas, > > On Tue, Jul 31, 2018 at 5:23 PM Mikulas Patocka wrote: > > BTW when using the udlfb driver as a console, I've got this warning. > > vt_console_print takes a spinlock and then calls the framebuffer driver > > that sleeps. > > > > T

Re: Sleeping from invalid context in udlfb

2018-08-01 Thread Geert Uytterhoeven
Hi Mikulas, On Tue, Jul 31, 2018 at 5:23 PM Mikulas Patocka wrote: > BTW when using the udlfb driver as a console, I've got this warning. > vt_console_print takes a spinlock and then calls the framebuffer driver > that sleeps. > > The question is - whose fault is this? Could the console code some

Sleeping from invalid context in udlfb

2018-07-31 Thread Mikulas Patocka
BTW when using the udlfb driver as a console, I've got this warning. vt_console_print takes a spinlock and then calls the framebuffer driver that sleeps. The question is - whose fault is this? Could the console code somehow be told to print characters without holding a spinlock? Or does it mean