Skip to content
  • Benjamin Herrenschmidt's avatar
    hvc_console: Remove tty->low_latency on pseries backends · 187cfc43
    Benjamin Herrenschmidt authored
    
    
    The hvcs and hvsi backends both set tty->low_latency to one, along
    with more or less scary comments regarding bugs or races that would
    happen if not doing so.
    
    However, they also both call tty_flip_buffer_push() in conexts where
    it's illegal to do so since some recent tty changes (or at least it
    may have been illegal always but it nows blows) when low_latency is
    set (ie, hard interrupt or with spinlock held and irqs disabled).
    
    This removes the setting for now to get them back to working condition,
    we'll have to address the races described in the comments separately
    if they are still an issue (some of this might have been fixed already).
    
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    187cfc43