From 98454e9bdaba90f91e59249230f21d3bd490fb07 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 4 Mar 2017 09:46:55 +0000 Subject: [PATCH] runtime: remove unnecessary dcache flush. Data cache is write-through, so sending data to DMA doesn't need a flush. --- artiq/firmware/runtime/session.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/artiq/firmware/runtime/session.rs b/artiq/firmware/runtime/session.rs index ad9b6577e..9ed0ba3e2 100644 --- a/artiq/firmware/runtime/session.rs +++ b/artiq/firmware/runtime/session.rs @@ -410,7 +410,6 @@ fn process_kern_message(io: &Io, mut stream: Option<&mut TcpStream>, } &kern::DmaRecordStop(name) => { session.congress.dma_manager.record_stop(name); - board::cache::flush_cpu_dcache(); board::cache::flush_l2_cache(); kern_acknowledge() }