Re: [PATCH] hw/loongarch/virt: Align high memory base address with super page size

2023-12-20 Thread gaosong
在 2023/11/27 下午12:02, Bibo Mao 写道: With LoongArch virt machine, there is low memory space with region 0--0x1000, and high memory space with started from 0x9000. High memory space is aligned with 256M, it will be better if it is aligned with 1G, which is super page aligned for 4K page

[PATCH] hw/loongarch/virt: Align high memory base address with super page size

2023-11-26 Thread Bibo Mao
With LoongArch virt machine, there is low memory space with region 0--0x1000, and high memory space with started from 0x9000. High memory space is aligned with 256M, it will be better if it is aligned with 1G, which is super page aligned for 4K page size. Currently linux kernel and uefi