• Ioana Radulescu's avatar
    Revert "dpaa2-eth: configure the cache stashing amount on a queue" · 16fa1cf1
    Ioana Radulescu authored
    This reverts commit f8b99585.
    
    The reverted change instructed the QMan hardware block to fetch
    RX frame annotation and beginning of frame data to cache before
    the core would read them.
    
    It turns out that in rare cases, it's possible that a QMan
    stashing transaction is delayed long enough such that, by the time
    it gets executed, the frame in question had already been dequeued
    by the core and software processing began on it. If the core
    manages to unmap the frame buffer _before_ the stashing transaction
    is executed, an SMMU exception will be raised.
    
    Unfortunately there is no easy way to work around this while keeping
    the performance advantages brought by QMan stashing, so disable
    it altogether.
    Signed-off-by: default avatarIoana Radulescu <ruxandra.radulescu@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    16fa1cf1
dpaa2-eth.c 86.6 KB