diff options
author | Jayesh Choudhary <[email protected]> | 2022-11-28 14:20:05 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-12-28 16:34:14 +0530 |
commit | efab25894a41a920d9581183741e7fadba00719c (patch) | |
tree | 1c633648317ed9c1cf3f328769758040bad8020c /lib/memory-notifier-error-inject.c | |
parent | 6744a030d81e456883bfbb627ac1f30465c1a989 (diff) |
dmaengine: ti: k3-udma: Do conditional decrement of UDMA_CHAN_RT_PEER_BCNT_REG
PSIL_EP_NATIVE endpoints may not have PEER registers for BCNT and thus
udma_decrement_byte_counters() should not try to decrement these counters.
This fixes the issue of crypto IPERF testing where the client side (EVM)
hangs without transfer of packets to the server side, seen since this
function was added.
Fixes: 7c94dcfa8fcf ("dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow")
Signed-off-by: Jayesh Choudhary <[email protected]>
Acked-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions