Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754788AbcKYONA convert rfc822-to-8bit (ORCPT ); Fri, 25 Nov 2016 09:13:00 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:42408 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754271AbcKYOMv (ORCPT ); Fri, 25 Nov 2016 09:12:51 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Mason Cc: Vinod Koul , dmaengine@vger.kernel.org, Linus Walleij , Dan Williams , LKML , Linux ARM , Jon Mason , Mark Brown , Lars-Peter Clausen , Lee Jones , Laurent Pinchart , Arnd Bergmann , Maxime Ripard , Dave Jiang , Peter Ujfalusi , Bartlomiej Zolnierkiewicz Subject: Re: Tearing down DMA transfer setup after DMA client has finished References: <58356EA8.2010806@free.fr> <20161125045549.GC2698@localhost> Date: Fri, 25 Nov 2016 14:12:49 +0000 In-Reply-To: (Mason's message of "Fri, 25 Nov 2016 15:05:05 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 617 Lines: 20 Mason writes: > On 25/11/2016 12:57, M?ns Rullg?rd wrote: > >> The same DMA unit is also used for SATA, which is an off the shelf >> Designware controller with an in-kernel driver. This interrupt timing >> glitch can actually explain some intermittent errors I've observed with >> it. > > FWIW, newer chips embed an AHCI controller, with a dedicated > memory channel. > > FWIW2, the HW dev said memory channels are "almost free", and he > would have no problem giving each device their own private channel > read/write pair. We still need to deal with the existing hardware. -- M?ns Rullg?rd