acrn-hypervisor/hypervisor/arch/x86/guest
Zide Chen 94cbe909ee hv: irq: identical vector mapping if LAPIC passthough
In local APIC passthrough case, when devices triggered a INTx interrupt, this
interrupt would be delivered to vCPU directly. For this case, need to set the
virtual vector in
the 'Interrupt Vector' field of physical IOxAPIC I/O REDIRECTION TABLE REGISTER
(bits 7:0) and 'Vector' field of vt-d Interrupt Remapping Table Entry (IRTE)
for Remapped Interrupts.

Assumption:
(a) IOAPIC pins won't be shared between LAPIC PT guest and other guests;
(b) The guest would not trigger this IRQ before it switched to x2 APIC mode.

Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com>
2021-09-18 09:42:44 +08:00
..
assign.c hv: irq: identical vector mapping if LAPIC passthough 2021-09-18 09:42:44 +08:00
ept.c hv: Use 64 bits definition for 64 bits MSR_IA32_VMX_EPT_VPID_CAP operation 2021-07-02 09:24:12 +08:00
guest_memory.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
hyperv.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
instr_emul.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00
lock_instr_emul.c HV: rename splitlock file name 2021-07-21 11:25:47 +08:00
nested.c hv: nested: move the VMCS12 dirty flags to struct acrn_vvmcs 2021-09-17 10:58:43 +08:00
pm.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
trusty.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
ucode.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vcpu.c hv: nested: flush L2 VPID only when it could conflict with L1 VPIDs 2021-09-16 09:26:10 +08:00
vcpuid.c hv: mask off LA57 in cpuid 2021-08-20 11:02:21 +08:00
ve820.c hv:enable GVT-d for pre-launched linux guest in logical partion mode 2021-08-19 11:56:26 +08:00
vept.c hv: nested: initial implementation of struct acrn_vvmcs 2021-09-17 10:58:43 +08:00
virq.c hv: check bitmap before calling bitmap_test_and_clear_lock() 2021-09-02 16:09:33 +08:00
virtual_cr.c hv: nested: enable nested virtualization 2021-05-13 16:16:30 +08:00
vlapic.c hv: simplify is_lapic_pt_enabled() 2021-08-26 09:52:10 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vm.c hv: quirks: SMBIOS passthrough for prelaunched-VM 2021-08-26 09:24:50 +08:00
vm_reset.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
vmcall.c hv: dm: Use new VM management ioctls 2021-07-15 11:53:54 +08:00
vmcs.c hv: Pass-through IA32_TSC_AUX MSR to L1 guest 2021-08-26 09:25:54 +08:00
vmexit.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmsr.c hv: Pass-through IA32_TSC_AUX MSR to L1 guest 2021-08-26 09:25:54 +08:00
vmtrr.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmx_asm.S hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmx_io.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00