[PATCH v2] schemas: chosen: Add 'boot-hart-id' property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Signed-off-by: Wei Liang Lim <weiliang.lim@xxxxxxxxxxxxxxxx>
Reviewed-by: Chee Hong Ang <cheehong.ang@xxxxxxxxxxxxxxxx>
Reviewed-by: Jun Liang Tan <junliang.tan@xxxxxxxxxxxxxxxx>
---
 dtschema/schemas/chosen.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dtschema/schemas/chosen.yaml b/dtschema/schemas/chosen.yaml
index 86194dd..ead3691 100644
--- a/dtschema/schemas/chosen.yaml
+++ b/dtschema/schemas/chosen.yaml
@@ -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
-- 
2.25.1




[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux