On 11/21/15 10:44, Ard Biesheuvel wrote:
> Hello all,
> 
> After Drew pointed out that mach-virt now populates the memory region beyond
> DRAM, I am proposing this approach instead. Since KVM limits its IPA space to
> 40 bits, there is simply no point in supporting anything beyond that for
> ArmVirtQemu.
> 
> I am cc'ing the Xen guys since they may run into similar issues on ThunderX, 
> or
> any other hardware whose support PA space is so large. Their platform does not
> use ArmVirtPkg/ArmVirtPlatformLib though, so a similar change may be necssary 
> on
> the Xen end.
> 
> Ard Biesheuvel (2):
>   ArmVirtPkg/ArmVirtPlatformLib: reduce ID map size to GCD region size
>   ArmVirtPkg/ArmVirtQemu: limit the (I)PA space to 40 bits
> 
>  ArmVirtPkg/ArmVirtQemu.dsc                                   | 4 ++++
>  ArmVirtPkg/Library/ArmVirtPlatformLib/ArmVirtPlatformLib.inf | 1 +
>  ArmVirtPkg/Library/ArmVirtPlatformLib/VirtMem.c              | 4 +++-
>  3 files changed, 8 insertions(+), 1 deletion(-)
> 

Thanks for doing this. I have some random thoughts and questions.

(1) Wei, can you please test this on the ThunderX?

(cont'd under the patches)
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to