From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJLHP-00079r-Md for qemu-devel@nongnu.org; Thu, 17 May 2018 11:57:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJLHO-0000aQ-QE for qemu-devel@nongnu.org; Thu, 17 May 2018 11:57:23 -0400 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]:40668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJLHO-0000aC-IQ for qemu-devel@nongnu.org; Thu, 17 May 2018 11:57:22 -0400 Received: by mail-pl0-x241.google.com with SMTP id t12-v6so2797821plo.7 for ; Thu, 17 May 2018 08:57:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20180503214201.29082-1-frasse.iglesias@gmail.com> From: francisco iglesias Date: Thu, 17 May 2018 17:57:20 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v3 0/2] xlnx-zynqmp: Add emulation of the ZynqMP GDMA and ADMA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Edgar Iglesias , Sai Pavan Boddu , Alistair Francis , Alistair Francis , Francisco Iglesias Hi Peter, Thank you! (And thank you Edgar, Alistair and Sai for reviewing!) Best regards, Francisco On Thursday, 17 May 2018, Peter Maydell wrote: > On 3 May 2018 at 22:41, Francisco Iglesias > wrote: > > Hi, > > > > The ZynqMP Soc contains two separate instances of a generic DMA, one > located in > > the FPD (full power domain) called GDMA and a second one located in the > LPD > > (low power domain) called ADMA. This patch series attempts to add > emulation > > support for these two DMAs on the ZynqMP board. The first patch in the > series > > adds a model of the ZynqMP generic DMA (the ZDMA). The second patch in > the > > series connects the two instances of the ZDMA, the GDMA and the ADMA, to > the > > ZynqMP board. > > > > Best regards, > > Francisco Iglesias > > > > Changelog: > > v2 -> v3 > > * Use sizeof(s->dsc_dst) as the memcpy length when loading dsc_dst. > > * Remove an unnecessary qemu_log. > > * Move the setting of DMA_DONE til after the DMA transfer while loop. > > * Add dsc_src and dsc_dst to vmstate_zdma. > > > > v1 -> v2 > > * Don't unpause the DMA channel if CONT is zero and clear CONT after > > unpausing. > > * Added 'state' to the vmstate_zdma. > > * Renamed defines and variables in 'xlnx-zynqmp: Connect the ZynqMP > GDMA and > > ADMA' to better reflect they are channels variables. > > Applied to target-arm.next, thanks. > > -- PMM >