mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
hv: WA ACRN-6886: Interrupt the target CPU and let it do PI with VMENTRY
Tracked-On: #5866 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
parent
59635fb984
commit
bef6dbc238
@ -521,7 +521,8 @@ static void apicv_advanced_accept_intr(struct acrn_vlapic *vlapic, uint32_t vect
|
|||||||
bitmap_set_lock(ACRN_REQUEST_EVENT, &vcpu->arch.pending_req);
|
bitmap_set_lock(ACRN_REQUEST_EVENT, &vcpu->arch.pending_req);
|
||||||
|
|
||||||
if (get_pcpu_id() != pcpuid_from_vcpu(vcpu)) {
|
if (get_pcpu_id() != pcpuid_from_vcpu(vcpu)) {
|
||||||
apicv_trigger_pi_anv(pcpuid_from_vcpu(vcpu), (uint32_t)vcpu->arch.pid.control.bits.nv);
|
/* WA: Interrupt the target CPU and let it do PI with VMENTRY */
|
||||||
|
vcpu_make_request(vcpu, ACRN_REQUEST_EVENT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user