[PATCH v2 06/20] KVM: selftests: Extend page allocator to support naturally aligned allocations

Ritesh Harjani (IBM) ritesh.list at gmail.com
Wed Sep 9 22:27:06 PDT 2026


Sean Christopherson <seanjc at google.com> writes:

> Extend the page allocator to support naturally aligned allocations, as some
> flavors of PowerPC page tables require multiple guest pages per table, and
> those tables need to be naturally aligned.
>

That's true.

> Take care to align the potential base address *inside* the retry loop, i.e.
> the base needs to be (re)aligned on every attempt.
>
> Tested-by: Itaru Kitayama <itaru.kitayama at fujitsu.com>
> Signed-off-by: Sean Christopherson <seanjc at google.com>

Thanks for sharing the changes. Looks good to me.

Feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list at gmail.com>



More information about the linux-arm-kernel mailing list