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 <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Atish Patra
2019-08-14 18:02:15 -07:00
committed by Anup Patel
parent 897a97a6af
commit 75229705a0
8 changed files with 0 additions and 53 deletions

View File

@@ -124,15 +124,6 @@ static void platform_ipi_send(u32 target_hart)
clint_ipi_send(target_hart);
}
/*
* Wait for target HART to acknowledge IPI.
*/
static void platform_ipi_sync(u32 target_hart)
{
/* Example if the generic CLINT driver is used */
clint_ipi_sync(target_hart);
}
/*
* Clear IPI for a target HART.
*/
@@ -216,7 +207,6 @@ const struct sbi_platform_operations platform_ops = {
.console_init = platform_console_init,
.irqchip_init = platform_irqchip_init,
.ipi_send = platform_ipi_send,
.ipi_sync = platform_ipi_sync,
.ipi_clear = platform_ipi_clear,
.ipi_init = platform_ipi_init,
.timer_value = platform_timer_value,