Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218241/?format=api
{ "id": 2218241, "url": "http://patchwork.ozlabs.org/api/patches/2218241/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260331185219.12187-3-deller@kernel.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260331185219.12187-3-deller@kernel.org>", "list_archive_url": null, "date": "2026-03-31T18:52:13", "name": "[PULL,2/8] hw/pci-host/astro: Fix initial addresses in IOC", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "b9f7f8afda56c3e6f9cd80f8cf23ae975cedbdae", "submitter": { "id": 87076, "url": "http://patchwork.ozlabs.org/api/people/87076/?format=api", "name": "Helge Deller", "email": "deller@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260331185219.12187-3-deller@kernel.org/mbox/", "series": [ { "id": 498241, "url": "http://patchwork.ozlabs.org/api/series/498241/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498241", "date": "2026-03-31T18:52:18", "name": "[PULL,1/8] hw/pci-host/astro: Make astro address arrays accessible for other users", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498241/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218241/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218241/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=p6JfauP5;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4flchJ5b0vz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 05:53:20 +1100 (AEDT)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w7eCU-0000Bm-5C; Tue, 31 Mar 2026 14:52:30 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <deller@kernel.org>) id 1w7eCS-0000BA-KF\n for qemu-devel@nongnu.org; Tue, 31 Mar 2026 14:52:28 -0400", "from tor.source.kernel.org ([172.105.4.254])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <deller@kernel.org>) id 1w7eCR-0001Wy-0a\n for qemu-devel@nongnu.org; Tue, 31 Mar 2026 14:52:28 -0400", "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by tor.source.kernel.org (Postfix) with ESMTP id AB2F360130;\n Tue, 31 Mar 2026 18:52:25 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 7A338C2BCB0;\n Tue, 31 Mar 2026 18:52:24 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1774983145;\n bh=WXwwiiQA5g98onWOG+Xi7+ximkdweZ5ocFkvgOuFOeg=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=p6JfauP5n5q3iKSGQfCBj6v3myf6v+J5hnFzZzWYKwLZOT5xm4gT8Z6rPwRQ5mELj\n 9QFvHZN0OOuSXGVKDEjYbYKjgtdgqpSDrZtuX4yYXR05ygjjXJQVmqhMSr0ddMAvcE\n PC5KT6oZwswFJTaz1LZjBWjlF6WQKA+fKJoQ+qTzHq+3tcbEuqz4nP2gQU1tcNam2o\n ATHTXyXmDTU3EKFH2DSFKnlxwThrMpdO+UsD8JmKuGSFADxl1h98IgxACONulT2NmB\n GBu82EW/7S1cA7Y/NotL4cYXR0D29ZIEXEfG/KpNwyUR+5BRCCIUKYxo5z+DizkA/t\n 1WpjP6pgHV8Uw==", "From": "Helge Deller <deller@kernel.org>", "To": "qemu-devel@nongnu.org", "Cc": "Helge Deller <deller@gmx.de>,\n Richard Henderson <richard.henderson@linaro.org>", "Subject": "[PULL 2/8] hw/pci-host/astro: Fix initial addresses in IOC", "Date": "Tue, 31 Mar 2026 20:52:13 +0200", "Message-ID": "<20260331185219.12187-3-deller@kernel.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260331185219.12187-1-deller@kernel.org>", "References": "<20260331185219.12187-1-deller@kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=172.105.4.254; envelope-from=deller@kernel.org;\n helo=tor.source.kernel.org", "X-Spam_score_int": "-5", "X-Spam_score": "-0.6", "X-Spam_bar": "/", "X-Spam_report": "(-0.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.54,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=1, RCVD_IN_VALIDITY_RPBL_BLOCKED=1,\n 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.29", "Precedence": "list", "List-Id": "qemu development <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "From: Helge Deller <deller@gmx.de>\n\nF-Extend the LMMIO and IOS distributed addresses.\nUse the 44-bit address for the IOS distributed address.\n\nSigned-off-by: Helge Deller <deller@gmx.de>\n---\n hw/pci-host/astro.c | 6 +++---\n include/hw/pci-host/astro.h | 4 ++--\n 2 files changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/hw/pci-host/astro.c b/hw/pci-host/astro.c\nindex 46d8530538..b3eec4a291 100644\n--- a/hw/pci-host/astro.c\n+++ b/hw/pci-host/astro.c\n@@ -804,13 +804,13 @@ static void astro_reset(DeviceState *dev)\n * The LBA BASE/MASK registers control IO -> System routing (in Elroy)\n */\n memset(&s->ioc_ranges, 0, sizeof(s->ioc_ranges));\n- s->ioc_ranges[(0x360 - 0x300) / 8] = LMMIO_DIST_BASE_ADDR | 0x01; /* LMMIO_DIST_BASE (SBA) */\n+ s->ioc_ranges[(0x360 - 0x300) / 8] = F_EXTEND(LMMIO_DIST_BASE_ADDR) | 0x01;\n s->ioc_ranges[(0x368 - 0x300) / 8] = 0xfc000000; /* LMMIO_DIST_MASK */\n s->ioc_ranges[(0x370 - 0x300) / 8] = 0; /* LMMIO_DIST_ROUTE */\n- s->ioc_ranges[(0x390 - 0x300) / 8] = IOS_DIST_BASE_ADDR | 0x01; /* IOS_DIST_BASE */\n+ s->ioc_ranges[(0x390 - 0x300) / 8] = F_EXTEND(IOS_DIST_BASE_ADDR) | 0x01;\n s->ioc_ranges[(0x398 - 0x300) / 8] = 0xffffff0000; /* IOS_DIST_MASK */\n s->ioc_ranges[(0x3a0 - 0x300) / 8] = 0x3400000000000000ULL; /* IOS_DIST_ROUTE */\n- s->ioc_ranges[(0x3c0 - 0x300) / 8] = 0xfffee00000; /* IOS_DIRECT_BASE */\n+ s->ioc_ranges[(0x3c0 - 0x300) / 8] = IOS_DIST_BASE_ADDR; /* IOS_DIRECT_BASE */\n s->ioc_ranges[(0x3c8 - 0x300) / 8] = 0xffffff0000; /* IOS_DIRECT_MASK */\n s->ioc_ranges[(0x3d0 - 0x300) / 8] = 0x0; /* IOS_DIRECT_ROUTE */\n \ndiff --git a/include/hw/pci-host/astro.h b/include/hw/pci-host/astro.h\nindex fce052c9f8..5eb1fa57c1 100644\n--- a/include/hw/pci-host/astro.h\n+++ b/include/hw/pci-host/astro.h\n@@ -26,8 +26,8 @@ OBJECT_DECLARE_SIMPLE_TYPE(ElroyState, ELROY_PCI_HOST_BRIDGE)\n \n #define LMMIO_DIRECT_RANGES 4\n \n-#define IOS_DIST_BASE_ADDR 0xfffee00000ULL\n-#define IOS_DIST_BASE_SIZE 0x10000ULL\n+#define IOS_DIST_BASE_ADDR 0xffffee00000ULL\n+#define IOS_DIST_BASE_SIZE 0x10000ULL\n \n #define HF_ENABLE 0x40 /* enable HF mode (default is -1 mode) */\n \n", "prefixes": [ "PULL", "2/8" ] }