mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: vlapic: add TPR below threshold implement
Add TPR below threshold implement for "Virtual-interrupt delivery" not support. Windows will use it to delay interrupt handle. Complete all the interrupts in IRR as long as they are higher priority than current TPR. Once current IRR priority is less than current TPR enable TPR threshold to IRR, so that if guest reduces the TPR threshold, it would be good to take below TPR threshold exit and let interrupts to go thru. Tracked-On: #1842 Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -234,7 +234,8 @@ void vlapic_apicv_inject_pir(struct acrn_vlapic *vlapic);
|
||||
int32_t apic_access_vmexit_handler(struct acrn_vcpu *vcpu);
|
||||
int32_t apic_write_vmexit_handler(struct acrn_vcpu *vcpu);
|
||||
int32_t veoi_vmexit_handler(struct acrn_vcpu *vcpu);
|
||||
int32_t tpr_below_threshold_vmexit_handler(__unused struct acrn_vcpu *vcpu);
|
||||
void vlapic_update_tpr_threshold(const struct acrn_vlapic *vlapic);
|
||||
int32_t tpr_below_threshold_vmexit_handler(struct acrn_vcpu *vcpu);
|
||||
void vlapic_calc_dest(struct acrn_vm *vm, uint64_t *dmask, uint32_t dest, bool phys, bool lowprio);
|
||||
void vlapic_calc_dest_lapic_pt(struct acrn_vm *vm, uint64_t *dmask, uint32_t dest, bool phys);
|
||||
|
||||
|
Reference in New Issue
Block a user