From nobody Tue Feb 10 02:54:55 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.47 as permitted sender) client-ip=209.85.221.47; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f47.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.47 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1602943512; cv=none; d=zohomail.com; s=zohoarc; b=egr4zzoxC6reZPF3/E6yWCEVIfzKk6qZ7W6s3PlisEDzbWDDSKa+/rQHQ4Zlyq4WF1W5xaUw5g1YuO5DMv4VIQeGsAftz07Pk68cyFo44zyyHWHrKDk0rAhru94kCA/FeJJfmPnzT7lz1/4BVMPCNQaItyII8yJv5OkaBiYGNPc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602943512; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=wDo4Ac8Bvr/h/F3tHmitZ/IsFCAT0CVJ5bwb+MZqKJo=; b=QSsTXYGgPewkgYQpj25XYXhjvHCkygyVnDDV21KEtwwyQxopsD6pkcBiQUCXKnh4zysGoRELQcy/cK7leBACPgYfw5cNuX8HkCbeeIAxE9wS/c64/t6bxJMCNHEfqluHWgHfaHppXdFjqYnRdTFN96GokOi09Lz+PnaTSXE6tnk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.47 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.zohomail.com with SMTPS id 1602943512586491.55752493606224; Sat, 17 Oct 2020 07:05:12 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id e17so6544670wru.12 for ; Sat, 17 Oct 2020 07:05:11 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (117.red-83-52-172.dynamicip.rima-tde.net. [83.52.172.117]) by smtp.gmail.com with ESMTPSA id p13sm7844630wmb.5.2020.10.17.07.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 07:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wDo4Ac8Bvr/h/F3tHmitZ/IsFCAT0CVJ5bwb+MZqKJo=; b=Ox3HtYJ77Ug7pnxuU5PZM59OE9hh3Os3xaqCyy/nJp+kjOJMh/FFrvAI1EqDx8v4RJ +XQVjOST/ZFTKpY5mhivLhnzeqqIew6LpQ1AvEedsKpbsWNuRElOsExiBG88wJZDQGqB xke3KR1EIuiP/ZEaKoPbzCsoebpCnOoTTp0WrNcbSTIo9c9VxnTuV0slpHTFxbQ2K4YX 04dqHRwg8ucFzgJazm0V/RjByyPkXk1bPZNqWsPdatkXDWA5JyjKpKBtAawbQWVIUq9Q 1pulf/z3jl8XCHyYLbYMnRV9uT656dN3/xmN6b3V2MF0KrcOGSfELp/qJR36uASfOkY0 6IhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=wDo4Ac8Bvr/h/F3tHmitZ/IsFCAT0CVJ5bwb+MZqKJo=; b=fg+RVq6td4ju5KtdVPsa5NIOGWB5l9enBNBdCbFhpbqVCA1C5tjyGaUzOCHAXcomUT d2MaMDuGLr2jshQGONEQrPCuU4i1B4ZDE89PnghOgo4oQNChpOuaoBlbPN2n0VKo9Dtm HUkQvvWkQIaxVf2rqYWek2BpouYQmlhs6WyL9uemetixlBuvujPKObcrq8uGjkVCWP4k asJuZfDeIpV9vusYaHANr2QwUYTmKlnvPYQOTcvD6lNkw+pe4sin70CQBBMjcIG8fAT5 qJl8A5ZBB4j6UbAOvboBjdLyPYjQ9kCAD4L33k2KI4WBhk/FcUWsimAZMyAfgvEyvgKx J1rA== X-Gm-Message-State: AOAM530zmyVsnDZiukdZcI+C0OOu5/NrJuLwUZkkpFsU+2redJniuv6B NVScjBf+AYngu9Ge80oG2ww= X-Google-Smtp-Source: ABdhPJws1PIRtLZP1SPD/bJsJ3x0MEWSUD5aSYA4lJ0GnS05y4Gvxe0Oih/urz67IjnMoFgbQ6Sx0g== X-Received: by 2002:adf:a50e:: with SMTP id i14mr10379247wrb.121.1602943510674; Sat, 17 Oct 2020 07:05:10 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Jiaxun Yang , Huacai Chen , Paul Burton , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Aurelien Jarno , Aleksandar Rikalo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 31/44] hw/mips/malta: Fix FPGA I/O region size Date: Sat, 17 Oct 2020 16:02:30 +0200 Message-Id: <20201017140243.1078718-32-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201017140243.1078718-1-f4bug@amsat.org> References: <20201017140243.1078718-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) The FPGA present on the CoreCard has an I/O region 1MiB wide. Refs: - Atlas User=E2=80=99s Manual (Document Number: MD00005) - Malta User=E2=80=99s Manual (Document Number: MD00048) Fixes: ea85df72b60 ("mips_malta: convert to memory API") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20200905213049.761949-1-f4bug@amsat.org> --- hw/mips/malta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/mips/malta.c b/hw/mips/malta.c index 1e2b750719e..a4a4c386268 100644 --- a/hw/mips/malta.c +++ b/hw/mips/malta.c @@ -578,7 +578,7 @@ static MaltaFPGAState *malta_fpga_init(MemoryRegion *ad= dress_space, memory_region_init_alias(&s->iomem_lo, NULL, "malta-fpga", &s->iomem, 0, 0x900); memory_region_init_alias(&s->iomem_hi, NULL, "malta-fpga", - &s->iomem, 0xa00, 0x10000 - 0xa00); + &s->iomem, 0xa00, 0x100000 - 0xa00); =20 memory_region_add_subregion(address_space, base, &s->iomem_lo); memory_region_add_subregion(address_space, base + 0xa00, &s->iomem_hi); --=20 2.26.2