summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac02be1)
raw | patch | inline | side by side (parent: ac02be1)
author | Wendy Liang <jliang@xilinx.com> | |
Tue, 2 Aug 2016 20:13:56 +0000 (13:13 -0700) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Thu, 13 Oct 2016 05:01:46 +0000 (22:01 -0700) |
We should not flush all caches in the remoteproc driver when
it receives a kick from the other end or before it kick the
other end.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
it receives a kick from the other end or before it kick the
other end.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/remoteproc/drivers/zynqmp_remoteproc_a53.c | patch | blob | history |
diff --git a/lib/remoteproc/drivers/zynqmp_remoteproc_a53.c b/lib/remoteproc/drivers/zynqmp_remoteproc_a53.c
index 26980affec66d4b033902b06bf06847fd510c5f4..1a4096e183e20970f7997525795755f63c9cd095 100644 (file)
unsigned int ipi_intr_status =
(unsigned int)metal_io_read32(io, IPI_ISR_OFFSET);
if (ipi_intr_status & ipi->ipi_chn_mask) {
- platform_dcache_all_flush();
platform_isr(vect_id, data);
metal_io_write32(io, IPI_ISR_OFFSET,
ipi->ipi_chn_mask);
struct ipi_info *ipi = (struct ipi_info *)(intr_info->data);
if (ipi == NULL)
return;
- platform_dcache_all_flush();
/* Trigger IPI */
metal_io_write32(intr_info->io, IPI_TRIG_OFFSET, ipi->ipi_chn_mask);