summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2025-09-04 10:54:09 +0530
committerAnup Patel <[email protected]>2025-09-16 09:56:31 +0530
commit85f22b38c8b8c00812b0ea277ac212d82d169b9e (patch)
tree94ab51b6e551e03dc78d8a67c805936408b2fa62 /include
parentee92afa63892cd6c536b623570d8ddde14760c0b (diff)
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 <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Tested-by: Nick Hu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_platform.h17
1 files changed, 0 insertions, 17 deletions
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);
@@ -529,20 +526,6 @@ static inline int sbi_platform_irqchip_init(const struct sbi_platform *plat)
}
/**
- * 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
*
* @param plat pointer to struct sbi_platform