Skip to contentSkip to conversation

arm/docs: Clarify legacy DT bindings on UEFI

PATCH Superseded Luca Fancellu 2 participants 5 messages Oct 13, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/docs: Clarify legacy DT bindings on UEFI

Legacy compatible strings for dom0 modules are not supported when booting using UEFI, the documentation doesn't mention that.

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

---
 docs/misc/arm/device-tree/booting.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/misc/arm/device-tree/booting.txt +2 -0
index c6a775f4e8..017c0f13eb 100644
@@ -51,6 +51,8 @@ Each node contains the following properties:
 	Xen 4.4 supported a different set of legacy compatible strings
 	which remain supported such that systems supporting both 4.4
 	and later can use a single DTB.
+	However when booting Xen using UEFI and Device Tree, the legacy
+	compatible strings are not supported.
 
 	- "xen,multiboot-module" equivalent to "multiboot,module"
 	- "xen,linux-zimage"     equivalent to "multiboot,kernel"
Signature · 1 line
2.17.1
#1 lore raw

Hi Luca,

Quoted 3 lines · Luca Fancellu

Legacy compatible strings for dom0 modules are not supported when booting using UEFI, the documentation doesn't mention that.

Can you add a summary in the commit message why we consider the legacy binding is not supported?

Quoted 14 lines

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

---
  docs/misc/arm/device-tree/booting.txt | 2 ++
  1 file changed, 2 insertions(+)
docs/misc/arm/device-tree/booting.txt +0 -0
index c6a775f4e8..017c0f13eb 100644

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 54

Quoted 4 lines
docs/misc/arm/device-tree/booting.txt +1 -0
@@ -51,6 +51,8 @@ Each node contains the following properties:
  	Xen 4.4 supported a different set of legacy compatible strings
  	which remain supported such that systems supporting both 4.4
  	and later can use a single DTB.
+	However when booting Xen using UEFI and Device Tree, the legacy

NIT: I would drop "and Device Tree" because this feels a bit redundant as this compatible can only be used in the Device-Tree.

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 58

Quoted 5 lines
docs/misc/arm/device-tree/booting.txt +1 -0
+	compatible strings are not supported.
 
  	- "xen,multiboot-module" equivalent to "multiboot,module"
  	- "xen,linux-zimage"     equivalent to "multiboot,kernel"

Cheers,

Signature · 1 line
Julien Grall
#2 lore raw
Quoted 12 lines · Julien Grall

Hi Luca,

Quoted 3 lines · Luca Fancellu

Legacy compatible strings for dom0 modules are not supported when booting using UEFI, the documentation doesn't mention that.

Can you add a summary in the commit message why we consider the legacy binding is not supported?

Yes what about:

Since the introduction of UEFI boot for Xen, the legacy compatible strings were not supported and the stub code was checking only the presence of “multiboot,module” to require the Xen UEFI configuration file or not. The documentation was not updated to specify that behavior.

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

Quoted 10 lines
Quoted 10 lines

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

---
 docs/misc/arm/device-tree/booting.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/misc/arm/device-tree/booting.txt +0 -1
index c6a775f4e8..017c0f13eb 100644
--- a/docs/misc/arm/device-tree/booting.txt
Quoted 8 lines

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 54

Quoted 6 lines

+++ b/docs/misc/arm/device-tree/booting.txt

docs/misc/arm/device-tree/booting.txt +1 -0
@@ -51,6 +51,8 @@ Each node contains the following properties:
 	Xen 4.4 supported a different set of legacy compatible strings
 	which remain supported such that systems supporting both 4.4
 	and later can use a single DTB.
+	However when booting Xen using UEFI and Device Tree, the legacy

NIT: I would drop "and Device Tree" because this feels a bit redundant as this compatible can only be used in the Device-Tree.

I will drop it

Quoted 9 lines

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 58

Quoted 4 lines
docs/misc/arm/device-tree/booting.txt +1 -0
+	compatible strings are not supported.
   	- "xen,multiboot-module" equivalent to "multiboot,module"
 	- "xen,linux-zimage"     equivalent to "multiboot,kernel"

Cheers,

Signature · 1 line
Julien Grall
Acked-by
#3 lore raw

Hi Luca,

Quoted 15 lines · Luca Fancellu
Quoted 12 lines · Julien Grall

Hi Luca,

Quoted 3 lines · Luca Fancellu

Legacy compatible strings for dom0 modules are not supported when booting using UEFI, the documentation doesn't mention that.

Can you add a summary in the commit message why we consider the legacy binding is not supported?

Yes what about:

Quoted 8 lines

Since the introduction of UEFI boot for Xen, the legacy compatible strings were not supported and the stub code was checking only the presence of “multiboot,module” to require the Xen UEFI configuration file or not. The documentation was not updated to specify that behavior.

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

Sounds good to me. You can add my ack on it:

Would you be able to respin the patch with the two changes?

Quoted 20 lines
Quoted 11 lines
Quoted 11 lines

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

---
  docs/misc/arm/device-tree/booting.txt | 2 ++
  1 file changed, 2 insertions(+)
docs/misc/arm/device-tree/booting.txt +0 -1
index c6a775f4e8..017c0f13eb 100644
--- a/docs/misc/arm/device-tree/booting.txt
Quoted 8 lines

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 54

Quoted 6 lines

+++ b/docs/misc/arm/device-tree/booting.txt

docs/misc/arm/device-tree/booting.txt +1 -0
@@ -51,6 +51,8 @@ Each node contains the following properties:
  	Xen 4.4 supported a different set of legacy compatible strings
  	which remain supported such that systems supporting both 4.4
  	and later can use a single DTB.
+	However when booting Xen using UEFI and Device Tree, the legacy

NIT: I would drop "and Device Tree" because this feels a bit redundant as this compatible can only be used in the Device-Tree.

Quoted 12 lines

I will drop it

Quoted 9 lines

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 58

Quoted 4 lines
docs/misc/arm/device-tree/booting.txt +1 -0
+	compatible strings are not supported.
    	- "xen,multiboot-module" equivalent to "multiboot,module"
  	- "xen,linux-zimage"     equivalent to "multiboot,kernel"

Cheers,

Signature · 1 line
Julien Grall

Cheers,

Signature · 1 line
Julien Grall
#4 lore raw
Quoted 26 lines · Julien Grall

Hi Luca,

Quoted 10 lines · Luca Fancellu
Quoted 10 lines · Julien Grall

Hi Luca,

Quoted 3 lines · Luca Fancellu

Legacy compatible strings for dom0 modules are not supported when booting using UEFI, the documentation doesn't mention that.

Can you add a summary in the commit message why we consider the legacy binding is not supported?

Quoted 8 lines

Yes what about:
Since the introduction of UEFI boot for Xen, the legacy compatible strings were not supported and the stub code was checking only the presence of “multiboot,module” to require the Xen UEFI configuration file or not. The documentation was not updated to specify that behavior. Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

Quoted 5 lines

Sounds good to me. You can add my ack on it:

Would you be able to respin the patch with the two changes?

Yes I will, thank you.

Cheers,
Luca

Quoted 34 lines
Quoted 19 lines
Quoted 11 lines
Quoted 11 lines

Add a phrase to docs/misc/arm/device-tree/booting.txt to clarify it.

---
 docs/misc/arm/device-tree/booting.txt | 2 ++
 1 file changed, 2 insertions(+)
docs/misc/arm/device-tree/booting.txt +0 -1
index c6a775f4e8..017c0f13eb 100644
--- a/docs/misc/arm/device-tree/booting.txt
Quoted 8 lines

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 54

Quoted 6 lines

+++ b/docs/misc/arm/device-tree/booting.txt

docs/misc/arm/device-tree/booting.txt +1 -0
@@ -51,6 +51,8 @@ Each node contains the following properties:
 	Xen 4.4 supported a different set of legacy compatible strings
 	which remain supported such that systems supporting both 4.4
 	and later can use a single DTB.
+	However when booting Xen using UEFI and Device Tree, the legacy

NIT: I would drop "and Device Tree" because this feels a bit redundant as this compatible can only be used in the Device-Tree.

Quoted 10 lines

I will drop it

Quoted 9 lines

docs/misc/arm/device-tree/booting.txt Each node contains the following properties: · line 58

Quoted 4 lines
docs/misc/arm/device-tree/booting.txt +1 -0
+	compatible strings are not supported.
   	- "xen,multiboot-module" equivalent to "multiboot,module"
 	- "xen,linux-zimage"     equivalent to "multiboot,kernel"

Cheers,

Signature · 1 line
Julien Grall

Cheers,

Signature · 1 line
Julien Grall