diff options
| author | Yu-Chien Peter Lin <[email protected]> | 2026-03-27 13:49:36 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-05-11 10:11:06 +0530 |
| commit | 8cd279e321ce8eedd2750d3e2ed9a906e43e6e38 (patch) | |
| tree | 5d3e26492643365fa0fdadf9d056d12ad19a37a6 /docs | |
| parent | ae8f28a868513a76e0934dbd2a0a852c295c7051 (diff) | |
lib: fdt_domain: Default boot-hart to coldboot HART for multi-domain boot
When "boot-hart" is not specified, dom->boot_hartid was left as -1U,
causing domain context switching to fail. Default it to the coldboot
HART to enable SMP boot in multi-domain setups, consistent with how
next-arg1 is handled.
Also update its description in domain_support.md.
Signed-off-by: Yu-Chien Peter Lin <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/domain_support.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/domain_support.md b/docs/domain_support.md index 93186c4a..c01e445f 100644 --- a/docs/domain_support.md +++ b/docs/domain_support.md @@ -173,9 +173,9 @@ The DT properties of a domain instance DT node are as follows: Any region of a domain defined in DT node cannot have only M-bits set in access permissions i.e. it cannot be an m-mode only accessible region. * **boot-hart** (Optional) - The DT node phandle of the HART booting the - domain instance. If coldboot HART is assigned to the domain instance then - this DT property is ignored and the coldboot HART is assumed to be the - boot HART of the domain instance. + domain instance. If not specified, defaults to the coldboot HART. Note that + if the coldboot HART is assigned to this domain, it will be forced as + the boot HART regardless of this property. * **next-arg1** (Optional) - The 64 bit next booting stage arg1 for the domain instance. If this DT property is not available and coldboot HART is not assigned to the domain instance then **next booting stage arg1 of coldboot HART** |
