From 3dadb62d0f4881a6762ba4adb191da802ca662c9 Mon Sep 17 00:00:00 2001 From: Minggui Cao Date: Wed, 12 Dec 2018 18:47:46 +0800 Subject: [PATCH] HV: fix bug change default vuart IRQ for UP2 board now UP2 board use ttyS1 as debug uart in HV, and vuart ttyS0 in SOS kernel (acrn.conf default configure), its default IRQ is 4, but SOS kernel will also assign IRQ4 to its ttyS1, they're sharing one IRQ, and it can cause SOS boot hung issue, for HV not support sharing IRQ now. some boards use ttyS0 as debug uart, it has not this issue; for that board, SOS will assign IRQ5 to its ttyS1, no sharing IRQ. change it to IRQ6 to avoid the issue. Tracked-On: #2030 Signed-off-by: Minggui Cao Acked-by: Anthony Xu --- hypervisor/arch/x86/configs/up2.config | 1 + 1 file changed, 1 insertion(+) diff --git a/hypervisor/arch/x86/configs/up2.config b/hypervisor/arch/x86/configs/up2.config index f0506f9f9..ee8a25c63 100644 --- a/hypervisor/arch/x86/configs/up2.config +++ b/hypervisor/arch/x86/configs/up2.config @@ -2,3 +2,4 @@ CONFIG_BOARD="UP2" CONFIG_SERIAL_PCI=y CONFIG_SERIAL_PCI_BDF=0x00C1 +CONFIG_COM_IRQ=6