From nobody Sun Nov 24 01:35:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=yeah.net ARC-Seal: i=1; a=rsa-sha256; t=1728144450; cv=none; d=zohomail.com; s=zohoarc; b=WDxlZXDDdLSEA15aeNDC2jrrULyBdRTTt0boPX4jOZc2gMA9TbBpFl8BndPdRY8mAK1n3LpUnglwADbz9SVMnC3GfJw2Puhy+5WOIjRJKTNJTNy7Uf1gbddxlUaKcDBfQNwObn/Xh7d7sCDcEk8YItkP8ntFEUZ+6lyeE2dc5i4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1728144450; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=dAi6Etdnj+bzXLvZ2nY6nMe4oTUVjb5cLyBKiqkX/Yk=; b=i0TezHKsq1v2NurHVvZaHfBcOP9ZhBHynCFmNBnFwLBLEMEbTtlgIgsXMTxCpyJJ7G5fJh+UrAmxq5maAcssEyrZVF36SvGDqOrVvnW3kPcujX1uymrks9ZBORFBxY2XpbQa/3TMQqsgAvyQDt/OLmu+KzkwmciXbyEFr8qd1Po= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1728144450413755.8809913752722; Sat, 5 Oct 2024 09:07:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sx7Iy-0008HR-T1; Sat, 05 Oct 2024 12:06:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sx7Iu-0008Gi-RS for qemu-devel@nongnu.org; Sat, 05 Oct 2024 12:06:49 -0400 Received: from mail-m16.yeah.net ([220.197.32.16]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sx7Io-0002P5-Ok for qemu-devel@nongnu.org; Sat, 05 Oct 2024 12:06:47 -0400 Received: from localhost.localdomain (unknown []) by gzsmtp3 (Coremail) with SMTP id M88vCgCnyun1YwFnyEiwAQ--.25016S4; Sun, 06 Oct 2024 00:06:19 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=dAi6E tdnj+bzXLvZ2nY6nMe4oTUVjb5cLyBKiqkX/Yk=; b=fxmk7MjmX0/uTUYVxGSFT rAEZBbKkbhDMkYmBTG1huvC2ZvF3A+Y5gSc9Y0JCLX4ZQjeQJWVTFMS0PIwJAXBH BNHSUsGv3p2ViCrJjscgKGuQxqFMtU4ckRf+0bvF/85Acsvf0YHhuPrkruet8aG4 xLKk3Xw+Z+bw7b3RHgVoKw= From: Chao Liu To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, bin.meng@windriver.com, edgar.iglesias@gmail.com, alistair@alistair23.me, Chao Liu 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 Message-ID: <0034b90c6a533563863aba7e9fb2f19b6cc59284.1728141040.git.chao.liu@yeah.net> X-Mailer: git-send-email 2.46.1 In-Reply-To: References: MIME-Version: 1.0 Signed-off-by: Chao Liu Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: M88vCgCnyun1YwFnyEiwAQ--.25016S4 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUVFksDUUUU X-Originating-IP: [112.19.146.115] X-CM-SenderInfo: pfkd0hxolxq5hhdkh0dhw/1tbiCRFvKGcBHYV+OAACsl Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=220.197.32.16; envelope-from=chao.liu@yeah.net; helo=mail-m16.yeah.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @yeah.net) X-ZM-MESSAGEID: 1728144453707116600 Content-Type: text/plain; charset="utf-8" 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, ®_array->mem); --=20 2.46.1