1. 22 5月, 2009 2 次提交
    • J
      serial: fix lost character after sysrq · 40ff1624
      Jason Wessel 提交于
      After creating an automated regression test to test the sysrq
      responses while running a linux image in qemu, I found that the
      simulated uart was eating the character right after the sysrq about
      75% of the time.
      
      The problem is that the qemu sets the LSR_DR (data ready) bit on a
      serial break.  The automated tests can send a break and the sysrq
      character quickly enough that the qemu serial fifo has a real
      character available. When there is valid character in the fifo, it
      gets consumed by the serial driver in the guest OS.
      
      The real hardware also appears to set the LSR_DR but always appears to
      have a null byte in this condition.  This patch changes the qemu
      behavior to match the tested characteristics of a real 16550 chip.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      40ff1624
    • J
      Introduce reset notifier order · 8217606e
      Jan Kiszka 提交于
      Add the parameter 'order' to qemu_register_reset and sort callbacks on
      registration. On system reset, callbacks with lower order will be
      invoked before those with higher order. Update all existing users to the
      standard order 0.
      
      Note: At least for x86, the existing users seem to assume that handlers
      are called in their registration order. Therefore, the patch preserves
      this property. If someone feels bored, (s)he could try to identify this
      dependency and express it properly on callback registration.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8217606e
  2. 06 2月, 2009 1 次提交
  3. 18 1月, 2009 1 次提交
  4. 02 12月, 2008 1 次提交
  5. 20 9月, 2008 1 次提交
  6. 17 9月, 2008 1 次提交
    • B
      16550A UART: RHR irq enable bit also masks the Rx timeout irq. · 5628a626
      balrog 提交于
      The "Rx timeout" (aka. Character Timeout Indication) has no separate mask
      bit in the IER register and according to the specs reading RHR is the only
      way to reset the irq.  However on the hardware (tested on OMAP2 UART which
      is an extended 16550A) the RHR_IT bit in IER disables the irc, too.  Linux
      bluetooth serial dongle driver for N800 depends on this behavior.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5239 c046a42c-6fe2-441c-8c8c-71466251a162
      5628a626
  7. 12 8月, 2008 1 次提交
  8. 11 8月, 2008 1 次提交
  9. 05 5月, 2008 2 次提交
  10. 10 2月, 2008 1 次提交
  11. 25 11月, 2007 1 次提交
  12. 18 11月, 2007 1 次提交
  13. 17 9月, 2007 2 次提交
  14. 09 6月, 2007 1 次提交
  15. 07 6月, 2007 1 次提交
  16. 08 4月, 2007 1 次提交
  17. 01 4月, 2007 1 次提交
  18. 28 1月, 2007 1 次提交
  19. 27 8月, 2006 1 次提交
  20. 13 4月, 2006 1 次提交
  21. 24 11月, 2005 1 次提交
  22. 11 11月, 2005 1 次提交
  23. 09 11月, 2005 1 次提交
  24. 06 11月, 2005 1 次提交
  25. 25 8月, 2004 1 次提交
  26. 15 7月, 2004 1 次提交
  27. 08 4月, 2004 1 次提交
  28. 01 4月, 2004 2 次提交
  29. 15 3月, 2004 1 次提交
  30. 14 3月, 2004 1 次提交