xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Xen hypervisor reserved-memory binding
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunExpose one or more memory regions as reserved-memory to the guest
4*4882a593Smuzhiyunvirtual machine. Typically, a region is configured at VM creation time
5*4882a593Smuzhiyunto be a shared memory area across multiple virtual machines for
6*4882a593Smuzhiyuncommunication among them.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunFor each of these pre-shared memory regions, a range is exposed under
9*4882a593Smuzhiyunthe /reserved-memory node as a child node. Each range sub-node is named
10*4882a593Smuzhiyunxen-shmem@<address> and has the following properties:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun- compatible:
13*4882a593Smuzhiyun	compatible = "xen,shared-memory-v1"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun- reg:
16*4882a593Smuzhiyun	the base guest physical address and size of the shared memory region
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun- xen,offset: (borrower VMs only)
19*4882a593Smuzhiyun	64 bit integer offset within the owner virtual machine's shared
20*4882a593Smuzhiyun	memory region used for the mapping in the borrower VM.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun- xen,id:
23*4882a593Smuzhiyun	a string that identifies the shared memory region as specified in
24*4882a593Smuzhiyun	the VM config file
25