Commit 66619433 authored by Noam Camus's avatar Noam Camus Committed by Vineet Gupta

ARC: [plat-eznps] remove IPI clear from SMP operations

Today we register to plat_smp_ops.clear() method which actually
is acking the IPI.
However this is already taking care by our irqchip driver specifically
by the irq_chip.irq_eoi() method.
This is perfect timing where it should be done and no special handling
is needed at plat_smp_ops.clear().
Signed-off-by: default avatarNoam Camus <noamca@mellanox.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 76a08404
...@@ -140,16 +140,10 @@ static void eznps_init_per_cpu(int cpu) ...@@ -140,16 +140,10 @@ static void eznps_init_per_cpu(int cpu)
mtm_enable_core(cpu); mtm_enable_core(cpu);
} }
static void eznps_ipi_clear(int irq)
{
write_aux_reg(CTOP_AUX_IACK, 1 << irq);
}
struct plat_smp_ops plat_smp_ops = { struct plat_smp_ops plat_smp_ops = {
.info = smp_cpuinfo_buf, .info = smp_cpuinfo_buf,
.init_early_smp = eznps_init_cpumasks, .init_early_smp = eznps_init_cpumasks,
.cpu_kick = eznps_smp_wakeup_cpu, .cpu_kick = eznps_smp_wakeup_cpu,
.ipi_send = eznps_ipi_send, .ipi_send = eznps_ipi_send,
.init_per_cpu = eznps_init_per_cpu, .init_per_cpu = eznps_init_per_cpu,
.ipi_clear = eznps_ipi_clear,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment