commit | df1ec1b9d0df57e96011f175418dc95b1af46821 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@codeaurora.org> | Wed Oct 11 14:52:25 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 11 16:01:56 2017 -0700 |
tree | 6517b0971be884eaf91b521cbfbb95bd9969f498 | |
parent | 3958ffcd85060967a9c70bb92b21741073578d66 [diff] |
net: qcom/emac: enforce DMA address restrictions The EMAC has a restriction that the upper 32 bits of the base addresses for the RFD and RRD rings must be the same. The ensure that restriction, we allocate twice the space for the RRD and locate it at an appropriate address. We also re-arrange the allocations so that invalid addresses are even less likely. Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>