projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc088c3
)
driver/ldpaa_eth:Flush buffer before seeding BMAN after TX_conf
author
Prabhakar Kushwaha
<prabhakar@freescale.com>
Thu, 2 Jul 2015 05:58:57 +0000
(11:28 +0530)
committer
York Sun
<yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:36 +0000
(11:44 -0700)
Flush buffer before releasing to BMan after TX_conf to ensure, the core does
not have any cachelines that the WRIOP will DMA to.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/ldpaa_eth/ldpaa_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ldpaa_eth/ldpaa_eth.c
b/drivers/net/ldpaa_eth/ldpaa_eth.c
index d4be1bada96128ac8a1069460676a8a2a93aedc5..5636511a4f4712e20122a4f40adee067d390b265 100644
(file)
--- a/
drivers/net/ldpaa_eth/ldpaa_eth.c
+++ b/
drivers/net/ldpaa_eth/ldpaa_eth.c
@@
-153,6
+153,7
@@
static void ldpaa_eth_tx_conf(struct ldpaa_eth_priv *priv,
}
}
+ flush_dcache_range(fd_addr, fd_addr + LDPAA_ETH_RX_BUFFER_SIZE);
qbman_release_desc_clear(&releasedesc);
qbman_release_desc_set_bpid(&releasedesc, dflt_dpbp->dpbp_attr.bpid);
do {