[PATCH 17/17] lib: utils/irqchip: Use scratch space to save per-HART IMSIC pointer

Andrew Jones ajones at ventanamicro.com
Wed May 31 06:34:36 PDT 2023


On Tue, Apr 25, 2023 at 06:02:30PM +0530, Anup Patel wrote:
> Instead of using a global array indexed by hartid, we should use
> scratch space to save per-HART IMSIC pointer and IMSIC file number.
> 
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
>  lib/utils/irqchip/fdt_irqchip_imsic.c |  4 +-
>  lib/utils/irqchip/imsic.c             | 87 ++++++++++++++++++++++-----
>  2 files changed, 74 insertions(+), 17 deletions(-)
>

Reviewed-by: Andrew Jones <ajones at ventanamicro.com>



More information about the opensbi mailing list