mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-12 07:57:53 +00:00
replace spinlock_obtain/spinlock_release with spinlock_irqsave_obtain and spinlock_irqrestore_release to avoid dead lock for vpic module. this vpic lock may be accessed in ISR context like this path: dispatch_interrupt->do_softirq->softirq_handlers ->ptirq_softirq->ptirq_handle_intx->vpic_set_irqline Tracked-On: #4958 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>