From: Karl Beldan Date: Mon, 15 Aug 2016 17:22:59 +0000 Subject: [U-Boot] [PATCH v2 0/2] davinci emac dcache ops on buffers Message-ID: <20160815172301.4490-1-karl.beldan+oss@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Changes from v1: - Prefer dcache_op(base, base + ALIGN(len, PKTALIGN)) to dcache_op(base, round_up(base + len, ARCH_DMA_MINALIGN)) as suggested by Tom and Joe. - In v2_1/2, explicitly align the top tx buffers only since the rx top ones are obviously already properly aligned. Karl Beldan (2): net: davinci_emac: Round up top tx buffer boundaries for dcache ops net: davinci_emac: Invalidate only the received portion of a buffer drivers/net/davinci_emac.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.9.2