get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2231412/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2231412,
    "url": "http://patchwork.ozlabs.org/api/patches/2231412/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-23-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-23-pbonzini@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-30T17:21:28",
    "name": "[PULL,22/58] target/i386: add new Intel models for MMIO/GDS/RFDS mitigation status",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3a93099c3d770837fc5a5264436c05893849c6d1",
    "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-23-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/2231412/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231412/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=C4qR7MrH;\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=iZoSKlk5;\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 4g61H907dbz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:23:49 +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 1wIV6i-00056t-VQ; Thu, 30 Apr 2026 13:23:24 -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 1wIV6h-00056E-7t\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:23 -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 1wIV6f-0004Vl-Id\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:22 -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-685-Kz5IHlrXNzOR3ERcFZhnFA-1; Thu, 30 Apr 2026 13:23:19 -0400",
            "by mail-vs1-f72.google.com with SMTP id\n ada2fe7eead31-6059d4c73d5so785560137.2\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 10:23:19 -0700 (PDT)",
            "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b3ff459caasm22560376d6.36.2026.04.30.10.23.15\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 10:23:16 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777569800;\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=sfkdwlFj2YA+Zv6GpIGsjW3a53Cm6pY/xczWrPNM46M=;\n b=C4qR7MrHikzG1G4Zvv7bSS8RyvltuAYXPH+UROLHKGrQ+slY67XEIPXtw0g6NL16EEpopZ\n HxQozrzHdgw2oz2vgQ7n7Dqz++l/3MytjCMO+V5u+vatRZVzmZt1yiYRrdUPp8xU4pXHIu\n +m1wHqI+G7boEW1CGbYuZjXnGO6mMSw=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777569798; x=1778174598; 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=sfkdwlFj2YA+Zv6GpIGsjW3a53Cm6pY/xczWrPNM46M=;\n b=iZoSKlk5sNf1McpzPm3XOTpTWY2QyIvjEzXsOaTnynfKZEkwylAJor1iq/1hetEsWP\n 169cfvegVbKctp+SMiai+sxPf9ipalFP0RYtVNN23Ss3jG5MEx82FRpsblMerUDMR7q6\n kjugF3wV3bqTmGxxw+F+f/wIKbeRmh3SGKKbmY+tVI6B0zsKbrtCztPuC744x7vIOYR0\n BkFTBKPlEuSQIknYc1i6P5cLHXTF0yRr0hyAuYII7XsSGA5UjtDQUXWcQZyRsEDlz0lh\n TKGA2HJyb0otHFEqpJ9CGcziGrm2AJThptmn9Xif+8A+QWr1uR8XJKD1PqZC0LDNgcNA\n gnjw=="
        ],
        "X-MC-Unique": "Kz5IHlrXNzOR3ERcFZhnFA-1",
        "X-Mimecast-MFC-AGG-ID": "Kz5IHlrXNzOR3ERcFZhnFA_1777569799",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777569798; x=1778174598;\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=sfkdwlFj2YA+Zv6GpIGsjW3a53Cm6pY/xczWrPNM46M=;\n b=dKiikKBzPIOUzrEcH8Pki7FDeXaztvj/Mq7IATk8X+3xvOR6n9Kz4HDd/Tp4eAXw6+\n AlonL6KpBZwjBjK/5+KKr6SIDhyaxM1FhpDjxv9hjR6pl247jPgnB5jpsqtWG/ZKmsOs\n PTxX6pBqGAFt1M7BstnTeNyn6r84KKb3fGXY7vSqS/JQKn2xAWM0pRKZ13gmfw50VNiq\n iX86tdFtKM4GawAqDkASIL5EAPB4vzUjM/AiUAu2FFVGZB2NCcUI1l2dnjc9O9qGkd1N\n lAjU0DaSZ8d6LTgKhkrXXsKR3ASY6I6BHOp15Rxn8K60XbS7t2RhmjUgKzSlaLMnTsH4\n 2P9w==",
        "X-Gm-Message-State": "AOJu0YwbSYfVeqlWaP7BybVnocce8TeGjh4dwEMP2+IPwI1RUNnqGNlu\n PRxrcjsQt0JDwhGI++KPkO7dBEBbNAF2c855vpaViyuwaZsx1fxIR3ivLZnuMbTODhTZuw3YJzJ\n CkKY4+dlqjGHBM3jmrsWzzaXnnhMBEutqxFDSiORp/jukjLGxwYnX9VU1r10X+b2MBVvVjcUng9\n IluW7A8DUsSrQmDPWehlzQt9EF2uGJZk3DcTtHI/fq",
        "X-Gm-Gg": "AeBDiev/uo6YxRggNJmeFUdWZ2D9Zz1/Dt2PvAxTXgudP+uHcX/FtiRqo9T/lDW8UWW\n x1gp1f0NeChA+MEjumtgDefXW0wigMIw71kBaavIhGAC6XK0haUOysKRJfgF1yRXfsjgwyGwbES\n MTVj0DcdWYa+gmEfmC+sudLeM1iRHkCQbIlftRV0QG0KYUVk0H+RN20T/wYs6WSGvQr64CAj+K1\n gUeDl7Bt7BfYL3xdkqpp54KDgmdIkFqyTMfAI0xThSOKH2+n+zuYkcroDW/fo7B7OyAzXXm6SLW\n 1tcetJSv8Oc7X8qYMadk9RDlFEMNbnRLz+rLYiVs3QqKCEgEKg2l+f9hkF6LaN/yg5i2lykP7xh\n dtPvVoNQgBNe/0UMLkoHYCVrXAy53+FhAs3eMv/XJ6QrfRxHjH1Zg3Ssygpfv9Pzlhy8IZ4AolU\n hTOmQURdJ/nDP4eWExrZ5FiojXxTJkGPoHxgI=",
        "X-Received": [
            "by 2002:a05:6102:4415:b0:61d:8fd9:fb26 with SMTP id\n ada2fe7eead31-62ad1e41270mr2245110137.7.1777569797933;\n Thu, 30 Apr 2026 10:23:17 -0700 (PDT)",
            "by 2002:a05:6102:4415:b0:61d:8fd9:fb26 with SMTP id\n ada2fe7eead31-62ad1e41270mr2245020137.7.1777569797329;\n Thu, 30 Apr 2026 10:23:17 -0700 (PDT)"
        ],
        "From": "Paolo Bonzini <pbonzini@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Jon Kohler <jon@nutanix.com>,\n Pawan Gupta <pawan.kumar.gupta@linux.intel.com>,\n Zhao Liu <zhao1.liu@intel.com>",
        "Subject": "[PULL 22/58] target/i386: add new Intel models for MMIO/GDS/RFDS\n mitigation status",
        "Date": "Thu, 30 Apr 2026 19:21:28 +0200",
        "Message-ID": "<20260430172204.1006673-23-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 new bits to ARCH_CAPABILITIES MSR to enumerate the status of the\nMMIO/GDS/RFDS mitigations on Cascade Lake, Ice Lake, Sapphire Rapids,\nand Granite Rapids processors.\n\nThese have been advertised in Intel microcode updates for a while now,\nbut require user space to opt in to advertise them to guests.\n\nNew models are:\n- Cascadelake-Server-v6\n- Icelake-Server-v8\n- SapphireRapids-v7 (note, already got MMIO fixes on commit [1])\n- GraniteRapids-v6\n\n[1] 3baf7ae63505 (\"target/i386: Add few security fix bits in\n                   ARCH_CAPABILITIES into SapphireRapids CPU model\")\n\nCc: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>\nCc: Zhao Liu <zhao1.liu@intel.com>\nSigned-off-by: Jon Kohler <jon@nutanix.com>\nLink: https://lore.kernel.org/r/20260330193428.1663253-3-jon@nutanix.com\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/cpu.c | 41 +++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 41 insertions(+)",
    "diff": "diff --git a/target/i386/cpu.c b/target/i386/cpu.c\nindex b19bdf99792..196665d83c7 100644\n--- a/target/i386/cpu.c\n+++ b/target/i386/cpu.c\n@@ -4901,6 +4901,17 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n                   { /* end of list */ }\n               },\n             },\n+            { .version = 6,\n+              .note = \"with MMIO/GDS/RFDS mitigation status\",\n+              .props = (PropValue[]) {\n+                  { \"fb-clear\", \"on\" },\n+                  { \"gds-no\", \"on\" },\n+                  { \"psdp-no\", \"on\" },\n+                  { \"rfds-no\", \"on\" },\n+                  { \"sbdr-ssdp-no\", \"on\" },\n+                  { /* end of list */ }\n+              },\n+            },\n             { /* end of list */ }\n         }\n     },\n@@ -5183,6 +5194,18 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n                     { /* end of list */ }\n                 },\n             },\n+            {\n+                .version = 8,\n+                .note = \"with MMIO/GDS/RFDS mitigation status\",\n+                .props = (PropValue[]) {\n+                    { \"fb-clear\", \"on\" },\n+                    { \"gds-no\", \"on\" },\n+                    { \"psdp-no\", \"on\" },\n+                    { \"rfds-no\", \"on\" },\n+                    { \"sbdr-ssdp-no\", \"on\" },\n+                    { /* end of list */ }\n+                },\n+            },\n             { /* end of list */ }\n         }\n     },\n@@ -5360,6 +5383,15 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n                     { /* end of list */ },\n                 }\n             },\n+            {\n+                .version = 7,\n+                .note = \"with GDS and RFDS mitigation status\",\n+                .props = (PropValue[]) {\n+                    { \"gds-no\", \"on\" },\n+                    { \"rfds-no\", \"on\" },\n+                    { /* end of list */ },\n+                }\n+            },\n             { /* end of list */ }\n         }\n     },\n@@ -5541,6 +5573,15 @@ static const X86CPUDefinition builtin_x86_defs[] = {\n                     { /* end of list */ },\n                 }\n             },\n+            {\n+                .version = 6,\n+                .note = \"with GDS and RFDS mitigation status\",\n+                .props = (PropValue[]) {\n+                    { \"gds-no\", \"on\" },\n+                    { \"rfds-no\", \"on\" },\n+                    { /* end of list */ },\n+                }\n+            },\n             { /* end of list */ },\n         },\n     },\n",
    "prefixes": [
        "PULL",
        "22/58"
    ]
}