Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194439/?format=api
{ "id": 2194439, "url": "http://patchwork.ozlabs.org/api/patches/2194439/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260209001836.5413F5969F2@zero.eik.bme.hu/", "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": "<20260209001836.5413F5969F2@zero.eik.bme.hu>", "list_archive_url": null, "date": "2026-02-09T00:18:36", "name": "hw/usb/hcd-ohci: Implement frame number overflow event", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ba50c3cde6f38537b9037549d118353d54019e29", "submitter": { "id": 16148, "url": "http://patchwork.ozlabs.org/api/people/16148/?format=api", "name": "BALATON Zoltan", "email": "balaton@eik.bme.hu" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260209001836.5413F5969F2@zero.eik.bme.hu/mbox/", "series": [ { "id": 491452, "url": "http://patchwork.ozlabs.org/api/series/491452/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491452", "date": "2026-02-09T00:18:36", "name": "hw/usb/hcd-ohci: Implement frame number overflow event", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491452/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194439/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194439/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 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 4f8QLG00wyz1xvY\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 09 Feb 2026 11:19:32 +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 1vpEzG-0006Gn-HT; Sun, 08 Feb 2026 19:18:46 -0500", "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 <balaton@eik.bme.hu>)\n id 1vpEzE-0006GZ-Pa\n for qemu-devel@nongnu.org; Sun, 08 Feb 2026 19:18:44 -0500", "from zero.eik.bme.hu ([2001:738:2001:2001::2001])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <balaton@eik.bme.hu>)\n id 1vpEzC-0003Kv-Cz\n for qemu-devel@nongnu.org; Sun, 08 Feb 2026 19:18:44 -0500", "from localhost (localhost [127.0.0.1])\n by zero.eik.bme.hu (Postfix) with ESMTP id 5B2755969F3;\n Mon, 09 Feb 2026 01:18:38 +0100 (CET)", "from zero.eik.bme.hu ([127.0.0.1])\n by localhost (zero.eik.bme.hu [127.0.0.1]) (amavis, port 10028) with ESMTP\n id 7ertLS5_A7qM; Mon, 9 Feb 2026 01:18:36 +0100 (CET)", "by zero.eik.bme.hu (Postfix, from userid 432)\n id 5413F5969F2; Mon, 09 Feb 2026 01:18:36 +0100 (CET)" ], "X-Virus-Scanned": "amavis at eik.bme.hu", "From": "BALATON Zoltan <balaton@eik.bme.hu>", "Subject": "[PATCH] hw/usb/hcd-ohci: Implement frame number overflow event", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "To": "qemu-devel@nongnu.org", "Cc": "Howard Spoelstra <hsp.cat7@gmail.com>,\n Peter Maydell <\"peter.maydell@linaro.org>, philmd\"@linaro.org>", "Message-Id": "<20260209001836.5413F5969F2@zero.eik.bme.hu>", "Date": "Mon, 09 Feb 2026 01:18:36 +0100 (CET)", "Received-SPF": "pass client-ip=2001:738:2001:2001::2001;\n envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu", "X-Spam_score_int": "-18", "X-Spam_score": "-1.9", "X-Spam_bar": "-", "X-Spam_report": "(-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,\n SPF_PASS=-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": "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": "According to specification 6.5.6 FrameNumberOverflow Event when bit 15\nof frame count changes (either from 1 to 0 or 0 to 1) a\nFrameNumberOverflow interrupt should be generated.\n\nSigned-off-by: BALATON Zoltan <balaton@eik.bme.hu>\n---\n hw/usb/hcd-ohci.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c\nindex c7e9c71903..f8da16bc8f 100644\n--- a/hw/usb/hcd-ohci.c\n+++ b/hw/usb/hcd-ohci.c\n@@ -1246,6 +1246,9 @@ static void ohci_frame_boundary(void *opaque)\n hcca.frame = cpu_to_le16(ohci->frame_number);\n /* When the HC updates frame number, set pad to 0. Ref OHCI Spec 4.4.1*/\n hcca.pad = 0;\n+ if (ohci->frame_number == 0x8000 || ohci->frame_number == 0) {\n+ ohci_set_interrupt(ohci, OHCI_INTR_FNO);\n+ }\n \n if (ohci->done_count == 0 && !(ohci->intr_status & OHCI_INTR_WD)) {\n if (!ohci->done) {\n", "prefixes": [] }