From: Simon Horman <horms+renesas@xxxxxxxxxxxx> Date: Thu, 26 Jan 2017 14:29:27 +0100 > From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@xxxxxxxxxxx> > > "swiotlb buffer is full" errors occur after repeated initialisation of a > device - f.e. suspend/resume or ip link set up/down. This is because memory > mapped using dma_map_single() in ravb_ring_format() and ravb_start_xmit() > is not released. Resolve this problem by unmapping descriptors when > freeing rings. > > Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper") > Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@xxxxxxxxxxx> > [simon: reworked] > Signed-off-by: Simon Horman <horms+renesas@xxxxxxxxxxxx> Applied, thanks Simon.