|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 7/8] xen/arm: export shared memory regions as reserved-memory on device tree
Hi, On 10/30/18 3:58 PM, Ian Jackson wrote:
Device-Tree bindings are documented in linux/Document/device-tree/bindings. Stefano sent it via the DT mailing list (see [1]). Stefano, would you mind to add a pointer in the commit message?
They should still be under 75-80 characters a line has mandated per the coding style. Is that an issue? Also it's quite formulaic. I see make_psci_node is quite like that too. IDK whether a local macro would help. Possibly, but that not really related to this patch itself. Can we look that as a clean-up?
From the documentation:"Can only appear when B<role> = slave. If set, the address mapping will not start from the beginning the backing memory region, but from the middle
(B<offset> bytes away from the beginning) of it. See the graph below:
With B<offset> = 0, the mapping will look like:
backing memory region: #########################################
| |
| |
| |
V V
slave's shared region: #########################
With B<offset> > 0:
backing memory region: #########################################
|<-- offset -->|| |
| |
| |
V V
slave's memory region: #########################
"
This allows the configuration in the owning domain to be simpler as you
can share a big region and split between multiple domain.
-static int libxl__prepare_dtb(libxl__gc *gc, libxl_domain_build_info *info, +static int libxl__prepare_dtb(libxl__gc *gc, libxl_domain_config *d_config,Can we have this NFC change and its consequences as a pre-patch ? Cheers, [1] https://lists.xen.org/archives/html/xen-devel/2018-10/msg01812.html -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |