1. 11 8月, 2012 1 次提交
    • A
      tty: localise the lock · 89c8d91e
      Alan Cox 提交于
      The termios and other changes mean the other protections needed on the driver
      tty arrays should be adequate. Turn it all back on.
      
      This contains pieces folded in from the fixes made to the original patches
      
      | From: Geert Uytterhoeven <geert@linux-m68k.org>	(fix m68k)
      | From: Paul Gortmaker <paul.gortmaker@windriver.com>	(fix cris)
      | From: Jiri Kosina <jkosina@suze.cz>			(lockdep)
      | From: Eric Dumazet <eric.dumazet@gmail.com>		(lockdep)
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      89c8d91e
  2. 17 7月, 2012 2 次提交
  3. 07 7月, 2012 1 次提交
    • A
      tty: localise the lock · f5e3bcc5
      Alan Cox 提交于
      The termios and other changes mean the other protections needed on the driver
      tty arrays should be adequate. Turn it all back on.
      
      This contains pieces folded in from the fixes made to the original patches
      
      | From: Geert Uytterhoeven <geert@linux-m68k.org>	(fix m68k)
      | From: Paul Gortmaker <paul.gortmaker@windriver.com>	(fix cris)
      | From: Jiri Kosina <jkosina@suze.cz>			(lockdep)
      | From: Eric Dumazet <eric.dumazet@gmail.com>		(lockdep)
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f5e3bcc5
  4. 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
  5. 05 5月, 2012 1 次提交
  6. 29 3月, 2012 1 次提交
  7. 09 3月, 2012 2 次提交
  8. 04 2月, 2012 1 次提交
  9. 31 3月, 2011 1 次提交
  10. 23 2月, 2011 1 次提交
  11. 18 2月, 2011 3 次提交
  12. 28 10月, 2010 3 次提交
  13. 23 10月, 2010 1 次提交
  14. 24 8月, 2010 1 次提交
  15. 11 8月, 2010 3 次提交
  16. 20 7月, 2010 1 次提交
  17. 03 3月, 2010 1 次提交
    • P
      serial: synclink_gt: dropped transmit data bugfix · de538eb3
      Paul Fulghum 提交于
      Fix transmit bug that could drop send data if write() called close to
      serial transmitter going idle after sending previous data.  Bug is caused
      by incorrect use of device information member tx_count.
      
      Driver originally processed one data block (write call) at a time, waiting
      for transmit idle before sending more.  tx_count recorded how much data
      was loaded in DMA buffers on write(), and was cleared on send completion. 
      tx_count use was overloaded to record accumulated data from put_char()
      callback when transmitter was idle.
      
      A bug was introduced when transmit code was reworked to allow multiple
      blocks of data in the tx DMA buffers which keeps transmitter from going
      idle between blocks.  tx_count was set to size of last block loaded,
      cleared when tx went idle, and monitored to know when to restart
      transmitter without proper synchronization.  tx_count could be cleared
      when unsent data remained in DMA buffers and transmitter required
      restarting, effectively dropping unsent data.
      
      Solution:
      1. tx_count now used only to track accumulated data from put_char
      2. DMA buffer state tracked by direct inspection of descriptors
         with spinlock synchronization
      3. consolidate these tasks in tx_load() :
         a. check for available buffer space
         b. load buffers
         c. restart DMA and or serial transmitter as needed
         These steps were previously duplicated in multiple places,
         sometimes incompletely.
      4. fix use of tx_count as active transmit indicator,
         instead using tx_active which is meant for that purpose
      Signed-off-by: NPaul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      de538eb3
  18. 01 9月, 2009 1 次提交
  19. 13 7月, 2009 1 次提交
  20. 25 6月, 2009 1 次提交
  21. 11 6月, 2009 2 次提交
  22. 03 4月, 2009 1 次提交
  23. 01 4月, 2009 1 次提交
  24. 22 1月, 2009 1 次提交
  25. 16 1月, 2009 1 次提交
  26. 03 1月, 2009 3 次提交
  27. 17 8月, 2008 1 次提交
  28. 24 7月, 2008 1 次提交
  29. 23 7月, 2008 1 次提交