mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-01 22:06:10 +00:00
In current code, the timer_list for per cpu can be accessed both in vmexit and softirq handler. There is a case that, the timer_list is modifying in vmexit, but an interrupt occur, the timer_list is also modified in softirq handler. So the time_list may in unpredictable state. In some platforms, the hv console may hang as its timer handler is not invoked because of the corruption for timer_list. So, to fix the issue, disable the interrupt before modifying the timer_list. Tracked-On: #3512 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com>
7.8 KiB
7.8 KiB