1. 13 6月, 2012 1 次提交
  2. 22 5月, 2012 1 次提交
  3. 25 3月, 2012 14 次提交
  4. 02 11月, 2011 1 次提交
  5. 15 9月, 2011 3 次提交
  6. 26 7月, 2011 1 次提交
  7. 23 3月, 2011 1 次提交
  8. 14 1月, 2011 1 次提交
  9. 25 11月, 2010 1 次提交
    • W
      uml: disable winch irq before freeing handler data · 69e83dad
      Will Newton 提交于
      Disable the winch irq early to make sure we don't take an interrupt part
      way through the freeing of the handler data, resulting in a crash on
      shutdown:
      
        winch_interrupt : read failed, errno = 9
        fd 13 is losing SIGWINCH support
        ------------[ cut here ]------------
        WARNING: at lib/list_debug.c:48 list_del+0xc6/0x100()
        list_del corruption, next is LIST_POISON1 (00100100)
        082578c8:  [<081fd77f>] dump_stack+0x22/0x24
        082578e0:  [<0807a18a>] warn_slowpath_common+0x5a/0x80
        08257908:  [<0807a23e>] warn_slowpath_fmt+0x2e/0x30
        08257920:  [<08172196>] list_del+0xc6/0x100
        08257940:  [<08060244>] free_winch+0x14/0x80
        08257958:  [<080606fb>] winch_interrupt+0xdb/0xe0
        08257978:  [<080a65b5>] handle_IRQ_event+0x35/0xe0
        08257998:  [<080a8717>] handle_edge_irq+0xb7/0x170
        082579bc:  [<08059bc4>] do_IRQ+0x34/0x50
        082579d4:  [<08059e1b>] sigio_handler+0x5b/0x80
        082579ec:  [<0806a374>] sig_handler_common+0x44/0xb0
        08257a68:  [<0806a538>] sig_handler+0x38/0x50
        08257a78:  [<0806a77c>] handle_signal+0x5c/0xa0
        08257a9c:  [<0806be28>] hard_handler+0x18/0x20
        08257aac:  [<00c14400>] 0xc14400
      Signed-off-by: NWill Newton <will.newton@gmail.com>
      Acked-by: NWANG Cong <xiyou.wangcong@gmail.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      69e83dad
  10. 20 4月, 2010 1 次提交
  11. 19 4月, 2010 1 次提交
  12. 07 3月, 2010 1 次提交
  13. 12 10月, 2009 1 次提交
  14. 14 10月, 2008 1 次提交
  15. 31 7月, 2008 1 次提交
  16. 09 5月, 2008 1 次提交
  17. 28 4月, 2008 1 次提交
  18. 06 2月, 2008 3 次提交
  19. 20 10月, 2007 1 次提交
  20. 17 10月, 2007 2 次提交
    • J
      uml: console tidying · 2f8a2dc2
      Jeff Dike 提交于
      Tidy line.c:
      	The includes are more minimal
      	Lots of style fixes
      	All the printks have severities
      	Removed some commented-out code
      	Deleted a useless printk when ioctl is called
      	Fixed some whitespace damage
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2f8a2dc2
    • J
      uml: fix console writing bugs · c59dbcad
      Jeff Dike 提交于
      The previous console cleanup patch switched generic_read and generic_write
      from calling os_{read,write}_file to calling read and write directly.  Because
      the calling convention is different, they now need to get any error from errno
      rather than the return value.  I did this for generic_read, but forgot about
      generic_write.
      
      While chasing some output corruption, I noticed that line_write was
      unnecessarily calling flush_buffer, and deleted it.  I don't understand why,
      but the corruption disappeared.  This is unneeded because there already is a
      perfectly good mechanism for finding out when the host output device has some
      room to write data - there is an interrupt that comes in when writes can
      happen again.  line_write calling flush_buffer seemed to just be an attempt to
      opportunistically get some data out to the host.
      
      I also made write_chan short-circuit calling into the host-level code for
      zero-length writes.  Calling libc write with a length of zero conflated write
      not being able to write anything with asking it not to write anything.  Better
      to just cut it off as soon as possible.
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c59dbcad
  21. 17 7月, 2007 2 次提交
    • J
      uml: SIGIO support cleanup · 42a359e3
      Jeff Dike 提交于
      Cleanup of the SIGWINCH support.
      
      Some code and comment reformatting.
      
      The stack used for SIGWINCH threads was leaked.  This is now fixed by storing
      it with the pid and other information, and freeing it when the thread is
      killed.
      
      If something goes wrong with a WIGWINCH thread, and this is discovered in the
      interrupt handler, the winch record would leak.  It is now freed, except that
      the IRQ isn't freed.  This is hard to do from interrupt context.  This has the
      side-effect that the IRQ system maintains a reference to the freed structure,
      but that shouldn't cause a problem since the descriptor is disabled.
      
      register_winch_irq is now much better about cleaning up after an
      initialization failure.
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      42a359e3
    • J
      uml: handle errors on opening host side of consoles · d14ad81f
      Jeff Dike 提交于
      If the host side of a console can't be opened, this will now produce visible
      error messages.
      
      enable_chan now returns a status and this is passed up to con_open and
      ssl_open, which will complain if anything went wrong.
      
      The default host device for the serial line driver is now a pts device rather
      than a pty device since lots of hosts have LEGACY_PTYS disabled.  This had
      always been failing on such hosts, but silently.
      Signed-off-by: NJeff Dike <jdike@linux.intel.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d14ad81f