Skip to contentSkip to conversation

docs/efi: Fix wrong compatible in dts example

PATCH In review Luca Fancellu 3 participants 3 messages Dec 2, 2021 – Dec 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/efi: Fix wrong compatible in dts example

The example in section "UEFI boot and dom0less on ARM" has a wrong compatible for the DTB passthrough, it is "ramdisk" instead of "device-tree".
This patch fixes the example.

Fixes a1743fc3a9 ("arm/efi: Use dom0less configuration when using EFI boot")

---
Question: Does it makes sense to backport it to 4.16?

---
 docs/misc/efi.pandoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/efi.pandoc +1 -1
index 4abbb5bb82..abafb34527 100644
@@ -222,7 +222,7 @@ domU1 {
 		xen,uefi-binary = "initrd-3.0.31-0.4-xen";
 	};
 	module@3 {
-		compatible = "multiboot,ramdisk", "multiboot,module";
+		compatible = "multiboot,device-tree", "multiboot,module";
 		xen,uefi-binary = "passthrough.dtb";
 	};
 };
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Luca,

Quoted 9 lines · Luca Fancellu

The example in section "UEFI boot and dom0less on ARM" has a wrong compatible for the DTB passthrough, it is "ramdisk" instead of "device-tree".
This patch fixes the example.

Fixes a1743fc3a9 ("arm/efi: Use dom0less configuration when using EFI boot")
Quoted 2 lines

---
Question: Does it makes sense to backport it to 4.16?

I would vote for that yes.

Regards
Bertrand

Quoted 21 lines

---
docs/misc/efi.pandoc | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
docs/misc/efi.pandoc +1 -1
index 4abbb5bb82..abafb34527 100644
@@ -222,7 +222,7 @@ domU1 {
 		xen,uefi-binary = "initrd-3.0.31-0.4-xen";
 	};
 	module@3 {
-		compatible = "multiboot,ramdisk", "multiboot,module";
+		compatible = "multiboot,device-tree", "multiboot,module";
 		xen,uefi-binary = "passthrough.dtb";
 	};
 };
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#2 lore raw
In reply to Luca Fancellu

Hi Luca,

I have committed the patch with a couple of changes.

Quoted 4 lines · Luca Fancellu

The example in section "UEFI boot and dom0less on ARM" has a wrong compatible for the DTB passthrough, it is "ramdisk" instead of "device-tree".
This patch fixes the example.

I have re-wrapped the commit message to 72-characters rather than 58-characters.

Quoted 2 lines
Fixes a1743fc3a9 ("arm/efi: Use dom0less configuration when using EFI boot")

The sha1 should be 12-characters for Fixes tag. You can configure git to ouput one for you. See [1] for more details.

Quoted 1 line
Quoted 2 lines

---
Question: Does it makes sense to backport it to 4.16?

I think so. I would tend to read the same documentation as the version of Xen I am using. Documentation patches are also not considered risky.

Stefano can you add it in your backport list?

[1] https://xenbits.xen.org/docs/unstable/process/tags.html

Signature · 1 line
Julien Grall