1. 05 9月, 2012 2 次提交
    • B
      hvc_vio: Improve registration of udbg backend · d1cfc0ce
      Benjamin Herrenschmidt 提交于
      The pseries hvterm driver only registers a udbg backend (for xmon and
      other low level debugging mechanisms) when hvc0 is recognized as the
      firmware console at boot time, not if it's detected later on, for
      example because the firmware is using a graphics card.
      
      This can make debugging challenging especially under X11, and there's
      really no good reason for that limitation, so let's hookup udbg
      whenever hvc0 is detected instead.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      d1cfc0ce
    • B
      hvc_console: Better kernel console support · 92057a49
      Benjamin Herrenschmidt 提交于
      hvc_console has two methods to instanciate the consoles.
      
      hvc_instanciate is meant to be called at early boot, while hvc_alloc is
      called for more dynamically probed objects.
      
      Currently, it only deals with adding kernel consoles in the former case,
      which means for example that if a console only uses dynamic probing, it
      will never be usable as a kernel console even when specifying
      console=hvc0 explicitly, which could be considered annoying...
      
      More specifically, on pseries, we only do the early instanciate for the
      console currently used by the firmware, so if you have your firmware
      configured to go to a video card, for example, you cannot get your
      kernel console, oops messages, etc... on your serial port or hypervisor
      console, which would be handy to deal with oopses.
      
      This fixes it by checking if hvc_console.flags & CON_ENABLED is set when
      registering a new dynamic console, and if not, redo the index check and
      re-register the console if the index matches, allowing console=hvcN to
      work.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      92057a49
  2. 01 8月, 2012 1 次提交
  3. 27 7月, 2012 10 次提交
  4. 20 7月, 2012 1 次提交
  5. 19 7月, 2012 1 次提交
  6. 13 7月, 2012 1 次提交
  7. 10 7月, 2012 1 次提交
  8. 03 7月, 2012 1 次提交
  9. 01 7月, 2012 1 次提交
  10. 29 6月, 2012 1 次提交
  11. 13 6月, 2012 5 次提交
  12. 03 6月, 2012 1 次提交
    • L
      tty: Revert the tty locking series, it needs more work · f309532b
      Linus Torvalds 提交于
      This reverts the tty layer change to use per-tty locking, because it's
      not correct yet, and fixing it will require some more deep surgery.
      
      The main revert is d29f3ef3 ("tty_lock: Localise the lock"), but
      there are several smaller commits that built upon it, they also get
      reverted here. The list of reverted commits is:
      
        fde86d31 - tty: add lockdep annotations
        8f6576ad - tty: fix ldisc lock inversion trace
        d3ca8b64 - pty: Fix lock inversion
        b1d679af - tty: drop the pty lock during hangup
        abcefe5f - tty/amiserial: Add missing argument for tty_unlock()
        fd11b42e - cris: fix missing tty arg in wait_event_interruptible_tty call
        d29f3ef3 - tty_lock: Localise the lock
      
      The revert had a trivial conflict in the 68360serial.c staging driver
      that got removed in the meantime.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f309532b
  13. 01 6月, 2012 1 次提交
  14. 30 5月, 2012 2 次提交
  15. 25 5月, 2012 3 次提交
  16. 21 5月, 2012 2 次提交
  17. 18 5月, 2012 6 次提交