lib: sbi: Add system_suspend_allowed domain property
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 27 Feb 2023 10:31:03 +0000 (11:31 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 27 Feb 2023 14:15:28 +0000 (19:45 +0530)
commitc9917b610871e4f9a0142e5c37c2b698177c3291
tree5685156890cc43ed70304ed61080e251a299fd87
parent73623a0acac7f62646757cdd5a03b325eba3e0c9
lib: sbi: Add system_suspend_allowed domain property

Only privileged domains should be allowed to suspend the entire
system. Give the root domain this property by default and allow
other domains to be given the property by specifying it in the
DT.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
docs/domain_support.md
include/sbi/sbi_domain.h
lib/sbi/sbi_domain.c
lib/utils/fdt/fdt_domain.c