1. 10 Mar, 2009 3 commits
    • Benjamin Herrenschmidt's avatar
      radeonfb/aty128fb: Disable broken early resume hook for PowerBooks · d801cec7
      Benjamin Herrenschmidt authored
      radeonfb and aty128fb have a special hook called by the PowerMac platform
      code very very early on resume from sleep to bring the screen back. This
      is useful for debugging wakup problems, but unfortunately, this also became
      a source of problems of its own.
      
      The hook is called extremely early, with interrupts still off, and the code
      path involved with that code nowadays rely on things like taking mutexes,
      GFP_KERNEL allocations, etc...
      
      In addition, the driver now relies on the PCI core to restore the standard
      config space before calling resume which doesn't happen with this early
      code path.
      
      I'm keeping the code in but commented out along with a fixup call to
      pci_restore_state(). The reason is that I still want to make it easy to
      re-enable temporarily to track wake up problems, and it's possible that
      I can revive it at some stage if we make sleeping things save to call
      in early resume using a system state.
      
      In the meantime, this should fix several reported regressions.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      d801cec7
    • 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
    • Benjamin Herrenschmidt's avatar
      d301a9f3
  2. 09 Mar, 2009 1 commit
  3. 04 Mar, 2009 4 commits
  4. 03 Mar, 2009 12 commits
  5. 02 Mar, 2009 20 commits