mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 20:29:40 +00:00
vuart: change irq from 4 to 6
irq 4 is sharing with idma, after change vuart to level trigger, the idma driver could handle this irq 4 and send out EOI, which cause the irq storm. move vuart irq to a not used 6. Tracked-On: https://github.com/projectacrn/acrn-hypervisor/issues/1476 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
committed by
Xie, Nanlin
parent
6485666a93
commit
1c7d2f653a
@@ -45,8 +45,8 @@ is_entry_active(struct ptdev_remapping_info *entry)
|
||||
|
||||
static bool ptdev_hv_owned_intx(struct vm *vm, union source_id *virt_sid)
|
||||
{
|
||||
/* vm0 pin 4 (uart) is owned by hypervisor under debug version */
|
||||
if (is_vm0(vm) && (virt_sid->intx_id.pin == 4U)) {
|
||||
/* vm0 vuart pin is owned by hypervisor under debug version */
|
||||
if (is_vm0(vm) && (virt_sid->intx_id.pin == COM1_IRQ)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user