All of lore.kernel.org
 help / color / mirror / Atom feed
* [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set
@ 2022-06-19 12:43 Xenia Ragiadakou
  2022-06-19 12:43 ` [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory Xenia Ragiadakou
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Xenia Ragiadakou @ 2022-06-19 12:43 UTC (permalink / raw)
  To: xen-devel; +Cc: sstabellini, viryaos-discuss, Xenia Ragiadakou

When the parameter DOM0_KERNEL is not specified and NUM_DOMUS is not 0,
instead of failing the script, just skip any dom0 specific setup.
This way the script can be used to boot XEN in dom0less mode.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
---
 scripts/uboot-script-gen | 60 ++++++++++++++++++++++++++++------------
 1 file changed, 43 insertions(+), 17 deletions(-)

diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index 455b4c0..bdc8a6b 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -168,10 +168,15 @@ function xen_device_tree_editing()
     dt_set "/chosen" "#address-cells" "hex" "0x2"
     dt_set "/chosen" "#size-cells" "hex" "0x2"
     dt_set "/chosen" "xen,xen-bootargs" "str" "$XEN_CMD"
-    dt_mknode "/chosen" "dom0"
-    dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage xen,multiboot-module multiboot,module"
-    dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 $(printf "0x%x" $dom0_kernel_size)"
-    dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
+
+    if test "$DOM0_KERNEL"
+    then
+        dt_mknode "/chosen" "dom0"
+        dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage xen,multiboot-module multiboot,module"
+        dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 $(printf "0x%x" $dom0_kernel_size)"
+        dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
+    fi
+
     if test "$DOM0_RAMDISK" && test $ramdisk_addr != "-"
     then
         dt_mknode "/chosen" "dom0-ramdisk"
@@ -203,7 +208,10 @@ function xen_device_tree_editing()
             add_device_tree_static_mem "/chosen/domU$i" "${DOMU_STATIC_MEM[$i]}"
         fi
         dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
-        dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
+        if test "$DOM0_KERNEL"
+        then
+            dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
+        fi
 
         if test "${DOMU_COLORS[$i]}"
         then
@@ -433,6 +441,19 @@ function xen_config()
             DOM0_CMD="$DOM0_CMD root=$root_dev"
         fi
     fi
+    if test -z "$DOM0_KERNEL"
+    then
+        if test "$NUM_DOMUS" -eq "0"
+        then
+            echo "Neither dom0 or domUs are specified, exiting."
+            exit 1
+        fi
+        echo "Dom0 kernel is not specified, continue with dom0less setup."
+        unset DOM0_RAMDISK
+        # Remove dom0 specific parameters from the XEN command line.
+        local params=($XEN_CMD)
+        XEN_CMD="${params[@]/dom0*/}"
+    fi
     i=0
     while test $i -lt $NUM_DOMUS
     do
@@ -490,11 +511,13 @@ generate_uboot_images()
 
 xen_file_loading()
 {
-    check_compressed_file_type $DOM0_KERNEL "executable"
-    dom0_kernel_addr=$memaddr
-    load_file $DOM0_KERNEL "dom0_linux"
-    dom0_kernel_size=$filesize
-
+    if test "$DOM0_KERNEL"
+    then
+        check_compressed_file_type $DOM0_KERNEL "executable"
+        dom0_kernel_addr=$memaddr
+        load_file $DOM0_KERNEL "dom0_linux"
+        dom0_kernel_size=$filesize
+    fi
     if test "$DOM0_RAMDISK"
     then
         check_compressed_file_type $DOM0_RAMDISK "cpio archive"
@@ -597,14 +620,16 @@ bitstream_load_and_config()
 
 create_its_file_xen()
 {
-    if test "$ramdisk_addr" != "-"
+    if test "$DOM0_KERNEL"
     then
-        load_files="\"dom0_linux\", \"dom0_ramdisk\""
-    else
-        load_files="\"dom0_linux\""
-    fi
-    # xen below
-    cat >> "$its_file" <<- EOF
+        if test "$ramdisk_addr" != "-"
+        then
+            load_files="\"dom0_linux\", \"dom0_ramdisk\""
+        else
+            load_files="\"dom0_linux\""
+        fi
+        # xen below
+        cat >> "$its_file" <<- EOF
         dom0_linux {
             description = "dom0 linux kernel binary";
             data = /incbin/("$DOM0_KERNEL");
@@ -616,6 +641,7 @@ create_its_file_xen()
             $fit_algo
         };
 	EOF
+    fi
     # domUs
     i=0
     while test $i -lt $NUM_DOMUS
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory
  2022-06-19 12:43 [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set Xenia Ragiadakou
@ 2022-06-19 12:43 ` Xenia Ragiadakou
  2022-06-22  0:12   ` Stefano Stabellini
       [not found]   ` <5cd7ee29-d43a-1302-0a0b-6b4c339a96da@amd.com>
  2022-06-22  0:09 ` [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set Stefano Stabellini
       [not found] ` <80dc865b-f053-d9c9-b8d4-efb19abb2e49@amd.com>
  2 siblings, 2 replies; 9+ messages in thread
From: Xenia Ragiadakou @ 2022-06-19 12:43 UTC (permalink / raw)
  To: xen-devel; +Cc: sstabellini, viryaos-discuss, Xenia Ragiadakou

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 disable
direct 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 true
if 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@gmail.com>
---
 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.
+
 - LINUX is optional but specifies the Linux kernel for when Xen is NOT
   used.  To enable this set any LINUX\_\* variables and do NOT set the
   XEN variable.
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index bdc8a6b..e85c6ec 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -27,6 +27,7 @@ function dt_mknode()
 #   hex
 #   str
 #   str_a
+#   bool
 function dt_set()
 {
     local path=$1
@@ -49,6 +50,12 @@ function dt_set()
                 array+=" \"$element\""
             done
             echo "fdt set $path $var $array" >> $UBOOT_SOURCE
+        elif test $data_type = "bool"
+        then
+            if test "$data" -eq 1
+            then
+                echo "fdt set $path $var" >> $UBOOT_SOURCE
+            fi
         else
             echo "fdt set $path $var \"$data\"" >> $UBOOT_SOURCE
         fi
@@ -65,6 +72,12 @@ function dt_set()
         elif test $data_type = "str_a"
         then
             fdtput $FDTEDIT -p -t s $path $var $data
+        elif test $data_type = "bool"
+        then
+            if test "$data" -eq 1
+            then
+                fdtput $FDTEDIT -p $path $var
+            fi
         else
             fdtput $FDTEDIT -p -t s $path $var "$data"
         fi
@@ -206,6 +219,7 @@ function xen_device_tree_editing()
         if test "${DOMU_STATIC_MEM[$i]}"
         then
             add_device_tree_static_mem "/chosen/domU$i" "${DOMU_STATIC_MEM[$i]}"
+            dt_set "/chosen/domU$i" "direct-map" "bool" "${DOMU_DIRECT_MAP[$i]}"
         fi
         dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
         if test "$DOM0_KERNEL"
@@ -470,6 +484,10 @@ function xen_config()
         then
             DOMU_CMD[$i]="console=ttyAMA0"
         fi
+        if test -z "${DOMU_DIRECT_MAP[$i]}"
+        then
+             DOMU_DIRECT_MAP[$i]=1
+        fi
         i=$(( $i + 1 ))
     done
 }
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set
  2022-06-19 12:43 [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set Xenia Ragiadakou
  2022-06-19 12:43 ` [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory Xenia Ragiadakou
@ 2022-06-22  0:09 ` Stefano Stabellini
       [not found] ` <80dc865b-f053-d9c9-b8d4-efb19abb2e49@amd.com>
  2 siblings, 0 replies; 9+ messages in thread
From: Stefano Stabellini @ 2022-06-22  0:09 UTC (permalink / raw)
  To: Xenia Ragiadakou; +Cc: xen-devel, sstabellini, viryaos-discuss

On Sun, 19 Jun 2022, Xenia Ragiadakou wrote:
> When the parameter DOM0_KERNEL is not specified and NUM_DOMUS is not 0,
> instead of failing the script, just skip any dom0 specific setup.
> This way the script can be used to boot XEN in dom0less mode.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  scripts/uboot-script-gen | 60 ++++++++++++++++++++++++++++------------
>  1 file changed, 43 insertions(+), 17 deletions(-)
> 
> diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
> index 455b4c0..bdc8a6b 100755
> --- a/scripts/uboot-script-gen
> +++ b/scripts/uboot-script-gen
> @@ -168,10 +168,15 @@ function xen_device_tree_editing()
>      dt_set "/chosen" "#address-cells" "hex" "0x2"
>      dt_set "/chosen" "#size-cells" "hex" "0x2"
>      dt_set "/chosen" "xen,xen-bootargs" "str" "$XEN_CMD"
> -    dt_mknode "/chosen" "dom0"
> -    dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage xen,multiboot-module multiboot,module"
> -    dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 $(printf "0x%x" $dom0_kernel_size)"
> -    dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
> +
> +    if test "$DOM0_KERNEL"
> +    then
> +        dt_mknode "/chosen" "dom0"
> +        dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage xen,multiboot-module multiboot,module"
> +        dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 $(printf "0x%x" $dom0_kernel_size)"
> +        dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
> +    fi
> +
>      if test "$DOM0_RAMDISK" && test $ramdisk_addr != "-"
>      then
>          dt_mknode "/chosen" "dom0-ramdisk"
> @@ -203,7 +208,10 @@ function xen_device_tree_editing()
>              add_device_tree_static_mem "/chosen/domU$i" "${DOMU_STATIC_MEM[$i]}"
>          fi
>          dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
> -        dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
> +        if test "$DOM0_KERNEL"
> +        then
> +            dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
> +        fi
>  
>          if test "${DOMU_COLORS[$i]}"
>          then
> @@ -433,6 +441,19 @@ function xen_config()
>              DOM0_CMD="$DOM0_CMD root=$root_dev"
>          fi
>      fi
> +    if test -z "$DOM0_KERNEL"
> +    then
> +        if test "$NUM_DOMUS" -eq "0"
> +        then
> +            echo "Neither dom0 or domUs are specified, exiting."
> +            exit 1
> +        fi
> +        echo "Dom0 kernel is not specified, continue with dom0less setup."
> +        unset DOM0_RAMDISK
> +        # Remove dom0 specific parameters from the XEN command line.
> +        local params=($XEN_CMD)
> +        XEN_CMD="${params[@]/dom0*/}"
> +    fi
>      i=0
>      while test $i -lt $NUM_DOMUS
>      do
> @@ -490,11 +511,13 @@ generate_uboot_images()
>  
>  xen_file_loading()
>  {
> -    check_compressed_file_type $DOM0_KERNEL "executable"
> -    dom0_kernel_addr=$memaddr
> -    load_file $DOM0_KERNEL "dom0_linux"
> -    dom0_kernel_size=$filesize
> -
> +    if test "$DOM0_KERNEL"
> +    then
> +        check_compressed_file_type $DOM0_KERNEL "executable"
> +        dom0_kernel_addr=$memaddr
> +        load_file $DOM0_KERNEL "dom0_linux"
> +        dom0_kernel_size=$filesize
> +    fi
>      if test "$DOM0_RAMDISK"
>      then
>          check_compressed_file_type $DOM0_RAMDISK "cpio archive"
> @@ -597,14 +620,16 @@ bitstream_load_and_config()
>  
>  create_its_file_xen()
>  {
> -    if test "$ramdisk_addr" != "-"
> +    if test "$DOM0_KERNEL"
>      then
> -        load_files="\"dom0_linux\", \"dom0_ramdisk\""
> -    else
> -        load_files="\"dom0_linux\""
> -    fi
> -    # xen below
> -    cat >> "$its_file" <<- EOF
> +        if test "$ramdisk_addr" != "-"
> +        then
> +            load_files="\"dom0_linux\", \"dom0_ramdisk\""
> +        else
> +            load_files="\"dom0_linux\""
> +        fi
> +        # xen below
> +        cat >> "$its_file" <<- EOF
>          dom0_linux {
>              description = "dom0 linux kernel binary";
>              data = /incbin/("$DOM0_KERNEL");
> @@ -616,6 +641,7 @@ create_its_file_xen()
>              $fit_algo
>          };
>  	EOF
> +    fi
>      # domUs
>      i=0
>      while test $i -lt $NUM_DOMUS
> -- 
> 2.34.1
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory
  2022-06-19 12:43 ` [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory Xenia Ragiadakou
@ 2022-06-22  0:12   ` Stefano Stabellini
       [not found]   ` <5cd7ee29-d43a-1302-0a0b-6b4c339a96da@amd.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Stefano Stabellini @ 2022-06-22  0:12 UTC (permalink / raw)
  To: Xenia Ragiadakou; +Cc: xen-devel, sstabellini, viryaos-discuss

On Sun, 19 Jun 2022, 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 disable
> direct 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 true
> if 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@gmail.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  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.
> +
>  - LINUX is optional but specifies the Linux kernel for when Xen is NOT
>    used.  To enable this set any LINUX\_\* variables and do NOT set the
>    XEN variable.
> diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
> index bdc8a6b..e85c6ec 100755
> --- a/scripts/uboot-script-gen
> +++ b/scripts/uboot-script-gen
> @@ -27,6 +27,7 @@ function dt_mknode()
>  #   hex
>  #   str
>  #   str_a
> +#   bool
>  function dt_set()
>  {
>      local path=$1
> @@ -49,6 +50,12 @@ function dt_set()
>                  array+=" \"$element\""
>              done
>              echo "fdt set $path $var $array" >> $UBOOT_SOURCE
> +        elif test $data_type = "bool"
> +        then
> +            if test "$data" -eq 1
> +            then
> +                echo "fdt set $path $var" >> $UBOOT_SOURCE
> +            fi
>          else
>              echo "fdt set $path $var \"$data\"" >> $UBOOT_SOURCE
>          fi
> @@ -65,6 +72,12 @@ function dt_set()
>          elif test $data_type = "str_a"
>          then
>              fdtput $FDTEDIT -p -t s $path $var $data
> +        elif test $data_type = "bool"
> +        then
> +            if test "$data" -eq 1
> +            then
> +                fdtput $FDTEDIT -p $path $var
> +            fi
>          else
>              fdtput $FDTEDIT -p -t s $path $var "$data"
>          fi
> @@ -206,6 +219,7 @@ function xen_device_tree_editing()
>          if test "${DOMU_STATIC_MEM[$i]}"
>          then
>              add_device_tree_static_mem "/chosen/domU$i" "${DOMU_STATIC_MEM[$i]}"
> +            dt_set "/chosen/domU$i" "direct-map" "bool" "${DOMU_DIRECT_MAP[$i]}"
>          fi
>          dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
>          if test "$DOM0_KERNEL"
> @@ -470,6 +484,10 @@ function xen_config()
>          then
>              DOMU_CMD[$i]="console=ttyAMA0"
>          fi
> +        if test -z "${DOMU_DIRECT_MAP[$i]}"
> +        then
> +             DOMU_DIRECT_MAP[$i]=1
> +        fi
>          i=$(( $i + 1 ))
>      done
>  }
> -- 
> 2.34.1
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Viryaos-discuss] [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set
       [not found] ` <80dc865b-f053-d9c9-b8d4-efb19abb2e49@amd.com>
@ 2022-06-23 10:01   ` Ayan Kumar Halder
  2022-06-23 12:23     ` xenia
  0 siblings, 1 reply; 9+ messages in thread
From: Ayan Kumar Halder @ 2022-06-23 10:01 UTC (permalink / raw)
  To: Xenia Ragiadakou, xen-devel; +Cc: viryaos-discuss

(Resending mail, as the previous delivery failed)

On 21/06/2022 11:57, Ayan Kumar Halder wrote:
> Hi Xenia,
>
> Thanks for the change. It looks good.
>
> Some points :-
>
> 1. In README.md, please mention in 'DOM0_KERNEL' description that it 
> is an optional parameter. When user does not provide this, it 
> generates a dom0less configuration.
>
> 2. In uboot-script-gen, please provide a check like this :-
>
> if test -z "$DOM0_KERNEL"
>
> then
>
>     if test "DOM0_MEM" || "DOM0_VCPUS" || "DOM0_COLORS" || "DOM0_CMD" 
> || "DOM0_RAMDISK" || "DOM0_ROOTFS"
>
>     then
>
>         echo "For Domoless configuration, "DOM0_MEM" || "DOM0_VCPUS" 
> || "DOM0_COLORS" || "DOM0_CMD" || "DOM0_RAMDISK" || "DOM0_ROOTFS" 
> should not be defined
>
>         exit 1
>
>     fi
>
> fi
>
> The reason is that user should not be allowed to provide with an 
> incorrect configuration.
>
> 3. Please test the patch for both dom0 and dom0less. The reason being 
> such a change might break something. :)
>
> - Ayan
>
> On 19/06/2022 13:43, Xenia Ragiadakou wrote:
>> When the parameter DOM0_KERNEL is not specified and NUM_DOMUS is not 0,
>> instead of failing the script, just skip any dom0 specific setup.
>> This way the script can be used to boot XEN in dom0less mode.
>>
>> Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
>> ---
>>   scripts/uboot-script-gen | 60 ++++++++++++++++++++++++++++------------
>>   1 file changed, 43 insertions(+), 17 deletions(-)
>>
>> diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
>> index 455b4c0..bdc8a6b 100755
>> --- a/scripts/uboot-script-gen
>> +++ b/scripts/uboot-script-gen
>> @@ -168,10 +168,15 @@ function xen_device_tree_editing()
>>       dt_set "/chosen" "#address-cells" "hex" "0x2"
>>       dt_set "/chosen" "#size-cells" "hex" "0x2"
>>       dt_set "/chosen" "xen,xen-bootargs" "str" "$XEN_CMD"
>> -    dt_mknode "/chosen" "dom0"
>> -    dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage 
>> xen,multiboot-module multiboot,module"
>> -    dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 
>> $(printf "0x%x" $dom0_kernel_size)"
>> -    dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
>> +
>> +    if test "$DOM0_KERNEL"
>> +    then
>> +        dt_mknode "/chosen" "dom0"
>> +        dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage 
>> xen,multiboot-module multiboot,module"
>> +        dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 
>> $(printf "0x%x" $dom0_kernel_size)"
>> +        dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
>> +    fi
>> +
>>       if test "$DOM0_RAMDISK" && test $ramdisk_addr != "-"
>>       then
>>           dt_mknode "/chosen" "dom0-ramdisk"
>> @@ -203,7 +208,10 @@ function xen_device_tree_editing()
>>               add_device_tree_static_mem "/chosen/domU$i" 
>> "${DOMU_STATIC_MEM[$i]}"
>>           fi
>>           dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
>> -        dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
>> +        if test "$DOM0_KERNEL"
>> +        then
>> +            dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
>> +        fi
>>             if test "${DOMU_COLORS[$i]}"
>>           then
>> @@ -433,6 +441,19 @@ function xen_config()
>>               DOM0_CMD="$DOM0_CMD root=$root_dev"
>>           fi
>>       fi
>> +    if test -z "$DOM0_KERNEL"
>> +    then
>> +        if test "$NUM_DOMUS" -eq "0"
>> +        then
>> +            echo "Neither dom0 or domUs are specified, exiting."
>> +            exit 1
>> +        fi
>> +        echo "Dom0 kernel is not specified, continue with dom0less 
>> setup."
>> +        unset DOM0_RAMDISK
>> +        # Remove dom0 specific parameters from the XEN command line.
>> +        local params=($XEN_CMD)
>> +        XEN_CMD="${params[@]/dom0*/}"
>> +    fi
>>       i=0
>>       while test $i -lt $NUM_DOMUS
>>       do
>> @@ -490,11 +511,13 @@ generate_uboot_images()
>>     xen_file_loading()
>>   {
>> -    check_compressed_file_type $DOM0_KERNEL "executable"
>> -    dom0_kernel_addr=$memaddr
>> -    load_file $DOM0_KERNEL "dom0_linux"
>> -    dom0_kernel_size=$filesize
>> -
>> +    if test "$DOM0_KERNEL"
>> +    then
>> +        check_compressed_file_type $DOM0_KERNEL "executable"
>> +        dom0_kernel_addr=$memaddr
>> +        load_file $DOM0_KERNEL "dom0_linux"
>> +        dom0_kernel_size=$filesize
>> +    fi
>>       if test "$DOM0_RAMDISK"
>>       then
>>           check_compressed_file_type $DOM0_RAMDISK "cpio archive"
>> @@ -597,14 +620,16 @@ bitstream_load_and_config()
>>     create_its_file_xen()
>>   {
>> -    if test "$ramdisk_addr" != "-"
>> +    if test "$DOM0_KERNEL"
>>       then
>> -        load_files="\"dom0_linux\", \"dom0_ramdisk\""
>> -    else
>> -        load_files="\"dom0_linux\""
>> -    fi
>> -    # xen below
>> -    cat >> "$its_file" <<- EOF
>> +        if test "$ramdisk_addr" != "-"
>> +        then
>> +            load_files="\"dom0_linux\", \"dom0_ramdisk\""
>> +        else
>> +            load_files="\"dom0_linux\""
>> +        fi
>> +        # xen below
>> +        cat >> "$its_file" <<- EOF
>>           dom0_linux {
>>               description = "dom0 linux kernel binary";
>>               data = /incbin/("$DOM0_KERNEL");
>> @@ -616,6 +641,7 @@ create_its_file_xen()
>>               $fit_algo
>>           };
>>       EOF
>> +    fi
>>       # domUs
>>       i=0
>>       while test $i -lt $NUM_DOMUS


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Viryaos-discuss] [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory
       [not found]   ` <5cd7ee29-d43a-1302-0a0b-6b4c339a96da@amd.com>
@ 2022-06-23 10:02     ` Ayan Kumar Halder
  2022-06-23 12:05       ` xenia
  0 siblings, 1 reply; 9+ messages in thread
From: Ayan Kumar Halder @ 2022-06-23 10:02 UTC (permalink / raw)
  To: Xenia Ragiadakou, xen-devel; +Cc: viryaos-discuss

(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 
>> disable
>> direct 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 true
>> if 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@gmail.com>
>> ---
>>   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
>
>> +
>>   - LINUX is optional but specifies the Linux kernel for when Xen is NOT
>>     used.  To enable this set any LINUX\_\* variables and do NOT set the
>>     XEN variable.
>> diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
>> index bdc8a6b..e85c6ec 100755
>> --- a/scripts/uboot-script-gen
>> +++ b/scripts/uboot-script-gen
>> @@ -27,6 +27,7 @@ function dt_mknode()
>>   #   hex
>>   #   str
>>   #   str_a
>> +#   bool
>>   function dt_set()
>>   {
>>       local path=$1
>> @@ -49,6 +50,12 @@ function dt_set()
>>                   array+=" \"$element\""
>>               done
>>               echo "fdt set $path $var $array" >> $UBOOT_SOURCE
>> +        elif test $data_type = "bool"
>> +        then
>> +            if test "$data" -eq 1
>> +            then
>> +                echo "fdt set $path $var" >> $UBOOT_SOURCE
>> +            fi
>>           else
>>               echo "fdt set $path $var \"$data\"" >> $UBOOT_SOURCE
>>           fi
>> @@ -65,6 +72,12 @@ function dt_set()
>>           elif test $data_type = "str_a"
>>           then
>>               fdtput $FDTEDIT -p -t s $path $var $data
>> +        elif test $data_type = "bool"
>> +        then
>> +            if test "$data" -eq 1
>> +            then
>> +                fdtput $FDTEDIT -p $path $var
>> +            fi
>>           else
>>               fdtput $FDTEDIT -p -t s $path $var "$data"
>>           fi
>> @@ -206,6 +219,7 @@ function xen_device_tree_editing()
>>           if test "${DOMU_STATIC_MEM[$i]}"
>>           then
>>               add_device_tree_static_mem "/chosen/domU$i" 
>> "${DOMU_STATIC_MEM[$i]}"
>> +            dt_set "/chosen/domU$i" "direct-map" "bool" 
>> "${DOMU_DIRECT_MAP[$i]}"
>>           fi
>>           dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
>>           if test "$DOM0_KERNEL"
>> @@ -470,6 +484,10 @@ function xen_config()
>>           then
>>               DOMU_CMD[$i]="console=ttyAMA0"
>>           fi
>> +        if test -z "${DOMU_DIRECT_MAP[$i]}"
>> +        then
>> +             DOMU_DIRECT_MAP[$i]=1
>> +        fi
>>           i=$(( $i + 1 ))
>>       done
>>   }


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Viryaos-discuss] [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory
  2022-06-23 10:02     ` [Viryaos-discuss] " Ayan Kumar Halder
@ 2022-06-23 12:05       ` xenia
  2022-06-23 13:59         ` Ayan Kumar Halder
  0 siblings, 1 reply; 9+ messages in thread
From: xenia @ 2022-06-23 12:05 UTC (permalink / raw)
  To: Ayan Kumar Halder, xen-devel; +Cc: viryaos-discuss

Hi Ayan!

On 6/23/22 13:02, Ayan Kumar Halder wrote:
> (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 
>>> disable
>>> direct 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 true
>>> if 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@gmail.com>
>>> ---
>>>   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.
>>
Thank you for taking the time to review the patch!

I agree with you that static allocation without direct mapping is not a 
common configuration, that's why, in the script, direct mapping is 
enabled by default.

My reasoning was that, since direct mapping is not enabled by default in 
XEN for all domUs with static allocation but instead requires the 
'direct-map' property to be present in the domU dt node, then such a 
configuration is still valid.
I thought that with this parameter it is much easier to setup (and test) 
both configurations.


Xenia



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Viryaos-discuss] [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set
  2022-06-23 10:01   ` [Viryaos-discuss] " Ayan Kumar Halder
@ 2022-06-23 12:23     ` xenia
  0 siblings, 0 replies; 9+ messages in thread
From: xenia @ 2022-06-23 12:23 UTC (permalink / raw)
  To: Ayan Kumar Halder, xen-devel; +Cc: viryaos-discuss

On 6/23/22 13:01, Ayan Kumar Halder wrote:
> (Resending mail, as the previous delivery failed)
>
> On 21/06/2022 11:57, Ayan Kumar Halder wrote:
>> 1. In README.md, please mention in 'DOM0_KERNEL' description that it 
>> is an optional parameter. When user does not provide this, it 
>> generates a dom0less configuration.

Sure. This patch has been already merged upstream so I will do with a 
follow-on patch.

>>
>> 2. In uboot-script-gen, please provide a check like this :-
>>
>> if test -z "$DOM0_KERNEL"
>>
>> then
>>
>>     if test "DOM0_MEM" || "DOM0_VCPUS" || "DOM0_COLORS" || "DOM0_CMD" 
>> || "DOM0_RAMDISK" || "DOM0_ROOTFS"
>>
>>     then
>>
>>         echo "For Domoless configuration, "DOM0_MEM" || "DOM0_VCPUS" 
>> || "DOM0_COLORS" || "DOM0_CMD" || "DOM0_RAMDISK" || "DOM0_ROOTFS" 
>> should not be defined
>>
>>         exit 1
>>
>>     fi
>>
>> fi
>>
>> The reason is that user should not be allowed to provide with an 
>> incorrect configuration.
>>
Sure. I will do with a follow-on patch.

>> 3. Please test the patch for both dom0 and dom0less. The reason being 
>> such a change might break something. :)
>>
>> - Ayan
>>
>> On 19/06/2022 13:43, Xenia Ragiadakou wrote:
>>> When the parameter DOM0_KERNEL is not specified and NUM_DOMUS is not 0,
>>> instead of failing the script, just skip any dom0 specific setup.
>>> This way the script can be used to boot XEN in dom0less mode.
>>>
>>> Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
>>> ---
>>>   scripts/uboot-script-gen | 60 
>>> ++++++++++++++++++++++++++++------------
>>>   1 file changed, 43 insertions(+), 17 deletions(-)
>>>
>>> diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
>>> index 455b4c0..bdc8a6b 100755
>>> --- a/scripts/uboot-script-gen
>>> +++ b/scripts/uboot-script-gen
>>> @@ -168,10 +168,15 @@ function xen_device_tree_editing()
>>>       dt_set "/chosen" "#address-cells" "hex" "0x2"
>>>       dt_set "/chosen" "#size-cells" "hex" "0x2"
>>>       dt_set "/chosen" "xen,xen-bootargs" "str" "$XEN_CMD"
>>> -    dt_mknode "/chosen" "dom0"
>>> -    dt_set "/chosen/dom0" "compatible" "str_a" "xen,linux-zimage 
>>> xen,multiboot-module multiboot,module"
>>> -    dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 0x0 
>>> $(printf "0x%x" $dom0_kernel_size)"
>>> -    dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
>>> +
>>> +    if test "$DOM0_KERNEL"
>>> +    then
>>> +        dt_mknode "/chosen" "dom0"
>>> +        dt_set "/chosen/dom0" "compatible" "str_a" 
>>> "xen,linux-zimage xen,multiboot-module multiboot,module"
>>> +        dt_set "/chosen/dom0" "reg" "hex" "0x0 $dom0_kernel_addr 
>>> 0x0 $(printf "0x%x" $dom0_kernel_size)"
>>> +        dt_set "/chosen" "xen,dom0-bootargs" "str" "$DOM0_CMD"
>>> +    fi
>>> +
>>>       if test "$DOM0_RAMDISK" && test $ramdisk_addr != "-"
>>>       then
>>>           dt_mknode "/chosen" "dom0-ramdisk"
>>> @@ -203,7 +208,10 @@ function xen_device_tree_editing()
>>>               add_device_tree_static_mem "/chosen/domU$i" 
>>> "${DOMU_STATIC_MEM[$i]}"
>>>           fi
>>>           dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
>>> -        dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
>>> +        if test "$DOM0_KERNEL"
>>> +        then
>>> +            dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
>>> +        fi
>>>             if test "${DOMU_COLORS[$i]}"
>>>           then
>>> @@ -433,6 +441,19 @@ function xen_config()
>>>               DOM0_CMD="$DOM0_CMD root=$root_dev"
>>>           fi
>>>       fi
>>> +    if test -z "$DOM0_KERNEL"
>>> +    then
>>> +        if test "$NUM_DOMUS" -eq "0"
>>> +        then
>>> +            echo "Neither dom0 or domUs are specified, exiting."
>>> +            exit 1
>>> +        fi
>>> +        echo "Dom0 kernel is not specified, continue with dom0less 
>>> setup."
>>> +        unset DOM0_RAMDISK
>>> +        # Remove dom0 specific parameters from the XEN command line.
>>> +        local params=($XEN_CMD)
>>> +        XEN_CMD="${params[@]/dom0*/}"
>>> +    fi
>>>       i=0
>>>       while test $i -lt $NUM_DOMUS
>>>       do
>>> @@ -490,11 +511,13 @@ generate_uboot_images()
>>>     xen_file_loading()
>>>   {
>>> -    check_compressed_file_type $DOM0_KERNEL "executable"
>>> -    dom0_kernel_addr=$memaddr
>>> -    load_file $DOM0_KERNEL "dom0_linux"
>>> -    dom0_kernel_size=$filesize
>>> -
>>> +    if test "$DOM0_KERNEL"
>>> +    then
>>> +        check_compressed_file_type $DOM0_KERNEL "executable"
>>> +        dom0_kernel_addr=$memaddr
>>> +        load_file $DOM0_KERNEL "dom0_linux"
>>> +        dom0_kernel_size=$filesize
>>> +    fi
>>>       if test "$DOM0_RAMDISK"
>>>       then
>>>           check_compressed_file_type $DOM0_RAMDISK "cpio archive"
>>> @@ -597,14 +620,16 @@ bitstream_load_and_config()
>>>     create_its_file_xen()
>>>   {
>>> -    if test "$ramdisk_addr" != "-"
>>> +    if test "$DOM0_KERNEL"
>>>       then
>>> -        load_files="\"dom0_linux\", \"dom0_ramdisk\""
>>> -    else
>>> -        load_files="\"dom0_linux\""
>>> -    fi
>>> -    # xen below
>>> -    cat >> "$its_file" <<- EOF
>>> +        if test "$ramdisk_addr" != "-"
>>> +        then
>>> +            load_files="\"dom0_linux\", \"dom0_ramdisk\""
>>> +        else
>>> +            load_files="\"dom0_linux\""
>>> +        fi
>>> +        # xen below
>>> +        cat >> "$its_file" <<- EOF
>>>           dom0_linux {
>>>               description = "dom0 linux kernel binary";
>>>               data = /incbin/("$DOM0_KERNEL");
>>> @@ -616,6 +641,7 @@ create_its_file_xen()
>>>               $fit_algo
>>>           };
>>>       EOF
>>> +    fi
>>>       # domUs
>>>       i=0
>>>       while test $i -lt $NUM_DOMUS


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Viryaos-discuss] [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory
  2022-06-23 12:05       ` xenia
@ 2022-06-23 13:59         ` Ayan Kumar Halder
  0 siblings, 0 replies; 9+ messages in thread
From: Ayan Kumar Halder @ 2022-06-23 13:59 UTC (permalink / raw)
  To: xenia, xen-devel; +Cc: viryaos-discuss


On 23/06/2022 13:05, xenia wrote:
> Hi Ayan!
Hi Xenia,
>
> On 6/23/22 13:02, Ayan Kumar Halder wrote:
>> (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 
>>>> disable
>>>> direct 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 true
>>>> if 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@gmail.com>
>>>> ---
>>>>   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.
>>>
> Thank you for taking the time to review the patch!
>
> I agree with you that static allocation without direct mapping is not 
> a common configuration, that's why, in the script, direct mapping is 
> enabled by default.
>
> My reasoning was that, since direct mapping is not enabled by default 
> in XEN for all domUs with static allocation but instead requires the 
> 'direct-map' property to be present in the domU dt node, then such a 
> configuration is still valid.
> I thought that with this parameter it is much easier to setup (and 
> test) both configurations.

Thanks for the explanation. This makes sense to me. :)

In this case, can we remove the below snippet from your patch.

+        if test -z "${DOMU_DIRECT_MAP[$i]}"
+        then
+ DOMU_DIRECT_MAP[$i]=1
+        fi

The reason being if the user wants to set 'direct-map' prop in dts, then 
the user can specify it in the config.
Else, (by default) the direct-map will be set to false. This is inline 
with XEN's behavior as you described above.

- Ayan

- Ayan

>
>
> Xenia
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-06-23 14:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-19 12:43 [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set Xenia Ragiadakou
2022-06-19 12:43 ` [ImageBuilder] [PATCH 2/2] uboot-script-gen: Enable direct mapping of statically allocated memory Xenia Ragiadakou
2022-06-22  0:12   ` Stefano Stabellini
     [not found]   ` <5cd7ee29-d43a-1302-0a0b-6b4c339a96da@amd.com>
2022-06-23 10:02     ` [Viryaos-discuss] " Ayan Kumar Halder
2022-06-23 12:05       ` xenia
2022-06-23 13:59         ` Ayan Kumar Halder
2022-06-22  0:09 ` [ImageBuilder] [PATCH 1/2] uboot-script-gen: Skip dom0 instead of exiting if DOM0_KERNEL is not set Stefano Stabellini
     [not found] ` <80dc865b-f053-d9c9-b8d4-efb19abb2e49@amd.com>
2022-06-23 10:01   ` [Viryaos-discuss] " Ayan Kumar Halder
2022-06-23 12:23     ` xenia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.