devicetree-spec.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] schemas: chosen: Add 'boot-hart-id' property
@ 2023-01-05  2:23 Wei Liang Lim
  0 siblings, 0 replies; only message in thread
From: Wei Liang Lim @ 2023-01-05  2:23 UTC (permalink / raw)
  To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA
  Cc: cheehong.ang-bONrM45KWFOXmMXjJBpWqg,
	junliang.tan-bONrM45KWFOXmMXjJBpWqg,
	weiliang.lim-bONrM45KWFOXmMXjJBpWqg

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-bONrM45KWFOXmMXjJBpWqg@public.gmane.org>
Reviewed-by: Chee Hong Ang <cheehong.ang-bONrM45KWFOXmMXjJBpWqg@public.gmane.org>
Reviewed-by: Jun Liang Tan <junliang.tan-bONrM45KWFOXmMXjJBpWqg@public.gmane.org>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-05  2:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05  2:23 [PATCH v2] schemas: chosen: Add 'boot-hart-id' property Wei Liang Lim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).