lib: sbi: Enable mie.MEIE bit for IPIs based on external interrupts.
authorAnup Patel <apatel@ventanamicro.com>
Tue, 29 Jun 2021 07:59:52 +0000 (13:29 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 15 Feb 2022 15:05:45 +0000 (20:35 +0530)
commit55e79f823dfa65022a561d3078ac50d49262e246
tree8cd605277b2e32a49c18a06d9134747b6b3e4ad9
parent10509405b2722d25389280b7d914579a16e2eb7e
lib: sbi: Enable mie.MEIE bit for IPIs based on external interrupts.

We can have IPIs based on external interrupts provided by devices
such as AIA IMSIC so we should enable mie.MEIE bit at appropriate
places in generic library.

Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
lib/sbi/sbi_hsm.c
lib/sbi/sbi_init.c