Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2231446/?format=api
{ "id": 2231446, "url": "http://patchwork.ozlabs.org/api/patches/2231446/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-24-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-24-pbonzini@redhat.com>", "list_archive_url": null, "date": "2026-04-30T17:21:29", "name": "[PULL,23/58] target/i386: add new Intel models for MBEC enablement", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "04e1072760be5924be2f437023fc8c251ba0f414", "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-24-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/2231446/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231446/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=CT0xnlgl;\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=ELJMswsD;\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 4g61P34T80z1yJr\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:28:55 +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 1wIV6n-00057h-1n; Thu, 30 Apr 2026 13:23:29 -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 1wIV6l-00057J-6R\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:27 -0400", "from us-smtp-delivery-124.mimecast.com ([170.10.129.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 1wIV6j-0004WF-BQ\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:26 -0400", "from mail-qk1-f199.google.com (mail-qk1-f199.google.com\n [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-433-Wtals9A-Ol25jo8qurN_YQ-1; Thu, 30 Apr 2026 13:23:22 -0400", "by mail-qk1-f199.google.com with SMTP id\n af79cd13be357-8ee1a909037so225052285a.3\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 10:23:22 -0700 (PDT)", "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8fbb38436e8sm31262885a.26.2026.04.30.10.23.18\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 10:23:19 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777569804;\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=XUhou9NDW1I2GVTlp+/CvyOKb6GcfO17vbT0ko+lZLo=;\n b=CT0xnlglcUfETJVOMo5uBXfVUOj+ePay5hjE78yu++XQo4q6DGQPS3VreL3JFQffkf9zKD\n A7F+xKswXOsXdC9LKO3TUVwhlCdCm+Two7veR7Ep93pyzrHoE95maGF2QoflttRaNbHYLF\n bEKJyWu9U59R1bYuCM2/7qoqF9zYUoA=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777569801; x=1778174601; 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=XUhou9NDW1I2GVTlp+/CvyOKb6GcfO17vbT0ko+lZLo=;\n b=ELJMswsDa6i2YZdC5LUK4kIwUuoJly5QTbWH+eB2kW/bYMyVH3a0hajR/YsCIyOAD/\n HeEokYQprScW09e6625Y2f7XYmMpGsVFf5linSVvCOTBjDk9CT6VpnKZvsEMxrlCkYgU\n dzDWd2IRNhMALcigCbiY4Lh34ERsOQH4bcu8s2pKHvXbzgVgx3X9A8O5GqwWxzFc0R4h\n l3fNxnO10/G9k/sk9p09bRke0qNsfp+B3C1bHgoaEiXKRN1vS7wtMOTwr+ar5W5t36yl\n abEfsfC/oW/7nIzOy/lzXKWm1EL32OsmdU2YK49E+aPmuFUduroMHY6jLWQNALoy3amR\n 1bDg==" ], "X-MC-Unique": "Wtals9A-Ol25jo8qurN_YQ-1", "X-Mimecast-MFC-AGG-ID": "Wtals9A-Ol25jo8qurN_YQ_1777569802", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777569801; x=1778174601;\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=XUhou9NDW1I2GVTlp+/CvyOKb6GcfO17vbT0ko+lZLo=;\n b=A3yK3XmKapS0hwD7el21EcjJlQ080hPvttXZHQT4VNOAlxOsSsTFg6ECYS4blMwv0x\n rLvijoBrxK+yZj+SsE1KtNFrJ3NDqivk7gNnDCWwXYsGTpzb1Ema442/8SWAEljJO2tH\n uCyafZ/8uyWcJntpTJdhT1FnzTMgJtO7sm3p3lVjNfGQgx04qYUryCNOwH8gQu++QPTw\n fJj2TbShARoSCrP3T2kFpU6UUqFLNhzQBHw/kGkPKI8iqoHp9Z68P2RqiMuoY+C5e1iH\n 29nCJRxNABcNz380vs4x+yv2hznFttB2REDFPOPNhLBQBHZjnzO8swtxsdvUn+1/IcCE\n ygeA==", "X-Gm-Message-State": "AOJu0YzwI01p0ZKTFxgk44DKJmli2uMJvoKuTcWh2zWne/S71OxsMx9+\n QBKkcI2MkYEyEvUxRGVldlCQcLKvFGP4kLO67QPPZWpkSGh355QhwEO+jnRG6+WjWZvYVFY/z/x\n E91OkuMi+dI1SHr5fsgk4HMo8/XCihC2YUHefY1D82Kj3ujGimu8aMZafacCicEZeEVkqIMqWpf\n Wc5ykl8XcAqPRBwh4Y0Tm8XqWmZbCp1JqmyultHcZp", "X-Gm-Gg": "AeBDietHnb/s7NY36P0P6U1iRdftYwUvCwhgDZfIHnNLC/suKegDYZVJ3iOl2bFurKK\n NuZ3oYRTWNUSTCSNz4FsFQB8zxnkkUlD2JEAkCNLIfjha2Y54xQ88Dyidgwwm2M952eidqUAanh\n KmHb+CXA+3n1ApSKN1nXCQ4JOH73eC7B0stqqyRS5//J0Q1nKmua2uZkShmQeOEg5WGxoXKQAN1\n 8DiLZ/RNT3A6cnGP/j4zIR2P0TcuNvKMZZc7+k7xrlaPsiYUTUHjb99mE85NovL0nMLME941hfJ\n vuRAYm/M7GqYpNXZsdWvgcArrtQ/e0NN5eT+YGHSc+lvuBIWoDh97GEjBrR6aZZDlFj23Hx4D2g\n EdVdFy0hOPTm3ZyJi8PgSLMicHEUFh/MXN3mbJmtXMu2LfQ4LUzJ3EQPEKuFcHw6AGNd1M4Bb87\n xeseixSjuVG4yAkreqURlEg1X7cASbQPac53A=", "X-Received": [ "by 2002:a05:620a:4454:b0:8ea:40cd:1a05 with SMTP id\n af79cd13be357-8faaf62d85fmr459136785a.1.1777569800775;\n Thu, 30 Apr 2026 10:23:20 -0700 (PDT)", "by 2002:a05:620a:4454:b0:8ea:40cd:1a05 with SMTP id\n af79cd13be357-8faaf62d85fmr459131585a.1.1777569800045;\n Thu, 30 Apr 2026 10:23:20 -0700 (PDT)" ], "From": "Paolo Bonzini <pbonzini@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Jon Kohler <jon@nutanix.com>,\n\tZhao Liu <zhao1.liu@intel.com>", "Subject": "[PULL 23/58] target/i386: add new Intel models for MBEC enablement", "Date": "Thu, 30 Apr 2026 19:21:29 +0200", "Message-ID": "<20260430172204.1006673-24-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.129.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_H4=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: Jon Kohler <jon@nutanix.com>\n\nAdd models to expose Mode Based Execute Control (MBEC) support, which\nis a Skylake++ feature.\n\nNote: Future models can use VMX_SECONDARY_EXEC_MODE_BASED_EPT_EXEC to\neasily add default support.\n\nNew models are:\n- Skylake-Server-v6\n- Cascadelake-Server-v7\n- Icelake-Server-v9\n- SapphireRapids-v8\n- GraniteRapids-v7\n- DiamondRapids-v2\n- SierraForest-v6\n- ClearwaterForest-v4\n\nCc: Paolo Bonzini <pbonzini@redhat.com>\nCc: Zhao Liu <zhao1.liu@intel.com>\nSigned-off-by: Jon Kohler <jon@nutanix.com>\nLink: https://lore.kernel.org/r/20260330193428.1663253-4-jon@nutanix.com\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/cpu.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 67 insertions(+)", "diff": "diff --git a/target/i386/cpu.c b/target/i386/cpu.c\nindex 196665d83c7..f4856c61044 100644\n--- a/target/i386/cpu.c\n+++ b/target/i386/cpu.c\n@@ -4767,6 +4767,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ }\n }\n },\n+ {\n+ .version = 6,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ }\n+ }\n+ },\n { /* end of list */ }\n }\n },\n@@ -4912,6 +4920,13 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ }\n },\n },\n+ { .version = 7,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ }\n+ },\n+ },\n { /* end of list */ }\n }\n },\n@@ -5206,6 +5221,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ }\n },\n },\n+ {\n+ .version = 9,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ }\n+ }\n+ },\n { /* end of list */ }\n }\n },\n@@ -5392,6 +5415,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ },\n }\n },\n+ {\n+ .version = 8,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ },\n+ }\n+ },\n { /* end of list */ }\n }\n },\n@@ -5582,6 +5613,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ },\n }\n },\n+ {\n+ .version = 7,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ },\n+ }\n+ },\n { /* end of list */ },\n },\n },\n@@ -5776,6 +5815,18 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n .features[FEAT_VMX_VMFUNC] = MSR_VMX_VMFUNC_EPT_SWITCHING,\n .xlevel = 0x80000008,\n .model_id = \"Intel Xeon Processor (DiamondRapids)\",\n+ .versions = (X86CPUVersionDefinition[]) {\n+ { .version = 1 },\n+ {\n+ .version = 2,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ },\n+ }\n+ },\n+ { /* end of list */ },\n+ },\n },\n {\n .name = \"SierraForest\",\n@@ -5947,6 +5998,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ },\n }\n },\n+ {\n+ .version = 6,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ },\n+ }\n+ },\n { /* end of list */ },\n },\n },\n@@ -6103,6 +6162,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n { /* end of list */ },\n }\n },\n+ {\n+ .version = 4,\n+ .note = \"with MBEC enabled\",\n+ .props = (PropValue[]) {\n+ { \"vmx-mbec\", \"on\" },\n+ { /* end of list */ },\n+ }\n+ },\n { /* end of list */ },\n },\n },\n", "prefixes": [ "PULL", "23/58" ] }