#
0bc4cf78 |
| 10-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm,8250: Fix ->counter clearing
We need to reset the counter to zero before we inject an interrupt to the guest.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
133bedc1 |
| 10-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm,8250: Fix "too much work for irq4" problems
This patch fixes the "too much work for irq4" problems caused by the fact that we never set the UART_IIR_NO_INT flag in the emulation layer. This make
kvm,8250: Fix "too much work for irq4" problems
This patch fixes the "too much work for irq4" problems caused by the fact that we never set the UART_IIR_NO_INT flag in the emulation layer. This makes the interrupt handler in the guest kernel process as much as possible which triggers a warning.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
e62c18de |
| 10-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm,8250: Make ttyS1 and ttyS2 disabled
This patch fixes the 8250 serial emulation to not have undefined ioports but rather make them explicitly disabled.
Signed-off-by: Pekka Enberg <penberg@kerne
kvm,8250: Make ttyS1 and ttyS2 disabled
This patch fixes the 8250 serial emulation to not have undefined ioports but rather make them explicitly disabled.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
c6a69c61 |
| 10-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Support for more than one serial ttys
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
934c193b |
| 10-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Improve 8250 serial console interrupt handling
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
6d620acb |
| 10-Jan-2011 |
Cyrill Gorcunov <gorcunov@gmail.com> |
8250-serial: Make transmitter being always ready to send data
Otherwise it causes kernel to do additional timeout waiting for THR being empty.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
#
4e49b05b |
| 10-Jan-2011 |
Cyrill Gorcunov <gorcunov@gmail.com> |
8250-serial: Use linux/serial-reg.h with predefined constants
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
#
6d54df74 |
| 09-Jan-2011 |
Cyrill Gorcunov <gorcunov@gmail.com> |
8250-serial: Simplify is_readable function
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
#
76b4a122 |
| 09-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm,8250: Implement serial input support
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
e557eef9 |
| 09-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm,8250: Inject interrupts to guest
This patch fixes 8250 emulation to inject interrupts to guest so we actually see what's sent to the serial console.
Signed-off-by: Pekka Enberg <penberg@kernel.
kvm,8250: Inject interrupts to guest
This patch fixes 8250 emulation to inject interrupts to guest so we actually see what's sent to the serial console.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
899fe063 |
| 09-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Rename early_printk.c to 8250-serial.c
The 8250 emulation is no longer there to just support early_printk() so rename the source file to reflect that.
Signed-off-by: Pekka Enberg <penberg@kern
kvm: Rename early_printk.c to 8250-serial.c
The 8250 emulation is no longer there to just support early_printk() so rename the source file to reflect that.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
8bb34e0d |
| 08-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Implement support interrupt injection
This patch implement support for injecting interrupts from the userspace hypervisor to the guest.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
900d32c1 |
| 08-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm,serial: Enable THRI bit in IIR register
This patch enables the THRI ("transmission holding register empty") bit in the IIR register to make sure the guest doesn't think we have data waiting for
kvm,serial: Enable THRI bit in IIR register
This patch enables the THRI ("transmission holding register empty") bit in the IIR register to make sure the guest doesn't think we have data waiting for it.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
9a7428dd |
| 08-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Fix magic numbers in 8250 support
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
46aa8d69 |
| 08-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Improve 8250 serial console support
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
b7475544 |
| 08-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Redirect serial console to stdout, not stderr
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
a93ec68b |
| 08-Jan-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm: Support MSR register for serial console
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
3e553514 |
| 15-Aug-2010 |
Pekka Enberg <penberg@kernel.org> |
kvm: Add port range to ioport__register()
This patch adds a 'count' argument to ioport__register() to allow callers to register a range of ioports.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
25af6674 |
| 31-Jul-2010 |
Pekka Enberg <penberg@cs.helsinki.fi> |
kvm: Add some more ioport emulation
This patch adds some more ioport emulation code so that I can boot a Linux kernel cleanly with "--ioport-debug" command line option enabled.
Signed-off-by: Pekka
kvm: Add some more ioport emulation
This patch adds some more ioport emulation code so that I can boot a Linux kernel cleanly with "--ioport-debug" command line option enabled.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
show more ...
|
#
f2d8dc88 |
| 30-May-2010 |
Cyrill Gorcunov <gorcunov@gmail.com> |
early_printk: Simplify the code
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
#
5b9d0b58 |
| 28-May-2010 |
Asias He <asias.hejun@gmail.com> |
early_printk.c: add rep/outsb support
Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
#
d7c0e6ca |
| 24-Apr-2010 |
Pekka Enberg <penberg@cs.helsinki.fi> |
kvm: Flush stdout for early printk
Make sure we flush stdout for early printk so that we can see what's really going on when a kernel gets stuck.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
|
#
3f55f3ac |
| 11-Apr-2010 |
Pekka Enberg <penberg@cs.helsinki.fi> |
kvm: Clean up early serial code
Use similar constants and variable names as in arch/x86/kernel/early_printk.c in the Linux kernel.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
|
#
13a7760f |
| 11-Apr-2010 |
Pekka Enberg <penberg@cs.helsinki.fi> |
kvm: Add support for early serial printk
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
|