From patchwork Sun Apr 29 00:43:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francisco Iglesias X-Patchwork-Id: 906233 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="f89VKP51"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40YTTQ3bZZz9s1s for ; Sun, 29 Apr 2018 10:44:41 +1000 (AEST) Received: from localhost ([::1]:53996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCaRp-0007bz-Qx for incoming@patchwork.ozlabs.org; Sat, 28 Apr 2018 20:44:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCaRF-0007bo-31 for qemu-devel@nongnu.org; Sat, 28 Apr 2018 20:43:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCaRC-0004T8-18 for qemu-devel@nongnu.org; Sat, 28 Apr 2018 20:43:37 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:41505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCaRB-0004St-Oe for qemu-devel@nongnu.org; Sat, 28 Apr 2018 20:43:33 -0400 Received: by mail-lf0-x244.google.com with SMTP id o123-v6so7677636lfe.8 for ; Sat, 28 Apr 2018 17:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RwGNzdOq5I5ZVdiQxO7kUr5A3ICjbfNSiJVJRsDt1YM=; b=f89VKP51bavD94HPxZZAdzmsYE7MB8PJ28pF/K8fr8oTNzHnMJHF4R+HaDc4+8tFZJ jhn5WovU8Wb1tC581gbBi8CLQSPJaeiR5kRzDu6m6ov/YkYJCqcSoCQC4tZ0RZ9nSuDy /i16M96wuP9bv03z//xGXi+25MF3bnCA33fuDXdmeoBaSY9o8Vk3pj52io5eFMBuD998 zITsRrUxV2JPyIxWZON/QeL2mr3JwtXrDn31B88v5CTObnTohQjiYS5rkzRIxcmZqakG AdJJyZ/OMLD1J5O6KmgaAYKvu9W+22PJvxDn9la/jkhaptQiiiaErL3tYZiXU6Tc7KRJ 1X5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RwGNzdOq5I5ZVdiQxO7kUr5A3ICjbfNSiJVJRsDt1YM=; b=HjHFlwSn3aOeF+jzl2r+diD4JE5DBjtyAERAtIlRpvD3gT9I5LvPEq4H/3Qo83SLdA pK7FsHn4PghmEO3LrE6r42S7ejDQVRZY3LJSp7XEoWkm9KAdkGkgz8zfsUHzSpnAw//a C69A3SbehjQvdndukQcHSzkKF+gmsf2RPklcDK1c/kjnj2MeeQSG+jt5SohvnNGNoY/R cexwVAnWLXSxG/I+HmxxYYB4eewCYL1ao72Nv50tSGzH5EafIiHFKH1qfHWJYzye6j/9 5kPc1Kt4bfo47KYrUohuXU63YNDOA1xDMQf+O//UBtCsf6gGlMutkH5FBx7dkRR4I+J1 1aRA== X-Gm-Message-State: ALQs6tCqKgGoFik8362kU0Tgi/IKzjdxyq2d1VJ+r8AcItA6/swXMUyL qc+GdicD3pFSGvwKDYX57nVcLg== X-Google-Smtp-Source: AB8JxZo35Zem8S08OciTCzp3A3Ty958gKkzu4d9MJq5Q9VIGzOt5/Cv+UivCC+NgOw4ZWiGvvNRq4Q== X-Received: by 2002:a19:6d02:: with SMTP id i2-v6mr4631683lfc.81.1524962611843; Sat, 28 Apr 2018 17:43:31 -0700 (PDT) Received: from localhost.localdomain (94-255-130-40.cust.bredband2.com. [94.255.130.40]) by smtp.gmail.com with ESMTPSA id y23-v6sm425941ljh.88.2018.04.28.17.43.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Apr 2018 17:43:31 -0700 (PDT) From: Francisco Iglesias To: qemu-devel@nongnu.org Date: Sun, 29 Apr 2018 02:43:27 +0200 Message-Id: <20180429004329.21067-1-frasse.iglesias@gmail.com> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PATCH v1 0/2] xlnx-zynqmp: Add emulation of the ZynqMP GDMA and ADMA X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, francisco.iglesias@feimtech.se, sai.pavan.boddu@xilinx.com, alistair@alistair23.me, edgari@xilinx.com, alistair23@gmail.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 Francisco Iglesias (2): xlnx-zdma: Add a model of the Xilinx ZynqMP generic DMA xlnx-zynqmp: Connect the ZynqMP GDMA and ADMA hw/arm/xlnx-zynqmp.c | 53 +++ hw/dma/Makefile.objs | 1 + hw/dma/xlnx-zdma.c | 833 +++++++++++++++++++++++++++++++++++++++++++ include/hw/arm/xlnx-zynqmp.h | 5 + include/hw/dma/xlnx-zdma.h | 84 +++++ 5 files changed, 976 insertions(+) create mode 100644 hw/dma/xlnx-zdma.c create mode 100644 include/hw/dma/xlnx-zdma.h