From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Andrey Smirnov <andrew.smirnov@gmail.com>, qemu-arm@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel@nongnu.org, "Michael S . Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 1/5] i.mx7d: Add no-op/unimplemented APBH DMA module
Date: Tue, 18 Jun 2019 07:15:28 +0200 [thread overview]
Message-ID: <02009ef4-a022-b8e8-ab3f-6256849c48c8@redhat.com> (raw)
In-Reply-To: <20190416013902.4941-2-andrew.smirnov@gmail.com>
On 4/16/19 3:38 AM, Andrey Smirnov wrote:
> Instantiate no-op APBH DMA module. Needed to boot latest Linux kernel.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> Cc: Peter Maydell <peter.maydell@linaro.org>
> Cc: Michael S. Tsirkin <mst@redhat.com>
> 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,
0x8000?
> };
>
> 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)
>
next prev parent reply other threads:[~2019-06-18 5:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-16 1:38 [Qemu-devel] [PATCH 0/5] Various i.MX7 fixes Andrey Smirnov
2019-04-16 1:38 ` Andrey Smirnov
2019-04-16 1:38 ` [Qemu-devel] [PATCH 1/5] i.mx7d: Add no-op/unimplemented APBH DMA module Andrey Smirnov
2019-04-16 1:38 ` Andrey Smirnov
2019-06-18 5:15 ` Philippe Mathieu-Daudé [this message]
2019-04-16 1:38 ` [Qemu-devel] [PATCH 2/5] i.mx7d: Add no-op/unimplemented PCIE PHY IP block Andrey Smirnov
2019-04-16 1:38 ` Andrey Smirnov
2019-06-18 5:20 ` Philippe Mathieu-Daudé
2019-04-16 1:39 ` [Qemu-devel] [PATCH 3/5] pci: designware: Update MSI mapping unconditionally Andrey Smirnov
2019-04-16 1:39 ` Andrey Smirnov
2019-06-18 1:26 ` Michael S. Tsirkin
2019-07-01 11:56 ` Peter Maydell
2019-04-16 1:39 ` [Qemu-devel] [PATCH 4/5] pci: designware: Update MSI mapping when MSI address changes Andrey Smirnov
2019-04-16 1:39 ` Andrey Smirnov
2019-06-18 1:26 ` Michael S. Tsirkin
2019-07-01 11:56 ` Peter Maydell
2019-04-16 1:39 ` [Qemu-devel] [PATCH 5/5] i.mx7d: pci: Update PCI IRQ mapping to match HW Andrey Smirnov
2019-04-16 1:39 ` Andrey Smirnov
2019-07-01 12:01 ` Peter Maydell
2019-06-18 0:27 ` [Qemu-devel] [PATCH 0/5] Various i.MX7 fixes Andrey Smirnov
2019-07-01 12:12 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02009ef4-a022-b8e8-ab3f-6256849c48c8@redhat.com \
--to=philmd@redhat.com \
--cc=andrew.smirnov@gmail.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).