acrn-hypervisor/hypervisor/common
Zheng, Gen a06f2d68dc HV: bug fix in operating softirq
Current code is missing to handle the following race condition:

   Before:

     sti
      |
      V
handle softirq with
a while loop
      |          <----- if a new softirq generated at this point,
      V                 it will be missed to be handled.
     cli
      |
      V
return with unclear softirq bitmap

    After:

again:
     sti
      |
      V
handle softirq with
a while loop
      |
      V
     cli
      |
      V
check if a new softirq generated, if yes,
jump back to above again lable point,
and do a while loop again.
      |
      V
return with clear softirq bitmap

Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-06-14 13:41:12 +08:00
..
hv_main.c HV: bug fix in operating softirq 2018-06-14 13:41:12 +08:00
hypercall.c rename copy_from/to_vm to copy_from/to_gpa 2018-06-11 12:14:43 +08:00
io_request.c fix a bug: UOS could hung after running some time. 2018-06-05 17:28:10 +08:00
schedule.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
stack_protector.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
trusty_hypercall.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vm_load.c hv: set start mode of vcpu 2018-06-01 19:14:13 +08:00