[PATCH v5 06/25] KVM: arm64: Implement do_donate() helper for donating memory

Quentin Perret qperret at google.com
Fri Oct 28 03:01:19 PDT 2022


On Friday 28 Oct 2022 at 07:52:38 (+0000), Oliver Upton wrote:
> Is the intention of this infra to support memory donations between more
> than just the host + hyp components? This patch goes out of its way to
> build some generic helpers for things, but it isn't immediately obvious
> why that is necessary for just two supported state transitions.

Yup, the plan is to use all this infrastructure for host-guest and
host-trustzone transitions, but that's indeed not very obvious from the
patch. We should probably mention that in the commit message.



More information about the linux-arm-kernel mailing list