acrn-hypervisor/hypervisor/arch/x86/guest
Li Fei1 a2fd8c5a9d pci: mcfg: limit device bus numbers which could access by ECAM
Per PCI Firmware Specification Revision 3.0, 4.1.2. MCFG Table Description:
Memory Mapped Enhanced Configuration Space Base Address Allocation Structure
assign the Start Bus Number and the End Bus Number which could decoded by the
Host Bridge. We should not access the PCI device which bus number outside of
the range of [Start Bus Number, End Bus Number).
For ACRN,  we should:
1. Don't detect PCI device which bus number outside the range of
[Start Bus Number, End Bus Number) of MCFG ACPI Table.
2. Only trap the ECAM MMIO size: [MMCFG_BASE_ADDRESS, MMCFG_BASE_ADDRESS +
(End Bus Number - Start Bus Number + 1) * 0x100000) for SOS.

Tracked-On: #5233

Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-09-09 09:31:56 +08:00
..
assign.c hv: add INTx mapping for pre-launched VMs 2020-09-07 14:52:02 +08:00
ept.c hv: ept: wrap a function to do guest ept flush 2020-06-22 16:25:03 +08:00
guest_memory.c gpa2hva: add INVAVLID_HPA return value check 2020-05-06 11:29:30 +08:00
hyperv.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
instr_emul.c hv: instr_emul: use cs segment when fetching instructions 2019-11-11 13:55:24 +08:00
pm.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
trusty.c hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
ucode.c remove spin lock for micro code update 2020-06-19 16:13:20 +08:00
vcpu.c hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
vcpuid.c hv: Hide CET feature from guest VM 2020-07-23 20:15:57 +08:00
ve820.c HV: add e820 ACPI entry for pre-launched VM 2020-09-08 19:52:25 +08:00
virq.c hv: pause all other vCPUs in same VM when do wbinvd emulation 2020-05-21 15:21:29 +08:00
virtual_cr.c hv: Hide CET feature from guest VM 2020-07-23 20:15:57 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
vm_reset.c hv:add per-vm lock for vm & vcpu state change 2020-07-20 11:22:17 +08:00
vm.c pci: mcfg: limit device bus numbers which could access by ECAM 2020-09-09 09:31:56 +08:00
vmcall.c hv: add new hypercalls to create and destroy an emulated device in hypervisor 2020-08-28 16:53:12 +08:00
vmcs.c hv: remove unnecessary debug symbols 2020-06-18 14:05:56 +08:00
vmexit.c hv: pause all other vCPUs in same VM when do wbinvd emulation 2020-05-21 15:21:29 +08:00
vmsr.c hv:cpu-caps:refine is_apl_platform func and clean up duplicated code 2020-08-14 10:08:50 +08:00
vmtrr.c hv: vmtrr: remove vcpu structure pointer from vmtrr 2020-03-31 10:57:47 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c hv: rename BOOT_CPU_ID to BSP_CPU_ID 2020-02-25 09:08:14 +08:00