summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2019-08-14 18:02:15 -0700
committerAnup Patel <[email protected]>2019-08-16 08:42:58 +0530
commit75229705a0bf804099fbf32b61d7f6ba459226ec (patch)
tree70b560e35bb5dc9d9bd3d3976bd6c7a1107e1a45 /include
parent897a97a6af31174eb2c6058c6ceb9d3ccc6c6e3c (diff)
platform: Remove the ipi_sync method from all platforms.
OpenSBI manages outstanding TLB flush requests by queueing them in a fifo synchronously. An ipi sync which uses an atomic operation on MMIO address is no longer required. Remove the ipi sync method from platform header and all usage. Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_platform.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h
index 34cd732c..97195c41 100644
--- a/include/sbi/sbi_platform.h
+++ b/include/sbi/sbi_platform.h
@@ -90,8 +90,6 @@ struct sbi_platform_operations {
/** Send IPI to a target HART */
void (*ipi_send)(u32 target_hart);
- /** Wait for target HART to acknowledge IPI */
- void (*ipi_sync)(u32 target_hart);
/** Clear IPI for a target HART */
void (*ipi_clear)(u32 target_hart);
/** Initialize IPI for current HART */
@@ -371,19 +369,6 @@ static inline void sbi_platform_ipi_send(const struct sbi_platform *plat,
}
/**
- * Wait for target HART to acknowledge IPI
- *
- * @param plat pointer to struct sbi_platform
- * @param target_hart HART ID of IPI target
- */
-static inline void sbi_platform_ipi_sync(const struct sbi_platform *plat,
- u32 target_hart)
-{
- if (plat && sbi_platform_ops(plat)->ipi_sync)
- sbi_platform_ops(plat)->ipi_sync(target_hart);
-}
-
-/**
* Clear IPI for a target HART
*
* @param plat pointer to struct sbi_platform