Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2231448/?format=api
{ "id": 2231448, "url": "http://patchwork.ozlabs.org/api/patches/2231448/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-27-pbonzini@redhat.com/", "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": "<20260430172204.1006673-27-pbonzini@redhat.com>", "list_archive_url": null, "date": "2026-04-30T17:21:32", "name": "[PULL,26/58] whpx: i386: disable TbFlushHypercalls for emulated LAPIC", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c8bc98883e288377ddb601331c7229a335473143", "submitter": { "id": 2701, "url": "http://patchwork.ozlabs.org/api/people/2701/?format=api", "name": "Paolo Bonzini", "email": "pbonzini@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-27-pbonzini@redhat.com/mbox/", "series": [ { "id": 502347, "url": "http://patchwork.ozlabs.org/api/series/502347/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502347", "date": "2026-04-30T17:21:16", "name": "[PULL,01/58] pythondeps: bump to meson 1.11.1", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502347/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2231448/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231448/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=DsKmNyg4;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=XFdY4mDu;\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=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.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 4g61Pq4Zdxz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:29:35 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIV7a-0006BR-CG; Thu, 30 Apr 2026 13:24:18 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wIV6t-0005HB-9j\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:37 -0400", "from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wIV6r-0004Z5-6X\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:34 -0400", "from mail-vs1-f72.google.com (mail-vs1-f72.google.com\n [209.85.217.72]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-330-lLPhSDCkPWKFhFHGvuit4w-1; Thu, 30 Apr 2026 13:23:31 -0400", "by mail-vs1-f72.google.com with SMTP id\n ada2fe7eead31-611af0d600bso783493137.2\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 10:23:31 -0700 (PDT)", "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b3ff43b912sm24880946d6.26.2026.04.30.10.23.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 10:23:28 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777569812;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=+9TVppSkjsNhYMHQxAmEzqCx8qVYljwJJfpsf/snmUs=;\n b=DsKmNyg4wrUOQMIz0v8C690cekb700MHBXCrwYXrPX7gzbZ+PI265N0WrRtm8w6h8SY4jY\n I1TkqvaaPn1QCQ9UzrbwqNLVAoCUQBqPnM49whviNFUgsSyBApvx/0jgZaaOGQujMs6gRE\n xaI7wq7ltJkceTvayhKfPiJge90+pLM=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777569810; x=1778174610; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=+9TVppSkjsNhYMHQxAmEzqCx8qVYljwJJfpsf/snmUs=;\n b=XFdY4mDuT0tA4JAyb9k5di+N4yIueAWM++d4juuTaef82mtoj1f3yjkAULdv2Z6Uzu\n 0ucN1Jlpc4YC5bpBJmdK8IWjlR2C925tuahccaF1vRRLttNWi2OEXnVYpPNva6NrxV+j\n iEyvnQF+OM4JAV3bsAkKPopE1EOKsVgSxa/q1slVan6yedJ4P0NVj2EA3N5n/UXN0vks\n yjr7wOiHnBmmi6uZvoVwMtlnhCKwneb1Z2Jsb79FLcyD8U8EtEcbU3cCRWTpM2FLgAAw\n h/tlBuh2uhTvqbAXo0QNfg8YjqHDC8JibTUKW+kLrjKOqhYUlBeNvz0oswveZvTN8aJH\n v7dw==" ], "X-MC-Unique": "lLPhSDCkPWKFhFHGvuit4w-1", "X-Mimecast-MFC-AGG-ID": "lLPhSDCkPWKFhFHGvuit4w_1777569810", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777569810; x=1778174610;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=+9TVppSkjsNhYMHQxAmEzqCx8qVYljwJJfpsf/snmUs=;\n b=NOiMHBgjw0c6Cn+hJupz0r4MsL6tasDji6DP5mSzccap4F23Wn1WH5XmymTndyBSR6\n ZrRhf05O1NtfGCfeJaTzswo5mugxz/GcbtdWMNjPRFSNSivaHtrydQlUjeHZtq4vPpkd\n DguCSWGWUDDRHgOV/NDxanYIqz4NhhwwWEDmLruz6tDI+BueeGxH8VH/0QfBtc9S9HFa\n DtK/+0bm4WPcTIl+KIGdVjxasg16xO+oiWqqtwm3fbVAv2deQHETdCNcG+EuUkc6MrFs\n HIakkfchy6qgoL4bc9HucdyWnOoGR82ynoKrzZYkll3lS4GFnsDwWL8oMeZC+E8x93up\n 4big==", "X-Gm-Message-State": "AOJu0YwCLPsUmYqWwNOszhu1UlZCYm9pOnFJQXuBlWYe/NcgJKrqS8mn\n NnF9B6h0spvvun36Fr7cfpnQIKMSgR/QdURd7iDrhn/7RfIXxizcePjbMyNf30OekboHTOK9wLt\n Yum0EQReoidZa9kDtD/3wULPdWA03jU0YlX/eotbdhoQgjlhpaaGd5/82n6TJYRxcJ7DYqxwTyL\n TmIXvEsNjdrwuS/MSGEONt8W7p0HloQHsTMfC+mTOk", "X-Gm-Gg": "AeBDievfROhOQT9OTNQIBjNCuP1YIl65svt+qj+HvHp3OqE+P6qojg833A3UXL+fBWH\n J5SwBwhsqQEwXKwki2lZTMSxWiqW7b3Ixz5Z8jBWscEEEJj1W/pSC+gCnhJWP2heErJ93+IgtnY\n lbfMeVSLhv55VmMAl2jtkKBiKBG/Sf8H5Hn4Qs7/MCboVh/N5qCRgio4xroUwmg/m4MvPrCxHfZ\n 9Qn/KcvyV1ODzrnye/hW85vrWHv1trfLnar+BDI1LgP4Hp554V+v8oN68Cn424Mf4+0mKfeovec\n 8xpKYBJD7Ho+Xyy2x+QNdF548sng/+WGcxw9cQDKBAYEAVPrO0wdT68a5/o2DjytD6k9pDuNGMJ\n R2rO9SJg7E1p4Qv4qDOXYCJwOuOjWcSEAjpqQi6W6ER/zJG7f1qiD/o2FSvebkMbyJIM9AoRFb3\n 5rhu4UvKs/BTsvlTb8ewsetLc695+bri8zFy0=", "X-Received": [ "by 2002:a05:6102:cd4:b0:611:c935:f9c5 with SMTP id\n ada2fe7eead31-62ad4261073mr1993015137.24.1777569809867;\n Thu, 30 Apr 2026 10:23:29 -0700 (PDT)", "by 2002:a05:6102:cd4:b0:611:c935:f9c5 with SMTP id\n ada2fe7eead31-62ad4261073mr1992956137.24.1777569809235;\n Thu, 30 Apr 2026 10:23:29 -0700 (PDT)" ], "From": "Paolo Bonzini <pbonzini@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Mohamed Mediouni <mohamed@unpredictable.fr>", "Subject": "[PULL 26/58] whpx: i386: disable TbFlushHypercalls for emulated LAPIC", "Date": "Thu, 30 Apr 2026 19:21:32 +0200", "Message-ID": "<20260430172204.1006673-27-pbonzini@redhat.com>", "X-Mailer": "git-send-email 2.54.0", "In-Reply-To": "<20260430172204.1006673-1-pbonzini@redhat.com>", "References": "<20260430172204.1006673-1-pbonzini@redhat.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=170.10.133.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com", "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, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-0.001, 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": "From: Mohamed Mediouni <mohamed@unpredictable.fr>\n\nAccessHypercallRegs was present twice so clean that up.\n\nRemove TbFlushHypercalls (and its extended Gva range sub-feature)\nfrom the user-mode LAPIC case as it behaves oddly there.\n\nSigned-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>\nLink: https://lore.kernel.org/r/20260422214225.2242-5-mohamed@unpredictable.fr\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/whpx/whpx-all.c | 9 ++++++---\n 1 file changed, 6 insertions(+), 3 deletions(-)", "diff": "diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c\nindex d211b3f2efa..8f03616cb97 100644\n--- a/target/i386/whpx/whpx-all.c\n+++ b/target/i386/whpx/whpx-all.c\n@@ -2577,10 +2577,7 @@ int whpx_accel_init(AccelState *as, MachineState *ms)\n synthetic_features.Bank0.AccessPartitionReferenceTsc = 1;\n synthetic_features.Bank0.AccessHypercallRegs = 1;\n synthetic_features.Bank0.AccessFrequencyRegs = 1;\n- synthetic_features.Bank0.EnableExtendedGvaRangesForFlushVirtualAddressList = 1;\n synthetic_features.Bank0.AccessVpIndex = 1;\n- synthetic_features.Bank0.AccessHypercallRegs = 1;\n- synthetic_features.Bank0.TbFlushHypercalls = 1;\n \n if (whpx_irqchip_in_kernel()) {\n synthetic_features.Bank0.AccessSynicRegs = 1;\n@@ -2588,6 +2585,12 @@ int whpx_accel_init(AccelState *as, MachineState *ms)\n synthetic_features.Bank0.AccessIntrCtrlRegs = 1;\n synthetic_features.Bank0.SyntheticClusterIpi = 1;\n synthetic_features.Bank0.DirectSyntheticTimers = 1;\n+ /*\n+ * These technically work without the Hyper-V LAPIC\n+ * but behave oddly for multi-core VMs.\n+ */\n+ synthetic_features.Bank0.TbFlushHypercalls = 1;\n+ synthetic_features.Bank0.EnableExtendedGvaRangesForFlushVirtualAddressList = 1;\n }\n \n if (is_modern_os && whpx->hyperv_enlightenments_allowed) {\n", "prefixes": [ "PULL", "26/58" ] }