mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +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
@@ -69,11 +69,13 @@ struct acrn_vuart {
|
||||
extern int8_t vuart_vmid;
|
||||
#endif
|
||||
#ifdef HV_DEBUG
|
||||
#define COM1_IRQ 6U
|
||||
void vuart_init(struct vm *vm);
|
||||
struct acrn_vuart *vuart_console_active(void);
|
||||
void vuart_console_tx_chars(struct acrn_vuart *vu);
|
||||
void vuart_console_rx_chars(struct acrn_vuart *vu);
|
||||
#else
|
||||
#define COM1_IRQ 0xFFU
|
||||
static inline void vuart_init(__unused struct vm *vm)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user