[kvm-unit-tests PATCH v1 2/2] arm/mmu: widen the page size check to account for LPA2
Zenghui Yu
yuzenghui at huawei.com
Tue Jul 2 20:52:05 PDT 2024
Hi Alex,
[ Please don't send patches to the old kvmarm at lists.cs.columbia.edu as
it had been dropped since early 2023. [1] ]
On 2024/7/3 0:35, Alex Bennée wrote:
> If FEAT_LPA2 is enabled there are different valid TGran values
> possible to indicate the granule is supported for 52 bit addressing.
> This will cause most tests to abort on QEMU's -cpu max with the error:
>
> lib/arm/mmu.c:216: assert failed: system_supports_granule(PAGE_SIZE): Unsupported translation granule 4096
>
> Expand the test to tale this into account.
>
> Signed-off-by: Alex Bennée <alex.bennee at linaro.org>
> Cc: Anders Roxell <anders.roxell at linaro.org>
There's a similar patch on the list [2], haven't been merged in master
though.
[1] https://git.kernel.org/torvalds/c/960c3028a1d5
[2]
https://lore.kernel.org/all/20240402132739.201939-6-andrew.jones@linux.dev
More information about the linux-arm-kernel
mailing list