acrn-hypervisor/hypervisor/arch/x86/guest
Liu,Junming 2c5c8754de hv:enable GVT-d for pre-launched linux guest in logical partion mode
When pass-thru GPU to pre-launched Linux guest,
need to pass GPU OpRegion to the guest.
Here's the detailed steps:
1. reserve a memory region in ve820 table for GPU OpRegion
2. build EPT mapping for GPU OpRegion to pass-thru OpRegion to guest
3. emulate the pci config register for OpRegion
For the third step, here's detailed description:
The address of OpRegion locates on PCI config space offset 0xFC,
Normal Linux guest won't write this register,
so we can regard this register as read-only.
When guest reads this register, return the emulated value.
When guest writes this register, ignore the operation.

Tracked-On: #6387

Signed-off-by: Liu,Junming <junming.liu@intel.com>
2021-08-19 11:56:26 +08:00
..
assign.c hv: validate input for dmar_free_irte function 2021-06-08 09:03:10 +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: Wrap same code as a static function 2021-06-09 10:07:05 +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: remove xsave dependence 2021-08-10 16:36:15 +08:00
vcpuid.c hv: expose PMC to core partition VM 2021-07-27 14:58:28 +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: Keep privilege bits sync in shadow EPT entry 2021-07-02 09:24:12 +08:00
virq.c HV: rename splitlock file name 2021-07-21 11:25:47 +08:00
virtual_cr.c hv: nested: enable nested virtualization 2021-05-13 16:16:30 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00
vm_reset.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
vm.c hv: tpm2: do tpm2 fixup for security vm 2021-08-11 14:45:55 +08:00
vmcall.c hv: dm: Use new VM management ioctls 2021-07-15 11:53:54 +08:00
vmcs.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmexit.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmsr.c hv: remove xsave dependence 2021-08-10 16:36:15 +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