Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2234758/?format=api
{ "id": 2234758, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234758/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260508034101.1910036-2-18255117159@163.com/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260508034101.1910036-2-18255117159@163.com>", "list_archive_url": null, "date": "2026-05-08T03:41:00", "name": "[v4,1/2] PCI: cadence: Add HPA architecture flag", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0685f894f3f1de82601d8c3a05fee628ae730307", "submitter": { "id": 89937, "url": "http://patchwork.ozlabs.org/api/1.2/people/89937/?format=api", "name": "Hans Zhang", "email": "18255117159@163.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260508034101.1910036-2-18255117159@163.com/mbox/", "series": [ { "id": 503315, "url": "http://patchwork.ozlabs.org/api/1.2/series/503315/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=503315", "date": "2026-05-08T03:40:59", "name": "PCI: cadence: Add LTSSM debugfs", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/503315/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2234758/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2234758/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-pci+bounces-54178-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 (1024-bit key;\n unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256\n header.s=s110527 header.b=YNrK7rmf;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-pci+bounces-54178-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=163.com header.i=@163.com\n header.b=\"YNrK7rmf\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=117.135.210.5", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=163.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=163.com" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4gBZgd6b1yz1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 13:42:21 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id A5EC1304BCDF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 8 May 2026 03:42:03 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2AE7C31F988;\n\tFri, 8 May 2026 03:41:56 +0000 (UTC)", "from m16.mail.163.com (m16.mail.163.com [117.135.210.5])\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 08FA4317174;\n\tFri, 8 May 2026 03:41:53 +0000 (UTC)", "from Precision-7960.. (unknown [])\n\tby gzsmtp4 (Coremail) with SMTP id PygvCgCX5jJYW_1pUkipCw--.764S3;\n\tFri, 08 May 2026 11:41:17 +0800 (CST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778211716; cv=none;\n b=TWBZ70eAmlL8FTrtaWq5Q1tGFNbTBDOlE9BqsA0VV95fLdq9HZJOAb1VQC2J6PvZE20NP3Gi2i+ytWPa2HoyvLfZV7TnSJO7no7sTn6py4jgbqeDCSrvzSF6P2FzyYVqfGqtNj/3XhlGSsSg66wwyCn0Zh8EQSXDa9wMq02Hn/Y=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778211716; c=relaxed/simple;\n\tbh=pArVZXkhrJuq4P8ImSz2TeRji4YMR96EykM9VNZ//7c=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=igUx7EYlcCDWDGyNFokWfOnxssVGOWNiOKL99WfoGc0wnSX6jwoyrjqiRb8uK/sRRmjt9BuSQgpAOsezqSZ/yuTNAnUOabo+lxIQgDRPP7+kUJmYNexe53ncCm13z6lZ9LYglR0u6QCBy+sRm0+ChTPP7NincCWDxGwY8oHed4s=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=163.com;\n spf=pass smtp.mailfrom=163.com;\n dkim=pass (1024-bit key) header.d=163.com header.i=@163.com\n header.b=YNrK7rmf; arc=none smtp.client-ip=117.135.210.5", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;\n\ts=s110527; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=2B\n\t63YrNMsen+1RgWxaUoJOlqGHuGmoS2N2EpQ1kPbiY=; b=YNrK7rmfLF2d82ozYf\n\tonV518/imtjh4c096R3IyHqjWv/3nyqWFNzwbGtUzh6rbDc+Yg9mtXcvNm0lf6Fs\n\t1FjJ5isMvAFJOpj3ZGw+XdgAqQRthjzc7lEq+Mf5b3e9GFXpYw3tL8l/pt0K1oa7\n\tF2H+KtoG2ASExZFSOJzCgKf8A=", "From": "Hans Zhang <18255117159@163.com>", "To": "bhelgaas@google.com,\n\tlpieralisi@kernel.org,\n\tkwilczynski@kernel.org,\n\tmani@kernel.org,\n\thans.zhang@cixtech.com", "Cc": "robh@kernel.org,\n\tmpillai@cadence.com,\n\tlinux-pci@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tHans Zhang <18255117159@163.com>", "Subject": "[PATCH v4 1/2] PCI: cadence: Add HPA architecture flag", "Date": "Fri, 8 May 2026 11:41:00 +0800", "Message-Id": "<20260508034101.1910036-2-18255117159@163.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260508034101.1910036-1-18255117159@163.com>", "References": "<20260508034101.1910036-1-18255117159@163.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", "X-CM-TRANSID": "PygvCgCX5jJYW_1pUkipCw--.764S3", "X-Coremail-Antispam": "1Uf129KBjvJXoW7AFy3ArWfuw4Dtr4kXr4UXFb_yoW8Zr13pa\n\tyDGFyfC3WfXF45uan5Z3W5GF1a9FnxZasrKwsI9w1fuF13CrWUGFy2gFyrJF9xKrW7ur1I\n\tvF1DtasrJFsIyrUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pR0Ap5UUUUU=", "X-CM-SenderInfo": "rpryjkyvrrlimvzbiqqrwthudrp/xtbCxB3Ha2n9W10MRgAA3t" }, "content": "Add a boolean flag 'is_hpa' to the cdns_pcie structure to indicate\nthat the controller is part of a Heterogeneous Processor Architecture\n(HPA) system. This flag will be used by subsequent patches to handle\nHPA-specific register layouts and behaviors.\n\nSigned-off-by: Hans Zhang <18255117159@163.com>\n---\n drivers/pci/controller/cadence/pci-sky1.c | 1 +\n drivers/pci/controller/cadence/pcie-cadence.h | 2 ++\n 2 files changed, 3 insertions(+)", "diff": "diff --git a/drivers/pci/controller/cadence/pci-sky1.c b/drivers/pci/controller/cadence/pci-sky1.c\nindex cd55c64e58a9..e1f4a98e2ab6 100644\n--- a/drivers/pci/controller/cadence/pci-sky1.c\n+++ b/drivers/pci/controller/cadence/pci-sky1.c\n@@ -174,6 +174,7 @@ static int sky1_pcie_probe(struct platform_device *pdev)\n \tcdns_pcie->reg_base = pcie->reg_base;\n \tcdns_pcie->msg_res = pcie->msg_res;\n \tcdns_pcie->is_rc = true;\n+\tcdns_pcie->is_hpa = true;\n \n \treg_off = devm_kzalloc(dev, sizeof(*reg_off), GFP_KERNEL);\n \tif (!reg_off) {\ndiff --git a/drivers/pci/controller/cadence/pcie-cadence.h b/drivers/pci/controller/cadence/pcie-cadence.h\nindex 574e9cf4d003..9a464cbaf073 100644\n--- a/drivers/pci/controller/cadence/pcie-cadence.h\n+++ b/drivers/pci/controller/cadence/pcie-cadence.h\n@@ -80,6 +80,7 @@ struct cdns_plat_pcie_of_data {\n * @msg_res: Region for send message to map PCI accesses\n * @dev: PCIe controller\n * @is_rc: tell whether the PCIe controller mode is Root Complex or Endpoint.\n+ * @is_hpa: indicates if the architecture is HPA\n * @phy_count: number of supported PHY devices\n * @phy: list of pointers to specific PHY control blocks\n * @link: list of pointers to corresponding device link representations\n@@ -93,6 +94,7 @@ struct cdns_pcie {\n \tstruct resource *msg_res;\n \tstruct device\t\t *dev;\n \tbool\t\t\t is_rc;\n+\tbool\t\t\t\t is_hpa;\n \tint\t\t\t phy_count;\n \tstruct phy\t\t **phy;\n \tstruct device_link\t **link;\n", "prefixes": [ "v4", "1/2" ] }