[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191015.205103.1828715161134282651.davem@davemloft.net>
Date: Tue, 15 Oct 2019 20:51:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tbogendoerfer@...e.de
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: i82596: fix dma_alloc_attr for sni_82596
From: Thomas Bogendoerfer <tbogendoerfer@...e.de>
Date: Tue, 15 Oct 2019 16:42:45 +0200
> Commit 7f683b920479 ("i825xx: switch to switch to dma_alloc_attrs")
> switched dma allocation over to dma_alloc_attr, but didn't convert
> the SNI part to request consistent DMA memory. This broke sni_82596
> since driver doesn't do dma_cache_sync for performance reasons.
> Fix this by using different DMA_ATTRs for lasi_82596 and sni_82596.
>
> Fixes: 7f683b920479 ("i825xx: switch to switch to dma_alloc_attrs")
> Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@...e.de>
Applied and queued up for -stable.
Powered by blists - more mailing lists