lib: sbi: Use AIA CSRs for local interrupts when available
authorAnup Patel <apatel@ventanamicro.com>
Tue, 6 Apr 2021 10:40:00 +0000 (16:10 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 15 Feb 2022 15:03:31 +0000 (20:33 +0530)
commit65b4c7c01e7447c4d762af905a5051e13361b31e
treebdb410d856a468c92187c1eb8f1e5ab992966a03
parent8f9607006789512ceae703e82e62566873a83aaa
lib: sbi: Use AIA CSRs for local interrupts when available

We should use AIA CSRs to process local interrupts whenever AIA
is available.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
lib/sbi/sbi_trap.c