From patchwork Tue Apr 16 01:38:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10901777 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 93D9314DB for ; Tue, 16 Apr 2019 01:42:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DD0D2898D for ; Tue, 16 Apr 2019 01:42:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7264528990; Tue, 16 Apr 2019 01:42:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 24DA52898D for ; Tue, 16 Apr 2019 01:42:29 +0000 (UTC) Received: from localhost ([127.0.0.1]:57836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGD7E-0008UR-FI for patchwork-qemu-devel@patchwork.kernel.org; Mon, 15 Apr 2019 21:42:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGD4R-0006Rx-DI for qemu-devel@nongnu.org; Mon, 15 Apr 2019 21:39:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGD4Q-0007nt-F7 for qemu-devel@nongnu.org; Mon, 15 Apr 2019 21:39:35 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:41511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hGD4O-0007lw-8r; Mon, 15 Apr 2019 21:39:32 -0400 Received: by mail-pf1-x429.google.com with SMTP id 188so9522595pfd.8; Mon, 15 Apr 2019 18:39:31 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=mAOovaqXC3eW8KbfZy9zueBheQL2BmRbn3rOTUCb8bM=; b=B0Uvp4MHidxmn1CzZFKEJJmu4P3IKq9j7g4bQ9NfDvTQGhTH/jPqfshiIeaeUX9Vkx +QsC1YuvANTEV8L68r/KYog2U++BHuwDBlNzIkB50aAsegzF5UGtYZU+Ocr8QY8EF9My ju7UujWCCbmteXtaLN7uNyZVSz90lkoX5gIaYm4vqhQI39W5A+MovgQQzqKZQksIKaaq KundtRgSryWIwDH7nz67YtbdWLiAiziW7axYA0pU4R5v4AC8Z6ZCG0Jd8Vpqs0ijsrkt PdhanK/zVwCEMnBdyyVDnJcvu+cL4hjaW1KqSO8gbNKKvWGosvGEn8OXi6R+34Dlj0Ra OjYw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=mAOovaqXC3eW8KbfZy9zueBheQL2BmRbn3rOTUCb8bM=; b=fzypunVzdEtdm+atPWpy+Tpacz3xLntmU6zdkvq9vRrReBjc+vGIo94AJlSDH9ASlH uGSCk4f+z3L0SzbRlR6tFlY7mJs4inRfyVB4ZNLZjYnRpZZJeIg87dsqcUcjXk4drrj7 72Gby5YmZzoGwhl+FYub1v9rfYK71kqO5qv9VDFMqbLWgO6DnHluZZizb/BMf2A/RqnY /sBbyN8rG8vHOYTzKUZZu8M8lfAhdgsH9FwxsoxAxVaefTII4X1ldEhMNYLl2IvzSUus qfzX/iEDiQB3NVD6cTwEEP4uF6KzDrWnJpaE7kimm5ffQlJh63v4rGbZ7miUJNMQRiwN 9VWg== X-Gm-Message-State: APjAAAVs6UlmGu4A7XRxbdmDSDNOxrGMe28g1ZekY/o/ao4K/dVcwBpE R2kgWtCxkooFph1VEnPZZ8jClw7S X-Google-Smtp-Source: APXvYqxGQ5MeveRCKpiggKVn95hjJ5QhRSTQmnigJQZEKd7EX1rz0BxywhIlXXPWzwu4ST2vnThQKA== X-Received: by 2002:a63:115c:: with SMTP id 28mr44654575pgr.270.1555378770144; Mon, 15 Apr 2019 18:39:30 -0700 (PDT) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id v20sm74710362pfn.116.2019.04.15.18.39.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Apr 2019 18:39:29 -0700 (PDT) From: Andrey Smirnov To: qemu-arm@nongnu.org Date: Mon, 15 Apr 2019 18:38:58 -0700 Message-Id: <20190416013902.4941-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190416013902.4941-1-andrew.smirnov@gmail.com> References: <20190416013902.4941-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::429 Subject: [Qemu-devel] [PATCH 1/5] i.mx7d: Add no-op/unimplemented APBH DMA module 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: Andrey Smirnov , Peter Maydell , qemu-devel@nongnu.org, "Michael S . Tsirkin" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Instantiate no-op APBH DMA module. Needed to boot latest Linux kernel. Signed-off-by: Andrey Smirnov Cc: Peter Maydell Cc: Michael S. Tsirkin Cc: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org --- include/hw/arm/fsl-imx7.h | 3 +++ hw/arm/fsl-imx7.c | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h index d848262bfd..aae4f860fc 100644 --- a/include/hw/arm/fsl-imx7.h +++ b/include/hw/arm/fsl-imx7.h @@ -179,6 +179,9 @@ enum FslIMX7MemoryMap { FSL_IMX7_PCIE_REG_SIZE = 16 * 1024, FSL_IMX7_GPR_ADDR = 0x30340000, + + FSL_IMX7_DMA_APBH_ADDR = 0x33000000, + FSL_IMX7_DMA_APBH_SIZE = 0x2000, }; enum FslIMX7IRQs { diff --git a/hw/arm/fsl-imx7.c b/hw/arm/fsl-imx7.c index 7663ad6861..1abfa5910c 100644 --- a/hw/arm/fsl-imx7.c +++ b/hw/arm/fsl-imx7.c @@ -526,6 +526,12 @@ static void fsl_imx7_realize(DeviceState *dev, Error **errp) */ create_unimplemented_device("lcdif", FSL_IMX7_LCDIF_ADDR, FSL_IMX7_LCDIF_SIZE); + + /* + * DMA APBH + */ + create_unimplemented_device("dma-apbh", FSL_IMX7_DMA_APBH_ADDR, + FSL_IMX7_DMA_APBH_SIZE); } static void fsl_imx7_class_init(ObjectClass *oc, void *data)