From patchwork Mon Jul 1 16:39:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 1125774 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=209.51.188.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=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ThIts78I"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45d6m00f5Yz9s00 for ; Tue, 2 Jul 2019 11:56:14 +1000 (AEST) Received: from localhost ([::1]:47058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi81j-000214-DW for incoming@patchwork.ozlabs.org; Mon, 01 Jul 2019 21:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53552) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi4GO-00084x-MY for qemu-devel@nongnu.org; Mon, 01 Jul 2019 17:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi4GN-0006Mp-HX for qemu-devel@nongnu.org; Mon, 01 Jul 2019 17:55:04 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:52596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hi4GN-0006Ld-9n for qemu-devel@nongnu.org; Mon, 01 Jul 2019 17:55:03 -0400 Received: by mail-wm1-f52.google.com with SMTP id s3so951591wms.2 for ; Mon, 01 Jul 2019 14:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=hD++A+b60c+NWWs//dc/hO0mhFB2lXMUgW0Rk7HhCUs=; b=ThIts78IEayGhVVTq3zLoFOLx0+Cor7bh+IkeOmhrKfVqUJtsAE5VUlL8+sNUK3+mV /Xl07I7yPiKE9Us6zgB8M3d4tSKUMKNqqqwFrLAASgkvMAJuOVYLAhMcAdoU782m+stJ CMG16B7V6gmL0Q6RktSpuzAoVuf6W2n1UJEshE71tfn/HmNJVRgc1cknOzZFK/43pr08 Dy4Xiu6nhxcZSNpb3a7gL+D9kB0sOtJfnJxSvSERxYM8qay8fsLdSqeKwwyqh35y54Uv 2Zkm0+ZHRi+9EzYtyTBpRK/o9MDnt8ge6mNpDtL89oCwvyU2ZqrpaQP8M3z+DTQ1jct8 qbcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hD++A+b60c+NWWs//dc/hO0mhFB2lXMUgW0Rk7HhCUs=; b=ixFL69ma4f0OkQbuWe3UYuVIpYqMn5c/bhMLEHZPRFx5uYF5htqHMq85pYxbohd2JV 2h2gb/PAOoWati86o7Pb+W6Gjf0fqHDdpmPRsGAR/nJB7NKpppe2KShwQIQ9cQObR1cU YGjB3VHSpgLVOB2vKcIwngv5BmCG2g7jJ59uMdvo6vWXBFw23AiWIwdsP9Mrj/flAwya hlrpEeJrMz4d0WwcoZNrmjgLvYjL3Squuk+QKiZ1v3uosEuRrlIGxyE9mQb8lmCmT8aq ZASZQC4dJAfgW0kPPFEDnVh8Iix+4+Fwg6Lc74CeGMPub+1cvVxldMLwlm0JtMNW5xvy snHA== X-Gm-Message-State: APjAAAUCkcs+arSd47Bp4T+t1fzS0VNYFlAT1tkOLdFJHqbOiaTnPC43 30mhH7g+bTbOi+7wuya8iv5lPLUcie69wA== X-Google-Smtp-Source: APXvYqyVY+8sHA+iP8Dd2z8NDXsIhjO48baZz3w3DKfBgJUz7lNvyAoQcwJHxukdp2W6oCnPL++qZg== X-Received: by 2002:a1c:c545:: with SMTP id v66mr122796wmf.51.1561999189206; Mon, 01 Jul 2019 09:39:49 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id o6sm26573508wra.27.2019.07.01.09.39.48 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 09:39:48 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 1 Jul 2019 17:39:01 +0100 Message-Id: <20190701163943.22313-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701163943.22313-1-peter.maydell@linaro.org> References: <20190701163943.22313-1-peter.maydell@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.128.52 Subject: [Qemu-devel] [PULL 04/46] i.mx7d: Add no-op/unimplemented APBH DMA module X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Andrey Smirnov 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 Signed-off-by: Peter Maydell Reviewed-by: Peter Maydell --- 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 4101f80251e..dcd73603c33 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 b7e3526b4f3..803fe94c034 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)