[PATCH] KVM: arm64: Do not size-order align pkvm_alloc_private_va_range()

Marc Zyngier maz at kernel.org
Fri Aug 11 00:11:51 PDT 2023


On Thu, 10 Aug 2023 18:09:51 +0100,
Vincent Donnefort <vdonnefort at google.com> wrote:
> 
> On Thu, Aug 10, 2023 at 09:42:54AM -0700, Kalesh Singh wrote:
> > And I assume we want the same thing for the conventional nVHE mode:
> > remove the alignment from hyp_alloc_private_va_range() into a
> > hyp_create_stack().
> 
> Ah yes, good catch, even though it'll be less of a problem for non-protected
> nVHE, it'd probably be a good thing of aligning both. Might do that in a
> separated patch though.

I'd very much like to keep the two in sync. If anything, it is far
easier to debug on standard nVHE than with protected mode, so anything
that brings the two close to each other gets my vote.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list