acrn-hypervisor/hypervisor/arch/x86
Li Fei1 bb06f6f9bb hv: vpci: restore PCI BARs when doing PCIe FLR
ACRN hypervisor should trap guest doing PCIe FLR. Besides, it should save some states
before doing the FLR and restore them later, only BARs values for now.
This patch will trap guest Device Capabilities Register write operation if the device
supports PCI Express Capability and check whether it wants to do device FLR. If it does,
call pdev_do_flr to do the job.

Tracked-On: #3465
Signed-off-by: Li Fei1 <fei1.li@intel.com>
2019-12-20 13:09:42 +08:00
..
boot hv: Let trampoline execution use 1GB pages 2019-10-28 13:44:32 +08:00
configs HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM 2019-12-12 13:49:28 +08:00
guest hv: hotfix for xsave 2019-12-19 15:25:12 +08:00
lib hv: move 3 files to lib & arch folder 2019-06-14 14:22:51 +08:00
seed hv: fixed by replace ull to ul. 2019-10-31 09:02:59 +08:00
cat.c HV: fix misra violation on platform clos array 2019-11-08 16:40:14 +08:00
cpu_caps.c hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
cpu_state_tbl.c HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
cpu.c HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM 2019-12-12 13:49:28 +08:00
e820.c hv:panic if there is no memory map in multiboot info 2019-11-26 16:16:23 +08:00
gdt.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
idt.S HV: Install a NMI handler in acrn IDT 2019-12-13 10:13:09 +08:00
init.c hv: sched: decouple idle stuff from schedule module 2019-10-23 12:47:08 +08:00
ioapic.c HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
irq.c HV: Use NMI-window exiting to address req missing issue 2019-12-16 16:54:30 +08:00
Kconfig HV: kconfig: add range check for memory setting 2019-12-16 15:14:55 +08:00
lapic.c HV: Remove INIT signal notification related code 2019-12-16 16:54:30 +08:00
mmu.c hv:refine 'uint64_t' string print format in comm moudle 2019-11-09 11:42:38 +08:00
notify.c HV: Don't make NMI injection req when notifying vCPU 2019-12-16 16:54:30 +08:00
page.c hv: ept: build 4KB page mapping in EPT for RTVM for MCE on PSC 2019-12-03 09:17:04 +08:00
pagetable.c hv: ept: build 4KB page mapping in EPT for RTVM for MCE on PSC 2019-12-03 09:17:04 +08:00
pm.c hv: save/restore TSC in host's suspend/resume path 2019-09-19 13:50:50 +08:00
sched.S hv: sched: rename schedule related structs and vars 2019-10-16 10:25:53 +08:00
security.c hv: config: add an option to disable mce on psc workaround 2019-12-03 09:17:04 +08:00
sgx.c hv: sgx: add basic support to init sgx resource for vm 2019-05-29 11:24:13 +08:00
timer.c hv: vpci: restore PCI BARs when doing PCIe FLR 2019-12-20 13:09:42 +08:00
trampoline.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vmx.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
vtd.c hv: vtd: fix improper use of DMAR_GCMD_REG 2019-12-12 09:11:04 +08:00
wakeup.S hv: pm: correct the function name 2019-09-11 17:30:24 +08:00