Re: [PATCH 1/3] KVM: arm64: Don't walk the whole IPA space when destroying a pKVM stage-2

From: Fuad Tabba

Date: Tue Nov 03 2026 - 11:32:50 EST


On Tue, 3 Nov 2026 at 16:26, Marc Zyngier <maz@xxxxxxxxxx> wrote:
[...]
> > > > Fixes: 4ddfab5436b69 ("KVM: arm64: Reschedule as needed when destroying the stage-2 page-tables")
> > >
> > > Isn't it an optimisation?
> >
> > No, it fixes a regression: 4ddfab5436b6 replaced a single walk of the
> > mapping tree with the 2^27 lookups, as described in the commit
> > message.
>
> But that's a configuration that simply does not exist in HW.
>
> Therefore this isn't a fix, this is an opportunistic optimisation that
> may or may not become useful. So not a fix, no backporting.

I'll drop the tag then.

Cheers,
/fuad

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