acrn-hypervisor/hypervisor/dm
Conghui Chen a090d03780 HV: vuart: support MSR and MCR
In Linux 8250 driver, it has different flags for UART ports. For COM1,
COM2 and COM3, UPF_SKIP_TEST is set, which is used to skip the loopback
test for the port. But for COM4, UPF_SKIP_TEST is not set, so when
probing COM4, the driver will access MCR and MSR registers to make sure
the port is exsit. So, add support for MSR and MCR.
Default ports info:
    COM1, ttyS0, 0x3F8
    COM2, ttyS1, 0x2F8
    COM3, ttyS2, 0x3E8
    COM4, ttyS3, 0x2E8

Tracked-On: #2987
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-04-29 15:25:39 +08:00
..
vpci hv:change register_mmio_emulation_handler to void 2019-04-19 09:02:15 +08:00
io_req.c hv: Rename NORMAL_VM to POST_LAUNCHED_VM 2019-04-29 09:19:51 +08:00
vioapic.c hv:change register_mmio_emulation_handler to void 2019-04-19 09:02:15 +08:00
vmptable.c hv: Build mptable for guest if VM type is Pre-Launched 2019-04-15 15:51:02 +08:00
vpic.c hv: remove the unnecessary equality operation 2019-04-02 18:18:59 +08:00
vrtc.c HV: HV: make io_read_fn_t return true or false 2019-03-29 16:17:44 +08:00
vuart.c HV: vuart: support MSR and MCR 2019-04-29 15:25:39 +08:00