Cover Letter Detail
Show a cover letter.
GET /api/1.2/covers/2234756/?format=api
{ "id": 2234756, "url": "http://patchwork.ozlabs.org/api/1.2/covers/2234756/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/cover/20260508034101.1910036-1-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-1-18255117159@163.com>", "list_archive_url": null, "date": "2026-05-08T03:40:59", "name": "[v4,0/2] PCI: cadence: Add LTSSM debugfs", "submitter": { "id": 89937, "url": "http://patchwork.ozlabs.org/api/1.2/people/89937/?format=api", "name": "Hans Zhang", "email": "18255117159@163.com" }, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/cover/20260508034101.1910036-1-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/covers/2234756/comments/", "headers": { "Return-Path": "\n <linux-pci+bounces-54176-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=SpXG226z;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-pci+bounces-54176-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=\"SpXG226z\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=117.135.210.4", "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 sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::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 4gBZgB6Yx0z1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 13:41:58 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 3E6243006994\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 8 May 2026 03:41:56 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 1FF6C3148DD;\n\tFri, 8 May 2026 03:41:53 +0000 (UTC)", "from m16.mail.163.com (m16.mail.163.com [117.135.210.4])\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 31DC92F363F;\n\tFri, 8 May 2026 03:41:48 +0000 (UTC)", "from Precision-7960.. (unknown [])\n\tby gzsmtp4 (Coremail) with SMTP id PygvCgCX5jJYW_1pUkipCw--.764S2;\n\tFri, 08 May 2026 11:41:15 +0800 (CST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778211713; cv=none;\n b=crBeQjV8U5JuMFGYMxZDP1SZFSB5kZjov5fea0SDCE2N6EEaMfmSBje2cIjKx1vdTCYPkig5cJl690E1xr0d73UOTIgiF8Jvvybe4NpJDKTt4/+mmaoHzu7HE6o4AUsTZTOD8DghfCxqjc/XM9spuTQrcHYGmJr5YkCRo+1hclk=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778211713; c=relaxed/simple;\n\tbh=MEUWDC+gwIz+NhpCeCEaqZyh+heJsW4lr89gxGprlkQ=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=o/0brSyw3jflyEZY7LozDzsuhf6L8sPuFxArgrPejnLkWu9gIMULsdB+zlVeJ+f6gBOdP+UF0zoHPPqE4ahQHAdicO/TOwSI6x2unyHbSc03cwmn/MHNexlBbm1WqOL8sVSdsJGjw65xl7sZRi0kLwQEke/Lkzp4iwZLvJiYmKw=", "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=SpXG226z; arc=none smtp.client-ip=117.135.210.4", "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=7d\n\tUHVsNE/6UVVlfOX223yJ9AwbYp6g3uturHQXczS2I=; b=SpXG226zCJBwHQiZad\n\tPWeBpayz+PXNyIONRc6dqixxVTPvSjzlmuTjLfPv3brDwGOQn2jCmTMyBPfKcKpw\n\tQg86O9en0t/PfbeOjQ2enImOsUkjEJeh1pzcI9gVnSFFDsIUStl3c9ZRzM8JzgmH\n\tKaygBh7zQkot8oFWITC7h2ktc=", "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 0/2] PCI: cadence: Add LTSSM debugfs", "Date": "Fri, 8 May 2026 11:40:59 +0800", "Message-Id": "<20260508034101.1910036-1-18255117159@163.com>", "X-Mailer": "git-send-email 2.34.1", "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--.764S2", "X-Coremail-Antispam": "1Uf129KBjvJXoWxGw4fCw47tw18Wr4DWw1kuFg_yoW5tw4fpa\n\t4kKFWfGr4xArW3Z3Z3Z3WUWryftFn3A3yxJwsa9w1xZ3W3CryDXr1IkFW5XrZxGrZrur17\n\ttr15twn7KryavFUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUUxhdUUUUU=", "X-CM-SenderInfo": "rpryjkyvrrlimvzbiqqrwthudrp/xtbC6xzHa2n9W1yuXAAA36" }, "content": "Hi,\n\nThis series adds debugfs support to the Cadence PCIe controller driver,\nallowing users to read the current LTSSM state of the link for debugging\npurposes.\n\nPatch 1 introduces a new flag 'is_hpa' in the cdns_pcie structure to\ndistinguish HPA (High Performance Architecture IP) platforms, which\nhave a different register layout for LTSSM status.\n\nPatch 2 implements the debugfs file \"ltssm_status\" under a per-device\ndirectory. It reads the LTSSM state from the appropriate hardware register\nbased on the 'is_hpa' flag and displays both a descriptive string and the\nraw value.\n\n=====================\nTest:\nroot@orangepi6plus:~# ls -l /sys/kernel/debug/cdns_pcie_a0*\n/sys/kernel/debug/cdns_pcie_a010000.pcie:\ntotal 0\n-r--r--r-- 1 root root 0 Jan 1 1970 ltssm_status\n\n/sys/kernel/debug/cdns_pcie_a0c0000.pcie:\ntotal 0\n-r--r--r-- 1 root root 0 Jan 1 1970 ltssm_status\n\n/sys/kernel/debug/cdns_pcie_a0e0000.pcie:\ntotal 0\n-r--r--r-- 1 root root 0 Jan 1 1970 ltssm_status\nroot@orangepi6plus:~# \nroot@orangepi6plus:~# \nroot@orangepi6plus:~# cat /sys/kernel/debug/cdns_pcie_a0*/ltss*\nL0_STATE (0x29)\nL0_STATE (0x29)\nL0_STATE (0x29)\nroot@orangepi6plus:~# \nroot@orangepi6plus:~# uname -a\nLinux orangepi6plus 7.1.0-rc2-00377-gb898336dec53-dirty #43 SMP PREEMPT Fri May 8 11:15:00 CST 2026 aarch64 aarch64 aarch64 GNU/Linux\n=====================\n\n---\nChanges for v4:\n- Remove the copyright email address of the author of pcie-cadence-debugfs.c (Mani)\n- Add cdns_pcie_hpa_host_disable() (Mani)\n- Use DEFINE_SHOW_ATTRIBUTE() (Mani & Sashiko)\n\nChanges for v3:\nhttps://patchwork.kernel.org/project/linux-pci/patch/20260406103237.1203127-1-18255117159@163.com/\n\n- Export cdns_pcie_debugfs_deinit (Mani)\n- pcie-cadence-ep.c pcie-cadence-host.c pci-sky1.c call cdns_pcie_debugfs_deinit\n\nChanges for v2:\nhttps://patchwork.kernel.org/project/linux-pci/patch/20260321033035.3008585-3-18255117159@163.com/\n\n- s/DW_PCIE_LTSSM_NAME/CDNS_PCIE_LTSSM_NAME/\n- S/January 2026/March 2026/\n- EXPORT_SYMBOL_GPL(cdns_pcie_debugfs_init); // Resolve the following error issues.\n >> ERROR: modpost: \"cdns_pcie_debugfs_init\" [drivers/pci/controller/cadence/pcie-cadence-host-mod.ko] undefined!\n >> ERROR: modpost: \"cdns_pcie_debugfs_init\" [drivers/pci/controller/cadence/pcie-cadence-ep-mod.ko] undefined!\n\nv1:\nhttps://patchwork.kernel.org/project/linux-pci/cover/20260315155514.127255-1-18255117159@163.com/\n\nHans Zhang (2):\n PCI: cadence: Add HPA architecture flag\n PCI: cadence: Add debugfs property to provide LTSSM status of the PCIe\n link\n\n Documentation/ABI/testing/debugfs-cdns-pcie | 5 +\n drivers/pci/controller/cadence/Kconfig | 9 +\n drivers/pci/controller/cadence/Makefile | 1 +\n drivers/pci/controller/cadence/pci-sky1.c | 4 +\n .../controller/cadence/pcie-cadence-debugfs.c | 208 ++++++++++++++++++\n .../pci/controller/cadence/pcie-cadence-ep.c | 3 +\n .../cadence/pcie-cadence-host-hpa.c | 20 +-\n .../controller/cadence/pcie-cadence-host.c | 9 +-\n drivers/pci/controller/cadence/pcie-cadence.h | 152 +++++++++++++\n 9 files changed, 409 insertions(+), 2 deletions(-)\n create mode 100644 Documentation/ABI/testing/debugfs-cdns-pcie\n create mode 100644 drivers/pci/controller/cadence/pcie-cadence-debugfs.c\n\n\nbase-commit: 917719c412c48687d4a176965d1fa35320ec457c" }