acrn-hypervisor/hypervisor/arch/x86/guest
Peter Fang caab595ed4 hv: vlapic: properly initialize DCR
DCR is initialized to 0 which means divisor shift is 1. Currently, both
are initialized to 0 which result in incorrect APIC timer counts if the
vLAPIC's DCR is never programmed.

This bug was exposed by OVMF because OVMF does not program DCR during
LAPIC initialization.

Tracked-On: #2543
Signed-off-by: Peter Fang <peter.fang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-02-19 09:43:55 +08:00
..
assign.c HV: Modularize vtd.c to remove acrn_vm usage 2019-02-06 08:53:46 +08:00
ept.c HV: Remove snoopy_mem from iommu 2019-02-14 10:16:21 +08:00
guest_memory.c hv: refine guest.c 2019-02-01 16:30:55 +08:00
instr_emul.c HV: modularization cleanup instr_emul header file 2019-01-22 10:50:30 +08:00
io_emul.c hv:move some files to guest folder 2019-01-30 20:43:04 +08:00
pm.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00
trusty.c hv:move some files to guest folder 2019-01-30 20:43:04 +08:00
ucode.c hv: refine coding style for ucode.c 2018-12-19 09:44:42 +08:00
vcpu.c hv:cleanup header file for vcpu.c & vcpu.h 2019-02-03 13:50:42 +08:00
vcpuid.c hv: extend lapic pass-through for DM launched VM 2019-01-28 19:47:33 +08:00
virq.c hv: vlapic: make vlapic deliver interrupt related functions more readable 2019-02-02 09:31:49 +08:00
virtual_cr.c HV: Modularize vtd.c to remove acrn_vm usage 2019-02-06 08:53:46 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: vlapic: properly initialize DCR 2019-02-19 09:43:55 +08:00
vm.c HV: Remove snoopy_mem from iommu 2019-02-14 10:16:21 +08:00
vmcall.c hv: vmcall: hv should not change guest RAX vmcall is undefined 2019-02-18 11:56:42 +08:00
vmcs.c HV: fix address type violation for MSR_LOAD/STORE 2019-01-31 22:23:41 +08:00
vmexit.c HV: Modularize vtd.c to remove acrn_vm usage 2019-02-06 08:53:46 +08:00
vmsr.c hv: extend lapic pass-through for DM launched VM 2019-01-28 19:47:33 +08:00
vmtrr.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00