get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224036,
    "url": "http://patchwork.ozlabs.org/api/patches/2224036/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260416153524.1405955-1-chandrashekar.devegowda@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": "<20260416153524.1405955-1-chandrashekar.devegowda@intel.com>",
    "list_archive_url": null,
    "date": "2026-04-16T15:35:23",
    "name": "[v2] Bluetooth: btintel_pcie: Fix build error when CONFIG_ACPI is disabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e0d7693b236e2ee55370fcca3a99b0532e050206",
    "submitter": {
        "id": 90156,
        "url": "http://patchwork.ozlabs.org/api/people/90156/?format=api",
        "name": "Chandrashekar Devegowda",
        "email": "chandrashekar.devegowda@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260416153524.1405955-1-chandrashekar.devegowda@intel.com/mbox/",
    "series": [
        {
            "id": 500179,
            "url": "http://patchwork.ozlabs.org/api/series/500179/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=500179",
            "date": "2026-04-16T15:35:23",
            "name": "[v2] Bluetooth: btintel_pcie: Fix build error when CONFIG_ACPI is disabled",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/500179/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224036/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224036/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-52619-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=H+Q/7e2s;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-52619-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=\"H+Q/7e2s\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=198.175.65.20",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=intel.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=intel.com"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 4fxMcV5d6Bz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 01:38:50 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 439D43013D6F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 15:36:07 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E6B2D3242BE;\n\tThu, 16 Apr 2026 15:36:05 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.20])\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 8FF002E2DDD;\n\tThu, 16 Apr 2026 15:36:04 +0000 (UTC)",
            "from orviesa007.jf.intel.com ([10.64.159.147])\n  by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Apr 2026 08:36:04 -0700",
            "from weba0957.iind.intel.com (HELO WEBA0932.iind.intel.com)\n ([10.224.186.34])\n  by orviesa007.jf.intel.com with ESMTP; 16 Apr 2026 08:36:02 -0700"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776353765; cv=none;\n b=egl7L6tdEFH6D4sCqF98yJCye/mJnP8fCqVNNoBwPynvmDtmdmcqpddlwx8whFwNEvfWcAWCZqmj0IUqhkbuar9htfUyBSzp2EhnmEPHSXAPodwC/45/ayHSv1lhlbw7FML5CTTUj2IS5+6hy6DFW2PJZ0NbZSaFGPE64cWAa+s=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776353765; c=relaxed/simple;\n\tbh=b5J/XNpLxlUh/lvWwGpUhJktPbhokRVEjpHgais1vZw=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=N3e9c1J7LB00YGGS1/IeOL6MwmvKV0bqR5glultUJ7d3Xpa719xJ0G9wh2nQhFukGACi2Rtbg6Gt/5TX9Yms9Q3ac6YHuYMdo18uLhPYoIJI9WG7Hgxee25ZCTfQUUPQn9FqvcSI9HSdThjlnwcRFWgsyM6AinbJmJUCSfW+3oU=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=intel.com;\n spf=pass smtp.mailfrom=intel.com;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=H+Q/7e2s; arc=none smtp.client-ip=198.175.65.20",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n  t=1776353765; x=1807889765;\n  h=from:to:cc:subject:date:message-id:mime-version:\n   content-transfer-encoding;\n  bh=b5J/XNpLxlUh/lvWwGpUhJktPbhokRVEjpHgais1vZw=;\n  b=H+Q/7e2sGMDxquxNq1jwjGusn532AXAiukPp8ulz0P+a14ovUtm1jSRE\n   9G9EBiTJn6sPUrJWqZXmo5SnubT7+PN0Z13tFqgE+zGjgHvqAbIokIR3K\n   LTQhi9r9+Ao8C3zN1ImKtYDF/By4hX++H8gRgI+YIeDq8cTUjqQRyCLlw\n   Y6W8nUq40OTJqAirQdTUcwzv8zDO8nv0tEHE0V70O8rA+VmTWyP4DbPYP\n   GNPeKPW/tm34QhOlEwl84X9zHbaDorskqPahQu71bGe+hN5AedSWDM3PF\n   sJHZu3MQNU3JqNRvRsOAuD7L0u2TEJmYteheDZ9Ec1KrVpnX0qWrOTPWa\n   A==;",
        "X-CSE-ConnectionGUID": [
            "iT2mneZuT5eixUhvjGNhNQ==",
            "QAhyX3eGSTGP38wrX73gRA=="
        ],
        "X-CSE-MsgGUID": [
            "7DibotmiTTW6PO75vKjllw==",
            "Eg9BzuShROWOPSKSeRvdnA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11760\"; a=\"77056428\"",
            "E=Sophos;i=\"6.23,181,1770624000\";\n   d=\"scan'208\";a=\"77056428\"",
            "E=Sophos;i=\"6.23,181,1770624000\";\n   d=\"scan'208\";a=\"231006022\""
        ],
        "X-ExtLoop1": "1",
        "From": "Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>",
        "To": "linux-bluetooth@vger.kernel.org",
        "Cc": "linux-pci@vger.kernel.org,\n\tbhelgaas@google.com,\n\travishankar.srivatsa@intel.com,\n\tchethan.tumkur.narayan@intel.com,\n\tChandrashekar Devegowda <chandrashekar.devegowda@intel.com>,\n\tkernel test robot <lkp@intel.com>",
        "Subject": "[PATCH v2] Bluetooth: btintel_pcie: Fix build error when CONFIG_ACPI\n is disabled",
        "Date": "Thu, 16 Apr 2026 21:05:23 +0530",
        "Message-ID": "<20260416153524.1405955-1-chandrashekar.devegowda@intel.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "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": "btintel_pcie_acpi_reset_method() uses ACPI APIs such as\nacpi_evaluate_object() and acpi_has_method() which are not available\nwhen CONFIG_ACPI is disabled, causing build errors on architectures\nthat lack ACPI support.\n\nGuard btintel_pcie_acpi_reset_method() and btintel_pcie_perform_pldr()\nwith IS_ENABLED(CONFIG_ACPI). Since PLDR relies entirely on ACPI reset\nmethods, skip the entire PLDR flow when ACPI is not enabled instead of\nunnecessarily unbinding and reprobing WiFi with no actual reset.\n\nFixes: 912a499a7955 (\"Bluetooth: btintel_pcie: Support Product level reset\")\nReported-by: kernel test robot <lkp@intel.com>\nSigned-off-by: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>\n---\nv1 -> v2:\n  - Guard btintel_pcie_perform_pldr() along with\n    btintel_pcie_acpi_reset_method() under IS_ENABLED(CONFIG_ACPI)\n    instead of providing a separate stub for the ACPI method, since\n    PLDR is meaningless without ACPI support (Paul).\n  - Tested with CONFIG_ACPI=y, CONFIG_ACPI disabled, and 0day CI\n    alpha config.\n\n drivers/bluetooth/btintel_pcie.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c\nindex 076beb45c410..07223965388a 100644\n--- a/drivers/bluetooth/btintel_pcie.c\n+++ b/drivers/bluetooth/btintel_pcie.c\n@@ -2280,6 +2280,7 @@ static void btintel_pcie_inc_recovery_count(struct pci_dev *pdev,\n static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data);\n static void btintel_pcie_reset(struct hci_dev *hdev);\n \n+#if IS_ENABLED(CONFIG_ACPI)\n static int btintel_pcie_acpi_reset_method(struct btintel_pcie_data *data)\n {\n \tunion acpi_object *obj, argv4;\n@@ -2389,6 +2390,12 @@ static void btintel_pcie_perform_pldr(struct btintel_pcie_data *data)\n \t\t\tBT_ERR(\"BT reprobe failed for BDF:%s\", pci_name(pdev));\n \t}\n }\n+#else\n+static void btintel_pcie_perform_pldr(struct btintel_pcie_data *data)\n+{\n+\tbt_dev_warn(data->hdev, \"PLDR not supported, ACPI is disabled\");\n+}\n+#endif\n \n static void btintel_pcie_reset_work(struct work_struct *wk)\n {\n",
    "prefixes": [
        "v2"
    ]
}