get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217139,
    "url": "http://patchwork.ozlabs.org/api/patches/2217139/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260327173209.148180-2-mbawa@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": "<20260327173209.148180-2-mbawa@redhat.com>",
    "list_archive_url": null,
    "date": "2026-03-27T17:32:07",
    "name": "[v3,1/3] docs/specs/tpm: document PPI support on ARM64 virt",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "54d35a52fc83ff8b6e91751c82fd2c5171fbd6c4",
    "submitter": {
        "id": 92626,
        "url": "http://patchwork.ozlabs.org/api/people/92626/?format=api",
        "name": "Mohammadfaiz Bawa",
        "email": "mbawa@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260327173209.148180-2-mbawa@redhat.com/mbox/",
    "series": [
        {
            "id": 497807,
            "url": "http://patchwork.ozlabs.org/api/series/497807/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497807",
            "date": "2026-03-27T17:32:08",
            "name": "hw/tpm: add PPI support to tpm-tis-device on ARM64 virt",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/497807/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217139/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217139/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=Ifw+a4m/;\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=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 4fj75p5BqJz1y1P\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 04:33:18 +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 1w6B35-0006YL-Fh; Fri, 27 Mar 2026 13:32:43 -0400",
            "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 <mbawa@redhat.com>) id 1w6B33-0006Y1-1t\n for qemu-devel@nongnu.org; Fri, 27 Mar 2026 13:32:41 -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 <mbawa@redhat.com>) id 1w6B30-0007y7-1Y\n for qemu-devel@nongnu.org; Fri, 27 Mar 2026 13:32:40 -0400",
            "from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-136-U5MYos7pPhyL5CRyhdxYaA-1; Fri,\n 27 Mar 2026 13:32:33 -0400",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id A85EC180044D; Fri, 27 Mar 2026 17:32:28 +0000 (UTC)",
            "from mbawa-thinkpadt14gen5.bengluru.csb (unknown [10.74.88.2])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 17DD730001A1; Fri, 27 Mar 2026 17:32:20 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774632756;\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=gn3jrtSyozbHerGqTPMze7M1HW6JN1Jbqrfe547XgwE=;\n b=Ifw+a4m/jAin3xWGiJFbRfQ192BJkDXrfoVo6FiuCf9TAg+S1jWsLqX4DmTLc0Hx8phFau\n VoutL/08GKHY6Thi/Hlm1QSfN4pmFd5Wb+lBmqOTO+RRWK4k4R2ksbh7Ungl0twtGihh6p\n WmkvUOuftYSdIFQZZ/JY816dyiw5R3k=",
        "X-MC-Unique": "U5MYos7pPhyL5CRyhdxYaA-1",
        "X-Mimecast-MFC-AGG-ID": "U5MYos7pPhyL5CRyhdxYaA_1774632749",
        "From": "Mohammadfaiz Bawa <mbawa@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "stefanb@linux.vnet.ibm.com, pierrick.bouvier@linaro.org,\n \"Michael S . Tsirkin\" <mst@redhat.com>, imammedo@redhat.com,\n anisinha@redhat.com, peter.maydell@linaro.org, shannon.zhaosl@gmail.com,\n qemu-arm@nongnu.org, mohamed@unpredictable.fr, philmd@linaro.org,\n Mohammadfaiz Bawa <mbawa@redhat.com>, Stefan Berger <stefanb@linux.ibm.com>",
        "Subject": "[PATCH v3 1/3] docs/specs/tpm: document PPI support on ARM64 virt",
        "Date": "Fri, 27 Mar 2026 23:02:07 +0530",
        "Message-ID": "<20260327173209.148180-2-mbawa@redhat.com>",
        "In-Reply-To": "<20260327173209.148180-1-mbawa@redhat.com>",
        "References": "<20260327173209.148180-1-mbawa@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.4",
        "Received-SPF": "pass client-ip=170.10.133.124; envelope-from=mbawa@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_H2=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=unavailable 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": "Document that tpm-tis-device on the ARM virt machine supports PPI\nwith dynamically allocated MMIO via the platform bus, unlike x86\nwhere PPI is at the fixed address 0xFED45000.\n\nAlso add hw/arm/virt-acpi-build.c and hw/acpi/tpm.c to the list\nof files related to TPM ACPI tables.\n\nReviewed-by: Stefan Berger <stefanb@linux.ibm.com>\nSigned-off-by: Mohammadfaiz Bawa <mbawa@redhat.com>\n---\n docs/specs/tpm.rst | 24 ++++++++++++++++++++++++\n 1 file changed, 24 insertions(+)",
    "diff": "diff --git a/docs/specs/tpm.rst b/docs/specs/tpm.rst\nindex b630a351b4..ba2b0d7267 100644\n--- a/docs/specs/tpm.rst\n+++ b/docs/specs/tpm.rst\n@@ -187,8 +187,32 @@ The location of the table is given by the fw_cfg ``tpmppi_address``\n field.  The PPI memory region size is 0x400 (``TPM_PPI_ADDR_SIZE``) to\n leave enough room for future updates.\n \n+PPI on ARM64 virt\n+-----------------\n+\n+The ARM virt machine supports PPI for ``tpm-tis-device`` as defined\n+in the `PPI specification`_.\n+\n+Unlike the x86 TIS device where the PPI memory region is mapped at\n+the fixed address ``0xFED45000`` (within the TIS MMIO range), the\n+ARM64 sysbus device registers PPI memory as a second MMIO region\n+on the platform bus. The platform bus assigns the guest physical\n+address dynamically at device plug time. The ACPI ``_DSM`` method\n+and PPI operation regions reference this dynamically resolved\n+address.\n+\n+PPI is controlled by the ``ppi`` property (default ``on``)::\n+\n+    -device tpm-tis-device,tpmdev=tpm0,ppi=on\n+\n+Without PPI, guest operating systems such as Windows 11\n+ARM64 will log errors when attempting to query TPM Physical\n+Presence capabilities via the ACPI ``_DSM`` method.\n+\n QEMU files related to TPM ACPI tables:\n  - ``hw/i386/acpi-build.c``\n+ - ``hw/arm/virt-acpi-build.c``\n+ - ``hw/acpi/tpm.c``\n  - ``include/hw/acpi/tpm.h``\n \n TPM backend devices\n",
    "prefixes": [
        "v3",
        "1/3"
    ]
}