From c8ae79b332fe74de909112b96eaa60a6a0dbd927 Mon Sep 17 00:00:00 2001 From: Tao Yuhong Date: Tue, 25 May 2021 06:44:46 -0400 Subject: [PATCH] DM: change 32-bit mmio limit to 3.5G the VM 32-bit mmio window is 2G~3.5G Tracked-On: #6011 Signed-off-by: Tao Yuhong --- devicemodel/include/pci_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicemodel/include/pci_core.h b/devicemodel/include/pci_core.h index cd7df1cde..c61895757 100644 --- a/devicemodel/include/pci_core.h +++ b/devicemodel/include/pci_core.h @@ -41,7 +41,7 @@ #define PCI_BDF(b, d, f) (((b & 0xFF) << 8) | ((d & 0x1F) << 3) | ((f & 0x7))) #define PCI_EMUL_MEMBASE32 0x80000000UL /* 2GB */ -#define PCI_EMUL_MEMLIMIT32 0xC0000000UL /* 3GB */ +#define PCI_EMUL_MEMLIMIT32 0xE0000000UL /* 3.5GB */ #define PCI_EMUL_ECFG_BASE 0xE0000000UL /* 3.5GB */