dm: Change the PCI_EMUL_MEMBASE64 to workable address.
To enable GPU passthru, BAR2 allocation had problems when the allocation is above the 4GB memory.This change is to accomodate the 256MB aperture allocation in BAR2 to a more managable address. v2: changed the MEMBASE64 address instead of increasing the mem_size. Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com> Reviewed-by: Gong Zhipeng <zhipeng.gong@intel.com>
This commit is contained in:
parent
a69a36960a
commit
9d4cc5c11d
|
@ -96,8 +96,8 @@ SYSRES_MEM(PCI_EMUL_ECFG_BASE, PCI_EMUL_ECFG_SIZE);
|
||||||
|
|
||||||
#define PCI_EMUL_MEMLIMIT32 PCI_EMUL_ECFG_BASE
|
#define PCI_EMUL_MEMLIMIT32 PCI_EMUL_ECFG_BASE
|
||||||
|
|
||||||
#define PCI_EMUL_MEMBASE64 0xD000000000UL
|
#define PCI_EMUL_MEMBASE64 0x7000000000UL
|
||||||
#define PCI_EMUL_MEMLIMIT64 0xFD00000000UL
|
#define PCI_EMUL_MEMLIMIT64 0x8D00000000UL
|
||||||
|
|
||||||
static struct pci_vdev_ops *pci_emul_finddev(char *name);
|
static struct pci_vdev_ops *pci_emul_finddev(char *name);
|
||||||
static void pci_lintr_route(struct pci_vdev *dev);
|
static void pci_lintr_route(struct pci_vdev *dev);
|
||||||
|
|
Loading…
Reference in New Issue