From: Wei Liang Lim <weiliang.lim-bONrM45KWFOXmMXjJBpWqg@public.gmane.org>
To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: cheehong.ang-bONrM45KWFOXmMXjJBpWqg@public.gmane.org,
junliang.tan-bONrM45KWFOXmMXjJBpWqg@public.gmane.org,
weiliang.lim-bONrM45KWFOXmMXjJBpWqg@public.gmane.org
Subject: [PATCH v2] schemas: chosen: Add 'boot-hart-id' property
Date: Thu, 5 Jan 2023 10:23:38 +0800 [thread overview]
Message-ID: <20230105022338.562824-1-weiliang.lim@starfivetech.com> (raw)
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
reply other threads:[~2023-01-05 2:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230105022338.562824-1-weiliang.lim@starfivetech.com \
--to=weiliang.lim-bonrm45kwfoxmmxjjbpwqg@public.gmane.org \
--cc=cheehong.ang-bONrM45KWFOXmMXjJBpWqg@public.gmane.org \
--cc=devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=junliang.tan-bONrM45KWFOXmMXjJBpWqg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).