Hi,
Recently I do a test with edk2 on rhel platform. I resized the gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size value to 1TB for supporting multiple GPUs passthrough which have large bars . But when I started a VM with a virtio nic and booted from the changed OVMF, it seems the VM failed to boot before loading ipxe. The uefi error log is like this: !!!! X64 Exception Type - 0E(#PF - Page-Fault) CPU Apic ID - 00000000 !!!! ExceptionData - 000000000000000B I:0 R:1 U:0 W:1 P:1 PK:0 S:0 RIP - 00000000BE4AD7F7, CS - 0000000000000038, RFLAGS - 0000000000010206 RAX - 0000000000000000, RCX - 0000000000000014, RDX - 0000010000000014 RBX - 00000000BE4BEFE0, RSP - 00000000BFEDE6F8, RBP - 00000000BE4BEFF0 RSI - 00000000BE4BEFF0, RDI - 00000000BE4BEFE0 R8 - 0000000000000000, R9 - 0000000000000000, R10 - 0000000000000000 R11 - 00000000BE4BB900, R12 - 00000000BE4BEFD0, R13 - 0000000000000060 R14 - 0000000000000084, R15 - 0000000000000070 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080010033, CR2 - 0000010000000014, CR3 - 00000000BF6BA000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 00000000BF6A8A98 0000000000000047, LDTR - 0000000000000000 IDTR - 00000000BF29E018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 00000000BFEDE350 !!!! Find image 1af41000.efidrv (ImageBase=00000000BE499000, EntryPoint=00000000BE49F1EB) !!!! But when I decrease the PcdPciMmio64Size to 10 * 32 GB, the VM booted successfully. I'm not familiar with uefi, could you please point out what wrong I have done? Thanks, Zongyong Wu _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel