lib: Initialize TLB management directly from coldboot/warmboot path
authorAnup Patel <anup.patel@wdc.com>
Wed, 15 Jan 2020 08:01:12 +0000 (13:31 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 22 Jan 2020 06:40:49 +0000 (12:10 +0530)
commit84cd4fc913e6475083f0a15993f2b4ad0705c717
tree030f032e7665506f982a8bfecf623cd76f519a10
parent817d50d0d477c2e830b92c3afb523711ca0bae3f
lib: Initialize TLB management directly from coldboot/warmboot path

Currently, the remote TLB management is initialized via IPI init
which is counter intuitive. This patch initializes remote TLB
management directly from init_coldboot() and init_warmboot()
after IPI init is done.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_init.c
lib/sbi/sbi_ipi.c