 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Viryaos-discuss] [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory
 (Resending mail, as the previous delivery failed) On 21/06/2022 12:34, Ayan Kumar Halder wrote: Hi, On 19/06/2022 13:43, Xenia Ragiadakou wrote:Direct mapping for dom0less VMs is disabled by default in XEN and can be enabled through the 'direct-map' property.Add a new config parameter DOMU_DIRECT_MAP to be able to enable or disabledirect mapping, i.e set to 1 for enabling and to 0 for disabling. This parameter is optional. Direct mapping is enabled by default for all dom0less VMs with static allocation.The property 'direct-map' is a boolean property. Boolean properties are trueif present and false if missing.Add a new data_type 'bool' in function dt_set() to setup a boolean property.Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx> --- README.md | 4 ++++ scripts/uboot-script-gen | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index c52e4b9..17ff206 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,10 @@ Where: if specified, indicates the host physical address regions[baseaddr, baseaddr + size) to be reserved to the VM for static allocation.+- DOMU_DIRECT_MAP[number] can be set to 1 or 0. + If set to 1, the VM is direct mapped. The default is 1. + This is only applicable when DOMU_STATIC_MEM is specified.Can't we just use $DOMU_STATIC_MEM to set "direct-map" in dts ?Is there a valid use-case for static allocation without direct mapping ? Sorry, it is not very clear to me.- Ayan 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |