Message ID | 20200901133357.52640-1-alexandru.elisei@arm.com (mailing list archive) |
---|---|
Headers | show |
Series | KVM: arm64: user_mem_abort() improvements | expand |
On Tue, 1 Sep 2020 14:33:55 +0100, Alexandru Elisei wrote: > The first patch is a fix for a bug that I found by code inspection. > > The second patch is an enhancement for the way user_mem_abort() handles > hugetlbfs backed VM memory. > > Tested on a rockpro64 with 4K pages and hugetlbfs hugepagesz=1G (PUD sized > block mappings). First test, guest RAM starts at 0x8100 0000 > (memslot->base_gfn not aligned to 1GB); second test, guest RAM starts at > 0x8000 0000, but is only 512 MB. In both cases using PUD mappings is not > possible because either the memslot base address is not aligned, or the > mapping would extend beyond the memslot. > > [...] Applied to next, thanks! [1/2] KVM: arm64: Update page shift if stage 2 block mapping not supported commit: 7b75cd5128421c673153efb1236705696a1a9812 Cheers, M.