Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2231422/?format=api
{ "id": 2231422, "url": "http://patchwork.ozlabs.org/api/patches/2231422/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-22-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-22-pbonzini@redhat.com>", "list_archive_url": null, "date": "2026-04-30T17:21:27", "name": "[PULL,21/58] target/i386: add new AMD EPYC models for GMET enablement", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "d1dc638c1a8119e3dfc51b859e0bf25741fed455", "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-22-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/2231422/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231422/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=fwP/3YVk;\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=c/lTUCfD;\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 4g61Jj6RMYz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:25:09 +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 1wIV6f-00054K-Oy; Thu, 30 Apr 2026 13:23:21 -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 1wIV6e-00052I-Hm\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:20 -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 1wIV6c-0004VA-Al\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:20 -0400", "from mail-qk1-f197.google.com (mail-qk1-f197.google.com\n [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-711-Oz-2hl-7P2Sj_-BSEuKekQ-1; Thu, 30 Apr 2026 13:23:16 -0400", "by mail-qk1-f197.google.com with SMTP id\n af79cd13be357-8d654ade33aso486834185a.1\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 10:23:16 -0700 (PDT)", "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8fbb3d33744sm21814685a.34.2026.04.30.10.23.12\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 10:23:13 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777569797;\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=oYW3tZjd2YtBr3/DviKXJBILscYsWNHcgFO3TAJr2lk=;\n b=fwP/3YVkQRHnRlR6uWAHSlzkvvwdGj6GT3HFyFCHlBtod1xrPXSQ5mx1ZP+fH2QixTAyr2\n NLDn3vj9VTtNlekj+8ZibQKxjYMdi7otgnlEMLK1t1JtaCScsnO/Z/vLBvkdc2J58A3DLp\n 10nNQiZleZonQHhHByLmjntoSLPMDik=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777569795; x=1778174595; 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=oYW3tZjd2YtBr3/DviKXJBILscYsWNHcgFO3TAJr2lk=;\n b=c/lTUCfDt9+VWslZPXJDXKGTtiYOAwFCVMWQiZr1fOiBjxh/NQpFP8V6blIRkghPEw\n /oQmXo5jsC8QM1Pw7BosvdvHwxT5uE5+C5Lee0mlnQ9ICqhQl1iCc/Lf1rKPnO7qT5/D\n Hu+NjHLNxwo7AeeLGmJxLEUK+g7PVyOA+7WH4aJgXOe9nyB0u9YkYLq5b53EU5fxnmXL\n P8pUBdpiiASUDzZzMdX4LaxJLijHrjGIk6JMqxEwNI45XllqvLxVEFzKdt2Sw1PwNLY7\n UFeBGJUjQBds7B/7Vnm8pojVsPHjjoVJHEYHskqdPKK/gKn7yNoiomeUQ+uwaglecRXa\n JUbQ==" ], "X-MC-Unique": "Oz-2hl-7P2Sj_-BSEuKekQ-1", "X-Mimecast-MFC-AGG-ID": "Oz-2hl-7P2Sj_-BSEuKekQ_1777569796", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777569795; x=1778174595;\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=oYW3tZjd2YtBr3/DviKXJBILscYsWNHcgFO3TAJr2lk=;\n b=Zc5WISSW1hSBJ+D9XCLe+3xH+cXcVYDrBEUHovcK2NY5UPymaRJdca0BVJJPij/QOw\n noNGIfUHgZWIKL9qreVIRqPP+X2eRG3QSO4dEHFyyX+Ef/yobjmmQ3QdK00K4t+Vs343\n yJ/P59+ysJqorttscCxK7S94KVKreU91uGZfjXte1JkjTZKGj4sOC1jBLP5hSH1rtjau\n 2wE/aO/5FshQg4YCQr36EsQQG25n69y2QDVCwNQUhHnj3gnPMcvy7icZRucu5Vw2E+Uk\n Ko+w/2WFnh0kbCFHs1qmND5T594gHHqY/kzXgEGG4fliHGf7rgx4UWd3QZwEMeMftofq\n GO2A==", "X-Gm-Message-State": "AOJu0YwBOXWuvg92duLOEruD2PN1pqO89sh8JfYiSEadS7Tzu+W4Kwx3\n mYuvN+Gd0HJtbrZAUMbtVHJXUhh/NqAfu9gyEyVtV6koSZd1nm62zUlr61t4cE+s78vT7/vQ/ph\n HnHKxPlaPTsUiZlT2WxL/I7JOC+yUQlnSBCGizTvW2CZKbpwilDtN9xbO6zEeHHD4s+shEjqRFF\n dZ7nxNkHBTV+uG4ERG0IQZIXwk86URM6gcq6D3a+YV", "X-Gm-Gg": "AeBDietHhMd5qbvB+xqO8Bokt+SbHLiV2H3hYARfnfxX1mdRBFJkI38o7de6Kk81iLK\n 7+TWmxy4SaQPBjWf/E5sV+EA1l4AVEk1MUt0AptarZe7s6Ogdmtp9Z7FxD/icPKCnMVkOk1jWIy\n kZ98VsuYENuhu13znqo0vR7bX1Xjs0SVApqCxqLcwSM3PZuErJy2j142w4LuPY8YPAn4yi0nFTU\n /75oOzX8MmOa42FW4ou5q28KVh9ZMW8CL0Lv02ru4PiWe6nE+V/LVswjL0JWn1q8VnXL3coC53n\n ALNB9UIbzAgvIo4Kg1K1Jc5qUxciOq0yinX+KlSh4TU2wBFQWrAEB2QPL/cFNAKkqKyOH4iV6/F\n gluga1lKZL0vozaltkIKMtB0ApWIR3l3skbGHDzvUlcNzVORRcwgog1BcZcPJOsH6vAkhJK/viQ\n M+GDtqclZhjBXnXiHu7E6iGKYnoMX8jVu49yU=", "X-Received": [ "by 2002:a05:620a:4149:b0:8ef:2118:aec5 with SMTP id\n af79cd13be357-8fabad178bdmr453941085a.20.1777569795103;\n Thu, 30 Apr 2026 10:23:15 -0700 (PDT)", "by 2002:a05:620a:4149:b0:8ef:2118:aec5 with SMTP id\n af79cd13be357-8fabad178bdmr453930985a.20.1777569794249;\n Thu, 30 Apr 2026 10:23:14 -0700 (PDT)" ], "From": "Paolo Bonzini <pbonzini@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Jon Kohler <jon@nutanix.com>, Babu Moger <babu.moger@amd.com>,\n Nikunj A Dadhania <nikunj@amd.com>", "Subject": "[PULL 21/58] target/i386: add new AMD EPYC models for GMET enablement", "Date": "Thu, 30 Apr 2026 19:21:27 +0200", "Message-ID": "<20260430172204.1006673-22-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 Guest Mode Execute Trap (GMET) support,\nand add CPUID_SVM_GMET header definition so that future EPYC\nmodels can easily add default support.\n\nNew models are:\nAMD EPYC-Milan-v4\nAMD EPYC-Genoa-v3\nAMD EPYC-Turin-v2\n\nCc: Babu Moger <babu.moger@amd.com>\nCc: Nikunj A Dadhania <nikunj@amd.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nSigned-off-by: Jon Kohler <jon@nutanix.com>\nLink: https://lore.kernel.org/r/20260330193428.1663253-2-jon@nutanix.com\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/cpu.h | 1 +\n target/i386/cpu.c | 34 ++++++++++++++++++++++++++++++++++\n 2 files changed, 35 insertions(+)", "diff": "diff --git a/target/i386/cpu.h b/target/i386/cpu.h\nindex 0b539155c40..6401028e70d 100644\n--- a/target/i386/cpu.h\n+++ b/target/i386/cpu.h\n@@ -879,6 +879,7 @@ uint64_t x86_cpu_get_supported_feature_word(X86CPU *cpu, FeatureWord w);\n #define CPUID_SVM_AVIC (1U << 13)\n #define CPUID_SVM_V_VMSAVE_VMLOAD (1U << 15)\n #define CPUID_SVM_VGIF (1U << 16)\n+#define CPUID_SVM_GMET (1U << 17)\n #define CPUID_SVM_VNMI (1U << 25)\n #define CPUID_SVM_SVME_ADDR_CHK (1U << 28)\n \ndiff --git a/target/i386/cpu.c b/target/i386/cpu.c\nindex 9d126600c05..b19bdf99792 100644\n--- a/target/i386/cpu.c\n+++ b/target/i386/cpu.c\n@@ -6836,6 +6836,16 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n },\n .cache_info = &epyc_milan_v3_cache_info\n },\n+ {\n+ .version = 4,\n+ .props = (PropValue[]) {\n+ { \"gmet\", \"on\" },\n+ { \"model-id\",\n+ \"AMD EPYC-Milan-v4 Processor\" },\n+ { /* end of list */ }\n+ },\n+ .cache_info = &epyc_milan_v3_cache_info\n+ },\n { /* end of list */ }\n }\n },\n@@ -6933,6 +6943,16 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n },\n .cache_info = &epyc_genoa_v2_cache_info\n },\n+ {\n+ .version = 3,\n+ .props = (PropValue[]) {\n+ { \"gmet\", \"on\" },\n+ { \"model-id\",\n+ \"AMD EPYC-Genoa-v3 Processor\" },\n+ { /* end of list */ }\n+ },\n+ .cache_info = &epyc_genoa_v2_cache_info\n+ },\n { /* end of list */ }\n }\n },\n@@ -7163,6 +7183,20 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n .xlevel = 0x80000022,\n .model_id = \"AMD EPYC-Turin Processor\",\n .cache_info = &epyc_turin_cache_info,\n+ .versions = (X86CPUVersionDefinition[]) {\n+ { .version = 1 },\n+ {\n+ .version = 2,\n+ .props = (PropValue[]) {\n+ { \"gmet\", \"on\" },\n+ { \"model-id\",\n+ \"AMD EPYC-Turin-v2 Processor\" },\n+ { /* end of list */ }\n+ },\n+ .cache_info = &epyc_turin_cache_info\n+ },\n+ { /* end of list */ }\n+ }\n },\n };\n \n", "prefixes": [ "PULL", "21/58" ] }