lib: sbi: Auto start domain only if boot HART within limits
authorAnup Patel <anup.patel@wdc.com>
Wed, 11 Nov 2020 05:13:11 +0000 (10:43 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 4 Dec 2020 12:27:46 +0000 (17:57 +0530)
commitc709d40a671f38bf956532a8d573c14d327d66e5
tree8e99147c0eeb34366bc4fd80255d84fd37cde073
parent4e370224dff1a3e9886165dd7b429016d8907c5f
lib: sbi: Auto start domain only if boot HART within limits

The sbi_domain_finalize() should auto start a domain only if the
boot HART is withing limits (i.e. less than SBI_HARTMASK_MAX_BITS).

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_domain.c