[kvm-unit-tests PATCH v1 2/2] arm/mmu: widen the page size check to account for LPA2
Andrew Jones
andrew.jones at linux.dev
Wed Jul 3 06:34:27 PDT 2024
On Wed, Jul 03, 2024 at 11:52:05AM GMT, Zenghui Yu wrote:
> 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.
Drat, I queued that, and several other patches, and then, for whatever
reason, I delayed the merge (I was probably just waiting for the gitlab
pipeline to finish...) and then forgot to actually merge... I've merged
now.
Please don't hesitate to ping me on patches that linger too long. I
sometimes need that interrupt to trigger my context switch!
Thanks,
drew
>
> [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