get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217065,
    "url": "http://patchwork.ozlabs.org/api/patches/2217065/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260327160132.2946114-18-yilun.xu@linux.intel.com/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260327160132.2946114-18-yilun.xu@linux.intel.com>",
    "list_archive_url": null,
    "date": "2026-03-27T16:01:18",
    "name": "[v2,17/31] acpi: Add KEYP support to fw_table parsing",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "37f9cdc977eb3bc968eb60620f4d44adf71ace65",
    "submitter": {
        "id": 87470,
        "url": "http://patchwork.ozlabs.org/api/people/87470/?format=api",
        "name": "Xu Yilun",
        "email": "yilun.xu@linux.intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260327160132.2946114-18-yilun.xu@linux.intel.com/mbox/",
    "series": [
        {
            "id": 497793,
            "url": "http://patchwork.ozlabs.org/api/series/497793/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=497793",
            "date": "2026-03-27T16:01:02",
            "name": "PCI/TSM: PCIe Link Encryption Establishment via TDX platform services",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/497793/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217065/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217065/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-51303-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pci@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=lTRGge+t;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-pci+bounces-51303-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=\"lTRGge+t\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=198.175.65.14",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linux.intel.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fj5s52gPCz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 03:37:13 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id BB87030A382C\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2026 16:27:31 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 96F113F23B7;\n\tFri, 27 Mar 2026 16:23:38 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.14])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AE2B3F54D0;\n\tFri, 27 Mar 2026 16:23:37 +0000 (UTC)",
            "from fmviesa006.fm.intel.com ([10.60.135.146])\n  by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Mar 2026 09:23:36 -0700",
            "from yilunxu-optiplex-7050.sh.intel.com ([10.239.159.165])\n  by fmviesa006.fm.intel.com with ESMTP; 27 Mar 2026 09:23:32 -0700"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774628618; cv=none;\n b=aEdcy2UUohYJ7vIr/NGfpJombAbkuUh0jLsqklRH+sJ4obhPsjMf+vvE0KlfS+bCp9ewhM2HoA6XkB8LREsDRKBkmatSORjthp0kOwYQgWoyT25FIrzof4ffrws32zXAYhbgZREu91QV7N/UVxrYNNJEzhp9n2XX3OJCZqZ4Di4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774628618; c=relaxed/simple;\n\tbh=Yw2arDmH4MgdmE+FoKrycqUBPwKxZLL2Da+EzWHNEjE=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=AsyQbobnExCA3v1zUlUzCPYOwqouMDWkrma7P+vcavRLhUaSW2Ddq/8iJtae0JhF0y6GqVF2TT72W5N0KYBfm8yifEUCdSPBCy77KLYJIC3HbJb42dMe5c+Q7AL9UqRBiq34TOZ3VdffSw6HtKd6SVwo352PcZtk7rasf5N0OVs=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com;\n spf=pass smtp.mailfrom=linux.intel.com;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=lTRGge+t; arc=none smtp.client-ip=198.175.65.14",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n  t=1774628616; x=1806164616;\n  h=from:to:cc:subject:date:message-id:in-reply-to:\n   references:mime-version:content-transfer-encoding;\n  bh=Yw2arDmH4MgdmE+FoKrycqUBPwKxZLL2Da+EzWHNEjE=;\n  b=lTRGge+tzqKYuhJEbM9GHlTcPH31e+jeAjxtd70B5oOH6v1isTJhj3B1\n   Ub8mrfgSD9150GNm4Rb/J0XT2S+KNnMsEr7C7fWnOo8TrbY+8HNOahfI1\n   lnJeOUg+59tYuNoUqqPIMkf09yb5xwz5aETlvrgnZGBxEKJnvkwgt1H+w\n   tOY7VVpsywCYRNIzYHCo7hpKrzOStK0wV2wCo5zhZp3ZPaSL5awaqwKCp\n   rIP65x1muGAulY1ie7ozPHCu3Z17/AN8urzqdsJj7oLVfhvMT6Q3awFFW\n   /bs2uSuwKsBUIuz/P/8zRhLPoNHXALEQrIKrSAB9dzcaqEVqtjTVm392d\n   g==;",
        "X-CSE-ConnectionGUID": [
            "6wM+xWjLQr67XmYzX61TPQ==",
            "OzketJJZS/OmPIQa/DKplQ=="
        ],
        "X-CSE-MsgGUID": [
            "hVbxGcS7QHekOE2/X4HKpw==",
            "dFqNlNTTQrixRH4N3fGZcQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11741\"; a=\"79565611\"",
            "E=Sophos;i=\"6.23,144,1770624000\";\n   d=\"scan'208\";a=\"79565611\"",
            "E=Sophos;i=\"6.23,144,1770624000\";\n   d=\"scan'208\";a=\"220516280\""
        ],
        "X-ExtLoop1": "1",
        "From": "Xu Yilun <yilun.xu@linux.intel.com>",
        "To": "linux-coco@lists.linux.dev,\n\tlinux-pci@vger.kernel.org,\n\tdan.j.williams@intel.com,\n\tx86@kernel.org",
        "Cc": "chao.gao@intel.com,\n\tdave.jiang@intel.com,\n\tbaolu.lu@linux.intel.com,\n\tyilun.xu@linux.intel.com,\n\tyilun.xu@intel.com,\n\tzhenzhong.duan@intel.com,\n\tkvm@vger.kernel.org,\n\trick.p.edgecombe@intel.com,\n\tdave.hansen@linux.intel.com,\n\tkas@kernel.org,\n\txiaoyao.li@intel.com,\n\tvishal.l.verma@intel.com,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[PATCH v2 17/31] acpi: Add KEYP support to fw_table parsing",
        "Date": "Sat, 28 Mar 2026 00:01:18 +0800",
        "Message-Id": "<20260327160132.2946114-18-yilun.xu@linux.intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20260327160132.2946114-1-yilun.xu@linux.intel.com>",
        "References": "<20260327160132.2946114-1-yilun.xu@linux.intel.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pci@vger.kernel.org",
        "List-Id": "<linux-pci.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "From: Dave Jiang <dave.jiang@intel.com>\n\nKEYP ACPI table can be parsed using the common fw_table handlers. Add\nadditional support to detect and parse the table.\n\nCo-developed-by: Xu Yilun <yilun.xu@linux.intel.com>\nSigned-off-by: Xu Yilun <yilun.xu@linux.intel.com>\nSigned-off-by: Dave Jiang <dave.jiang@intel.com>\nReviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>\n---\n include/linux/acpi.h     |  3 +++\n include/linux/fw_table.h |  1 +\n drivers/acpi/tables.c    | 12 +++++++++++-\n lib/fw_table.c           |  9 +++++++++\n 4 files changed, 24 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/include/linux/acpi.h b/include/linux/acpi.h\nindex 4d2f0bed7a06..e5b51bd46600 100644\n--- a/include/linux/acpi.h\n+++ b/include/linux/acpi.h\n@@ -247,6 +247,9 @@ int acpi_table_parse_madt(enum acpi_madt_type id,\n int __init_or_acpilib\n acpi_table_parse_cedt(enum acpi_cedt_type id,\n \t\t      acpi_tbl_entry_handler_arg handler_arg, void *arg);\n+int __init_or_acpilib\n+acpi_table_parse_keyp(enum acpi_keyp_type id,\n+\t\t      acpi_tbl_entry_handler_arg handler_arg, void *arg);\n \n int acpi_parse_mcfg (struct acpi_table_header *header);\n void acpi_table_print_madt_entry (struct acpi_subtable_header *madt);\ndiff --git a/include/linux/fw_table.h b/include/linux/fw_table.h\nindex 9bd605b87c4c..293252cb0b7e 100644\n--- a/include/linux/fw_table.h\n+++ b/include/linux/fw_table.h\n@@ -36,6 +36,7 @@ union acpi_subtable_headers {\n \tstruct acpi_prmt_module_header prmt;\n \tstruct acpi_cedt_header cedt;\n \tstruct acpi_cdat_header cdat;\n+\tstruct acpi_keyp_common_header keyp;\n };\n \n int acpi_parse_entries_array(char *id, unsigned long table_size,\ndiff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c\nindex 4286e4af1092..8dc60632faf3 100644\n--- a/drivers/acpi/tables.c\n+++ b/drivers/acpi/tables.c\n@@ -299,6 +299,16 @@ acpi_table_parse_cedt(enum acpi_cedt_type id,\n }\n EXPORT_SYMBOL_ACPI_LIB(acpi_table_parse_cedt);\n \n+int __init_or_acpilib\n+acpi_table_parse_keyp(enum acpi_keyp_type id,\n+\t\t      acpi_tbl_entry_handler_arg handler_arg, void *arg)\n+{\n+\treturn __acpi_table_parse_entries(ACPI_SIG_KEYP,\n+\t\t\t\t\t  sizeof(struct acpi_table_keyp), id,\n+\t\t\t\t\t  NULL, handler_arg, arg, 0);\n+}\n+EXPORT_SYMBOL_ACPI_LIB(acpi_table_parse_keyp);\n+\n int __init acpi_table_parse_entries(char *id, unsigned long table_size,\n \t\t\t\t    int entry_id,\n \t\t\t\t    acpi_tbl_entry_handler handler,\n@@ -408,7 +418,7 @@ static const char table_sigs[][ACPI_NAMESEG_SIZE] __nonstring_array __initconst\n \tACPI_SIG_PSDT, ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT,\n \tACPI_SIG_IORT, ACPI_SIG_NFIT, ACPI_SIG_HMAT, ACPI_SIG_PPTT,\n \tACPI_SIG_NHLT, ACPI_SIG_AEST, ACPI_SIG_CEDT, ACPI_SIG_AGDI,\n-\tACPI_SIG_NBFT, ACPI_SIG_SWFT, ACPI_SIG_MPAM};\n+\tACPI_SIG_NBFT, ACPI_SIG_SWFT, ACPI_SIG_MPAM, ACPI_SIG_KEYP};\n \n #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)\n \ndiff --git a/lib/fw_table.c b/lib/fw_table.c\nindex 16291814450e..147e3895e94c 100644\n--- a/lib/fw_table.c\n+++ b/lib/fw_table.c\n@@ -20,6 +20,7 @@ enum acpi_subtable_type {\n \tACPI_SUBTABLE_PRMT,\n \tACPI_SUBTABLE_CEDT,\n \tCDAT_SUBTABLE,\n+\tACPI_SUBTABLE_KEYP,\n };\n \n struct acpi_subtable_entry {\n@@ -41,6 +42,8 @@ acpi_get_entry_type(struct acpi_subtable_entry *entry)\n \t\treturn entry->hdr->cedt.type;\n \tcase CDAT_SUBTABLE:\n \t\treturn entry->hdr->cdat.type;\n+\tcase ACPI_SUBTABLE_KEYP:\n+\t\treturn entry->hdr->keyp.type;\n \t}\n \treturn 0;\n }\n@@ -61,6 +64,8 @@ acpi_get_entry_length(struct acpi_subtable_entry *entry)\n \t\t__le16 length = (__force __le16)entry->hdr->cdat.length;\n \n \t\treturn le16_to_cpu(length);\n+\tcase ACPI_SUBTABLE_KEYP:\n+\t\treturn entry->hdr->keyp.length;\n \t}\n \t}\n \treturn 0;\n@@ -80,6 +85,8 @@ acpi_get_subtable_header_length(struct acpi_subtable_entry *entry)\n \t\treturn sizeof(entry->hdr->cedt);\n \tcase CDAT_SUBTABLE:\n \t\treturn sizeof(entry->hdr->cdat);\n+\tcase ACPI_SUBTABLE_KEYP:\n+\t\treturn sizeof(entry->hdr->keyp);\n \t}\n \treturn 0;\n }\n@@ -95,6 +102,8 @@ acpi_get_subtable_type(char *id)\n \t\treturn ACPI_SUBTABLE_CEDT;\n \tif (strncmp(id, ACPI_SIG_CDAT, 4) == 0)\n \t\treturn CDAT_SUBTABLE;\n+\tif (strncmp(id, ACPI_SIG_KEYP, 4) == 0)\n+\t\treturn ACPI_SUBTABLE_KEYP;\n \treturn ACPI_SUBTABLE_COMMON;\n }\n \n",
    "prefixes": [
        "v2",
        "17/31"
    ]
}