[PATCH v2 3/4] platform: andes/ae350: Drop plicsw_get_pending()
Anup Patel
Anup.Patel at wdc.com
Thu Jun 10 22:53:58 PDT 2021
> -----Original Message-----
> From: Bin Meng <bmeng.cn at gmail.com>
> Sent: 04 June 2021 21:06
> To: Anup Patel <Anup.Patel at wdc.com>; opensbi at lists.infradead.org
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Subject: [PATCH v2 3/4] platform: andes/ae350: Drop plicsw_get_pending()
>
> This is not used anywhere. Drop it.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
Looks good to me.
Reviewed-by: Anup Patel <anup.patel at wdc.com>
Applied this patch to the riscv/opensbi repo
Thanks,
Anup
> ---
>
> Changes in v2:
> - new patch: Drop plicsw_get_pending()
>
> platform/andes/ae350/plicsw.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/platform/andes/ae350/plicsw.c b/platform/andes/ae350/plicsw.c
> index 4df7317..edbbb11 100644
> --- a/platform/andes/ae350/plicsw.c
> +++ b/platform/andes/ae350/plicsw.c
> @@ -33,12 +33,6 @@ static inline void plicsw_complete(void)
> writel(source, plicsw_dev[source_hart].plicsw_claim);
> }
>
> -static inline u32 plicsw_get_pending(u32 source_hart, u32 target_hart) -{
> - return readl(plicsw_dev[source_hart].plicsw_pending)
> - & (PLICSW_HART_MASK >> target_hart);
> -}
> -
> static inline void plic_sw_pending(u32 target_hart) {
> /*
> --
> 2.25.1
More information about the opensbi
mailing list