Skip to contentSkip to conversation

xen/docs: arm: Update dom0less binding and example

PATCH In review Julien Grall 3 participants 5 messages Aug 13, 2019 – Oct 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/docs: arm: Update dom0less binding and example

The binding for the dom0less module does not match Xen implementation. Any module should contain the compatible "multiboot,module" to be recognized.

This was clearly an oversight as other examples with Xen code base provide the compatible "multiboot,module".

So fix the binding and the example associated to it.

---

We probably want to consolidate all the dom0less documentation in one place rather than having to fix documation issues in a multiple places one by one.

---
 docs/misc/arm/device-tree/booting.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
docs/misc/arm/device-tree/booting.txt +6 -6
index 317a9e962a..0fafa01b5d 100644
@@ -160,7 +160,7 @@ The kernel sub-node has the following properties:
 
 - compatible
 
-    "multiboot,kernel"
+    "multiboot,kernel", "multiboot,module"
 
 - reg
 
@@ -175,7 +175,7 @@ The ramdisk sub-node has the following properties:
 
 - compatible
 
-    "multiboot,ramdisk"
+    "multiboot,ramdisk", "multiboot,module"
 
 - reg
 
@@ -196,13 +196,13 @@ chosen {
         vpl011;
 
         module@0x4a000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
             reg = <0x0 0x4a000000 0xffffff>;
             bootargs = "console=ttyAMA0 init=/bin/sh";
         };
 
         module@0x4b000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
             reg = <0x0 0x4b000000 0xffffff>;
         };
     };
@@ -215,13 +215,13 @@ chosen {
         cpus = <1>;
 
         module@0x4c000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
             reg = <0x0 0x4c000000 0xffffff>;
             bootargs = "console=ttyAMA0 init=/bin/sh";
         };
 
         module@0x4d000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
             reg = <0x0 0x4d000000 0xffffff>;
         };
     };
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

Gentle ping.

Quoted 77 lines · Julien Grall

The binding for the dom0less module does not match Xen implementation. Any module should contain the compatible "multiboot,module" to be recognized.

This was clearly an oversight as other examples with Xen code base provide the compatible "multiboot,module".

So fix the binding and the example associated to it.

---

We probably want to consolidate all the dom0less documentation in one place rather than having to fix documation issues in a multiple places one by one.

---
  docs/misc/arm/device-tree/booting.txt | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
docs/misc/arm/device-tree/booting.txt +6 -6
index 317a9e962a..0fafa01b5d 100644
@@ -160,7 +160,7 @@ The kernel sub-node has the following properties:
 
  - compatible
 
-    "multiboot,kernel"
+    "multiboot,kernel", "multiboot,module"
 
  - reg
 
@@ -175,7 +175,7 @@ The ramdisk sub-node has the following properties:
 
  - compatible
 
-    "multiboot,ramdisk"
+    "multiboot,ramdisk", "multiboot,module"
 
  - reg
 
@@ -196,13 +196,13 @@ chosen {
          vpl011;
 
          module@0x4a000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
              reg = <0x0 0x4a000000 0xffffff>;
              bootargs = "console=ttyAMA0 init=/bin/sh";
          };
 
          module@0x4b000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
              reg = <0x0 0x4b000000 0xffffff>;
          };
      };
@@ -215,13 +215,13 @@ chosen {
          cpus = <1>;
 
          module@0x4c000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
              reg = <0x0 0x4c000000 0xffffff>;
              bootargs = "console=ttyAMA0 init=/bin/sh";
          };
 
          module@0x4d000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
              reg = <0x0 0x4d000000 0xffffff>;
          };
      };
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/1
#2 lore raw
In reply to Julien Grall
Quoted 10 lines · Julien Grall

The binding for the dom0less module does not match Xen implementation. Any module should contain the compatible "multiboot,module" to be recognized.

This was clearly an oversight as other examples with Xen code base provide the compatible "multiboot,module".

So fix the binding and the example associated to it.

Yes!

Quoted 68 lines

---

We probably want to consolidate all the dom0less documentation in one place rather than having to fix documation issues in a multiple places one by one.

---
 docs/misc/arm/device-tree/booting.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
docs/misc/arm/device-tree/booting.txt +6 -6
index 317a9e962a..0fafa01b5d 100644
@@ -160,7 +160,7 @@ The kernel sub-node has the following properties:
 
 - compatible
 
-    "multiboot,kernel"
+    "multiboot,kernel", "multiboot,module"
 
 - reg
 
@@ -175,7 +175,7 @@ The ramdisk sub-node has the following properties:
 
 - compatible
 
-    "multiboot,ramdisk"
+    "multiboot,ramdisk", "multiboot,module"
 
 - reg
 
@@ -196,13 +196,13 @@ chosen {
         vpl011;
 
         module@0x4a000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
             reg = <0x0 0x4a000000 0xffffff>;
             bootargs = "console=ttyAMA0 init=/bin/sh";
         };
 
         module@0x4b000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
             reg = <0x0 0x4b000000 0xffffff>;
         };
     };
@@ -215,13 +215,13 @@ chosen {
         cpus = <1>;
 
         module@0x4c000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
             reg = <0x0 0x4c000000 0xffffff>;
             bootargs = "console=ttyAMA0 init=/bin/sh";
         };
 
         module@0x4d000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
             reg = <0x0 0x4d000000 0xffffff>;
         };
     };
Signature · 1 line
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw

Hi,

Juergen, would you be happy if this patch is committed for Xen 4.13?

Cheers,

Quoted 84 lines · Stefano Stabellini
Quoted 10 lines · Julien Grall

The binding for the dom0less module does not match Xen implementation. Any module should contain the compatible "multiboot,module" to be recognized.

This was clearly an oversight as other examples with Xen code base provide the compatible "multiboot,module".

So fix the binding and the example associated to it.

Yes!

Quoted 68 lines

---

We probably want to consolidate all the dom0less documentation in one place rather than having to fix documation issues in a multiple places one by one.

---
  docs/misc/arm/device-tree/booting.txt | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
docs/misc/arm/device-tree/booting.txt +6 -6
index 317a9e962a..0fafa01b5d 100644
@@ -160,7 +160,7 @@ The kernel sub-node has the following properties:
 
  - compatible
 
-    "multiboot,kernel"
+    "multiboot,kernel", "multiboot,module"
 
  - reg
 
@@ -175,7 +175,7 @@ The ramdisk sub-node has the following properties:
 
  - compatible
 
-    "multiboot,ramdisk"
+    "multiboot,ramdisk", "multiboot,module"
 
  - reg
 
@@ -196,13 +196,13 @@ chosen {
          vpl011;
 
          module@0x4a000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
              reg = <0x0 0x4a000000 0xffffff>;
              bootargs = "console=ttyAMA0 init=/bin/sh";
          };
 
          module@0x4b000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
              reg = <0x0 0x4b000000 0xffffff>;
          };
      };
@@ -215,13 +215,13 @@ chosen {
          cpus = <1>;
 
          module@0x4c000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
              reg = <0x0 0x4c000000 0xffffff>;
              bootargs = "console=ttyAMA0 init=/bin/sh";
          };
 
          module@0x4d000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
              reg = <0x0 0x4d000000 0xffffff>;
          };
      };
Signature · 1 line
2.11.0
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#4 lore raw
Quoted 3 lines · Julien Grall

Hi,

Juergen, would you be happy if this patch is committed for Xen 4.13?

Yes, you can add my:

Juergen

Quoted 68 lines

Cheers,

Quoted 64 lines · Stefano Stabellini
Quoted 10 lines · Julien Grall

The binding for the dom0less module does not match Xen implementation. Any module should contain the compatible "multiboot,module" to be recognized.

This was clearly an oversight as other examples with Xen code base provide the compatible "multiboot,module".

So fix the binding and the example associated to it.

Yes!

Quoted 48 lines

---

     We probably want to consolidate all the dom0less documentation in one place rather than having to fix documation issues in a multiple places one by one.
---
  docs/misc/arm/device-tree/booting.txt | 12 ++++++------

  1 file changed, 6 insertions(+), 6 deletions(-)
docs/misc/arm/device-tree/booting.txt +0 -0
index 317a9e962a..0fafa01b5d 100644
@@ -160,7 +160,7 @@ The kernel sub-node has the following properties:

  - compatible
-    "multiboot,kernel"
+    "multiboot,kernel", "multiboot,module"
  - reg

docs/misc/arm/device-tree/booting.txt +0 -0
@@ -175,7 +175,7 @@ The ramdisk sub-node has the following properties:

  - compatible
-    "multiboot,ramdisk"
+    "multiboot,ramdisk", "multiboot,module"
  - reg

docs/misc/arm/device-tree/booting.txt +3 -3
@@ -196,13 +196,13 @@ chosen {
           vpl011;
           module@0x4a000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
               reg = <0x0 0x4a000000 0xffffff>;
               bootargs = "console=ttyAMA0 init=/bin/sh";
           };
           module@0x4b000000 {
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
               reg = <0x0 0x4b000000 0xffffff>;
           };
       };
@@ -215,13 +215,13 @@ chosen {
           cpus = <1>;
           module@0x4c000000 {
-            compatible = "multiboot,kernel";
+            compatible = "multiboot,kernel", "multiboot,module";
               reg = <0x0 0x4c000000 0xffffff>;
               bootargs = "console=ttyAMA0 init=/bin/sh";
           };
           module@0x4d000000 {
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
docs/misc/arm/device-tree/booting.txt +1 -1
-            compatible = "multiboot,ramdisk";
+            compatible = "multiboot,ramdisk", "multiboot,module";
               reg = <0x0 0x4d000000 0xffffff>;
           };
       };
Signature · 1 line
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel