Files
acrn-hypervisor/hypervisor/arch/x86
Victor Sun 46ed0b1582 HV: correct apic lvt reset value
Per SDM 10.4.7.1 vol3, the LVT register should be reset to 0s except for the
mask bits are set to 1s.

In current code, the lvt_last[] has been set to correct value(i.e. 0x10000) in
vlapic_reset() before enforce setting vlapic->lvt_last[i] to 0U, add the loop
that set vlapic->lvt_last[i] to 0 would lead to get zero when read LVT regs
after reset, which is incompiant with SDM;

Tracked-On: #4266
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-12-27 12:27:08 +08:00
..
2019-12-23 15:15:09 +08:00
2019-12-27 12:27:08 +08:00
2019-06-14 14:22:51 +08:00
2019-10-31 09:02:59 +08:00
2019-12-02 09:31:12 +08:00
2019-02-22 13:14:36 +08:00
2019-12-13 10:13:09 +08:00
2019-09-11 17:30:24 +08:00