[PATCH 1/5] vt: Fix replacement console check when unbinding

2014-06-06 Thread Daniel Vetter
On Fri, Jun 06, 2014 at 09:16:13AM +0200, David Herrmann wrote: > Hi > > On Thu, Jun 5, 2014 at 4:58 PM, Daniel Vetter > wrote: > > I don't fully understand the magic of the vt register/unregister > > logic, but apparently everything but the inital console (as set > > in the conswitchp pointer)

[PATCH 1/5] vt: Fix replacement console check when unbinding

2014-06-06 Thread David Herrmann
Hi On Thu, Jun 5, 2014 at 4:58 PM, Daniel Vetter wrote: > I don't fully understand the magic of the vt register/unregister > logic, but apparently everything but the inital console (as set > in the conswitchp pointer) is marked with FLAG_MODULE. Which means > if something unregistered the boot vt

[PATCH 1/5] vt: Fix replacement console check when unbinding

2014-06-05 Thread Daniel Vetter
I don't fully understand the magic of the vt register/unregister logic, but apparently everything but the inital console (as set in the conswitchp pointer) is marked with FLAG_MODULE. Which means if something unregistered the boot vt driver (e.g. i915.ko kicking out vga_con) there's nothing left wh