mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
softirq: move softirq from hv_main to interrupt context
softirq shouldn't be bounded to vcpu thread. One issue for this is shell (based on timer) can't work if we don't start any guest. This change also is trying best to make softirq handler running with irq enabled. Also update the irq disable/enabel in vmexit handler to align with the usage in vcpu_thread. Tracked-On: #3387 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -48,6 +48,7 @@ struct per_cpu_region {
|
||||
uint8_t stack[CONFIG_STACK_SIZE] __aligned(16);
|
||||
uint32_t lapic_id;
|
||||
uint32_t lapic_ldr;
|
||||
uint32_t softirq_servicing;
|
||||
struct smp_call_info_data smp_call_info;
|
||||
#ifdef PROFILING_ON
|
||||
struct profiling_info_wrapper profiling_info;
|
||||
|
Reference in New Issue
Block a user