From nobody Sat Nov 15 13:23:34 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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 ARC-Seal: i=1; a=rsa-sha256; t=1595065081; cv=none; d=zohomail.com; s=zohoarc; b=FqRF3ci4//mTstdp2lW3fWam3S80/MajDBPAmXAO6MSKO902dw+5uiJU3pW0trAdx5hWmf/U+LQnJLfGvbkD8FwQF6/kYIlEIkG1rkwRtwlRIqH/LSiwpJjxxQyA9IqAy3exlwKpPMwvf6rbxZ7sQftdO9aImQAOWng8JgdIrNg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595065081; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=wbNW1G0WmInth/Nk79nljnnF9ybYz9nbp6jZzmf3edQ=; b=YODG2ExQRxQP2mi1o3LG+AS33ajmbgOT/zrTlJGcogZdQQT8JPFOAQJnzxcvkeSicHzif/Ickc3w6Cy3odOxJab249LDwjlIohF5Ve+LrsrmX3Dey8qOYcFltXFvrF+qUeo6X7kTIQz1qaG5NpBXW3AA43Qucf4Bh1FXwWMnanI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1595065081224167.79269764407888; Sat, 18 Jul 2020 02:38:01 -0700 (PDT) Received: from localhost ([::1]:42314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwjI7-0006Zk-3e for importer@patchew.org; Sat, 18 Jul 2020 05:37:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwjHM-0006AS-6b; Sat, 18 Jul 2020 05:37:12 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:44114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwjHK-0000fD-PT; Sat, 18 Jul 2020 05:37:11 -0400 Received: by mail-wr1-x442.google.com with SMTP id b6so13423268wrs.11; Sat, 18 Jul 2020 02:37:09 -0700 (PDT) Received: from localhost.localdomain (138.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.138]) by smtp.gmail.com with ESMTPSA id 190sm19881823wmb.15.2020.07.18.02.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2020 02:37:06 -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:mime-version :content-transfer-encoding; bh=wbNW1G0WmInth/Nk79nljnnF9ybYz9nbp6jZzmf3edQ=; b=Oky857f/64Ot4+B/TFebNvDZxXsHKQdiSpMnkcBAk76atgIJI5Wqbpfhj7bX2DDBuK hxiFtgYb2vKBxAo879t6FEtn2hvmVbxbKrDx0le75bWIlxKPgVOU9QuS0MxjCsStPpyt UyBOoZf5LNtGhyDdaU4+vHDetPAnCWsQu9RyrYluuUhfRKBg62BFs526bmhOQxt0ugpR +UWpIlzLBEw/dn7YM0uDhBFIiGcqkNiSCs5PtbnjTzikiYdfxb/1TVe4fr44KyGPj8ZZ TtI7rTX5klnOVX3cxPq8JJk/hlVXKqPCrvodkb7OKy/yTjRDV5rkzJLlANW8z+Vzhai/ gpXg== 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 :mime-version:content-transfer-encoding; bh=wbNW1G0WmInth/Nk79nljnnF9ybYz9nbp6jZzmf3edQ=; b=Kh4BvQnUWEAZkICPx7XWdec+tLyZK6TXt7MESlArBXiadYA51sZFnVzCeHfeZddxUJ madCfPtFGThUb2pAXtwXUWfC+2dKqWw2zuGFyLYCGMa1xbhdUYbvqqB0g2j7tTLwNtzW MuCtCbhQSUUHWDHqX6BQLfqw/krvpP4ZqUw3VM7brzfI9e21GV0HkTE5KyBHhnPTdor2 0mnh+rSpWQyhzmu2rHmB6Zi74EyhnrQgVHIqMV4aVtQ0QCjZ7wnVmfANNqBfhvHSkRlC f0cjTWVdWMr2Nuv7joRvFwY/eYE3vN8nUo+UmuCJr+LmSHTxFb0DLhA7OREUXW4Rlv+a PdnQ== X-Gm-Message-State: AOAM533EG/o2IXW0w2+BBW7F9EUQ78c/uFSKdCAE504oXPNEcFew2Adu EOZfh7gqBxNoeHMcdrLWTkJhwxADWFg= X-Google-Smtp-Source: ABdhPJzBsRHAEQ6CICFlX8M+L5vh8brCSLE5h97mrqH0ahI2Tz43Gbva/Wy7CaE83Qew7hMKSv4jFg== X-Received: by 2002:a5d:4710:: with SMTP id y16mr14401078wrq.189.1595065027505; Sat, 18 Jul 2020 02:37:07 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH-for-5.1] hw/misc/milkymist-pfpu: Fix pFPU region size Date: Sat, 18 Jul 2020 11:37:05 +0200 Message-Id: <20200718093705.7271-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=2a00:1450:4864:20::442; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Cc: qemu-trivial@nongnu.org, Michael Walle , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The last microcode word (address 0x6000.6ffc) is not reachable. Correct the programmable FPU I/O size (which is 4 KiB) to be able to use all the microcode area. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Walle --- hw/misc/milkymist-pfpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/misc/milkymist-pfpu.c b/hw/misc/milkymist-pfpu.c index 516825e83d..4fbe3e8971 100644 --- a/hw/misc/milkymist-pfpu.c +++ b/hw/misc/milkymist-pfpu.c @@ -507,7 +507,7 @@ static void milkymist_pfpu_realize(DeviceState *dev, Er= ror **errp) sysbus_init_irq(sbd, &s->irq); =20 memory_region_init_io(&s->regs_region, OBJECT(dev), &pfpu_mmio_ops, s, - "milkymist-pfpu", MICROCODE_END * 4); + "milkymist-pfpu", 0x1000); sysbus_init_mmio(sbd, &s->regs_region); } =20 --=20 2.21.3