Skip to contentSkip to conversation

schemas: chosen: Add 'boot-hart-id' property

PATCH New Wei Liang Lim 1 participant 1 message Jan 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 schemas: chosen: Add 'boot-hart-id' property

Add 'boot-hart-id' property to allow user to specify preferred cold boot HART for RISCV architecture in OpenSBI firmware. If unspecified, the default lottery mechanism will be used to randomly select the cold boot hart. This is mainly to solve some product requirements which a preferred cold boot hart is required.

---
 dtschema/schemas/chosen.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
dtschema/schemas/chosen.yaml +7 -0
index 86194dd..ead3691 100644
@@ -31,6 +31,13 @@ properties:
 
   bootargs:
     $ref: types.yaml#/definitions/string
+    
+  boot-hart-id:
+    $ref: types.yaml#/definitions/uint32
+    description:
+      This property is an option for user to specify the preferred cold boot
+      HART for RISCV architecture in OpenSBI firmware. If unspecified, the
+      default lottery mechanism will be used.
 
   kaslr-seed:
     $ref: types.yaml#/definitions/uint64
Signature · 1 line
2.25.1