Re: [PATCH v17 17/35] gunyah: rsc_mgr: Add memory parcel RPC

From: Srivatsa Vaddagiri
Date: Thu Mar 14 2024 - 10:02:55 EST


* Elliot Berman <quic_eberman@xxxxxxxxxxx> [2024-02-22 15:16:40]:

> In a Gunyah hypervisor system using the Gunyah Resource Manager, the
> "standard" unit of donating, lending and sharing memory is called a
> memory parcel (memparcel). A memparcel is an abstraction used by the
> resource manager for securely managing donating, lending and sharing
> memory, which may be physically and virtually fragmented, without
> dealing directly with physical memory addresses.
>
> Memparcels are created and managed through the RM RPC functions for
> lending, sharing and reclaiming memory from VMs.
>
> When creating a new VM the initial VM memory containing the VM image and
> the VM's device tree blob must be provided as a memparcel. The memparcel
> must be created using the RM RPC for lending and mapping the memory to
> the VM.
>
> Signed-off-by: Elliot Berman <quic_eberman@xxxxxxxxxxx>

Reviewed-by: Srivatsa Vaddagiri <quic_svaddagi@xxxxxxxxxxx>

- vatsa