From 85f22b38c8b8c00812b0ea277ac212d82d169b9e Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Thu, 4 Sep 2025 10:54:09 +0530 Subject: include: sbi: Remove platform specific IPI init The platform specfic IPI init is not need anymore because using IPI device rating multiple IPI devices can be registered in any order as part of the platform specific early init. Signed-off-by: Anup Patel Reviewed-by: Samuel Holland Tested-by: Nick Hu Link: https://lore.kernel.org/r/20250904052410.546818-3-apatel@ventanamicro.com Signed-off-by: Anup Patel --- include/sbi/sbi_platform.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'include') diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h index c6d30080..d75c12de 100644 --- a/include/sbi/sbi_platform.h +++ b/include/sbi/sbi_platform.h @@ -116,9 +116,6 @@ struct sbi_platform_operations { /** Initialize the platform interrupt controller during cold boot */ int (*irqchip_init)(void); - /** Initialize IPI during cold boot */ - int (*ipi_init)(void); - /** Get tlb flush limit value **/ u64 (*get_tlbr_flush_limit)(void); @@ -528,20 +525,6 @@ static inline int sbi_platform_irqchip_init(const struct sbi_platform *plat) return 0; } -/** - * Initialize the platform IPI support during cold boot - * - * @param plat pointer to struct sbi_platform - * - * @return 0 on success and negative error code on failure - */ -static inline int sbi_platform_ipi_init(const struct sbi_platform *plat) -{ - if (plat && sbi_platform_ops(plat)->ipi_init) - return sbi_platform_ops(plat)->ipi_init(); - return 0; -} - /** * Initialize the platform timer during cold boot * -- cgit v1.3.1