diff options
| author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2016-02-29 14:27:31 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-03-02 14:21:31 -0500 |
| commit | 553e2ab3130e9c3d234bee0c80a2a1e5057c8f9a (patch) | |
| tree | dd5dba3def9765fea5f314e97023e17dae1bf08f /scripts/patch-kernel | |
| parent | e3ad57c96715df2989ce6c18e58faf2913b305cb (diff) | |
| download | cachepc-linux-553e2ab3130e9c3d234bee0c80a2a1e5057c8f9a.tar.gz cachepc-linux-553e2ab3130e9c3d234bee0c80a2a1e5057c8f9a.zip | |
stmmac: add length field to dma data
Currently, the code pulls out the length field when
unmapping a buffer directly from the descriptor. This will result
in an uncached read to a dma_alloc_coherent() region. There is no
need to do this, so this patch simply puts the value directly into
a data structure which will hit the cache.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
