Commit ee334bab authored by Elliot Berman's avatar Elliot Berman Committed by Treehugger Robot
Browse files

FROMLIST: gunyah: rsc_mgr: Add memory parcel RPC

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.

Bug: 338347082
Link: https://lore.kernel.org/all/20240222-gunyah-v17-17-1e9da6763d38@quicinc.com/


Change-Id: I2cf6f0645277ac2abd32c45ce7b73b095eb9708f
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
parent 79806a94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment