]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/open-amp.git/commitdiff
remove memory barrier from zynqmp remoteproc driver
authorWendy Liang <jliang@xilinx.com>
Wed, 1 Jun 2016 23:16:32 +0000 (16:16 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:42 +0000 (22:01 -0700)
As memory barrier is already called in virtio before
kicking the remote. It is not required to call again before
raising the IPI interrupt.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/remoteproc/drivers/zynqmp_remoteproc_a53.c

index a18c6d86474dbd895640906d580d7ccb58c50348..40d69cf98cdc90a4a789131b6dc3d8bed1abb062 100644 (file)
@@ -158,7 +158,6 @@ static void _notify(int cpu_id, struct proc_intr *intr_info)
        if (chn_ipi_info == NULL)
                return;
        platform_dcache_all_flush();
-       env_wmb();
 
        /* Trigger IPI */
        HIL_MEM_WRITE32((chn_ipi_info->ipi_base_addr + IPI_TRIG_OFFSET),