qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Chao Liu <chao.liu@yeah.net>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, bin.meng@windriver.com,
	edgar.iglesias@gmail.com, alistair@alistair23.me,
	Chao Liu <chao.liu@yeah.net>
Subject: [PATCH v3 2/2] xilink-zynq-devcfg: Fix up for memory address range size not set correctly
Date: Sun,  6 Oct 2024 00:06:06 +0800	[thread overview]
Message-ID: <0034b90c6a533563863aba7e9fb2f19b6cc59284.1728141040.git.chao.liu@yeah.net> (raw)
In-Reply-To: <cover.1728141040.git.chao.liu@yeah.net>

diff --git a/hw/dma/xlnx-zynq-devcfg.c b/hw/dma/xlnx-zynq-devcfg.c
index b8544d0731..7170353a62 100644
--- a/hw/dma/xlnx-zynq-devcfg.c
+++ b/hw/dma/xlnx-zynq-devcfg.c
@@ -372,7 +372,7 @@ static void xlnx_zynq_devcfg_init(Object *obj)
                               s->regs_info, s->regs,
                               &xlnx_zynq_devcfg_reg_ops,
                               XLNX_ZYNQ_DEVCFG_ERR_DEBUG,
-                              XLNX_ZYNQ_DEVCFG_R_MAX);
+                              XLNX_ZYNQ_DEVCFG_R_MAX * 4);
     memory_region_add_subregion(&s->iomem,
                                 A_CTRL,
                                 &reg_array->mem);
-- 
2.46.1



      parent reply	other threads:[~2024-10-05 16:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-05 16:06 [PATCH v3 0/2] Drop ignore_memory_transaction_failures for xilink_zynq Chao Liu
2024-10-05 16:06 ` [PATCH v3 1/2] xilink_zynq: Add various missing unimplemented devices Chao Liu
2024-10-06 14:13   ` Peter Maydell
2024-10-05 16:06 ` Chao Liu [this message]

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=0034b90c6a533563863aba7e9fb2f19b6cc59284.1728141040.git.chao.liu@yeah.net \
    --to=chao.liu@yeah.net \
    --cc=alistair@alistair23.me \
    --cc=bin.meng@windriver.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=peter.maydell@linaro.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).