Cover Letter Detail
Show a cover letter.
GET /api/1.0/covers/2220111/?format=api
{ "id": 2220111, "url": "http://patchwork.ozlabs.org/api/1.0/covers/2220111/?format=api", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.0/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 }, "msgid": "<20260406105613.1228673-1-18255117159@163.com>", "date": "2026-04-06T10:56:10", "name": "[v6,0/3] PCI: Refactor PCIe speed validation and conversion functions", "submitter": { "id": 89937, "url": "http://patchwork.ozlabs.org/api/1.0/people/89937/?format=api", "name": "Hans Zhang", "email": "18255117159@163.com" }, "series": [ { "id": 498843, "url": "http://patchwork.ozlabs.org/api/1.0/series/498843/?format=api", "date": "2026-04-06T10:56:11", "name": "PCI: Refactor PCIe speed validation and conversion functions", "version": 6, "mbox": "http://patchwork.ozlabs.org/series/498843/mbox/" } ], "headers": { "Return-Path": "\n <linux-pci+bounces-51951-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=SRIsygnB;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-pci+bounces-51951-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=\"SRIsygnB\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=117.135.210.3", "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 sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fq5r31StDz1yFt\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 06 Apr 2026 20:57:07 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 2294E300751F\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 6 Apr 2026 10:57:03 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 874243314D9;\n\tMon, 6 Apr 2026 10:56:59 +0000 (UTC)", "from m16.mail.163.com (m16.mail.163.com [117.135.210.3])\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 10E2031A061;\n\tMon, 6 Apr 2026 10:56:56 +0000 (UTC)", "from Precision-7960.. (unknown [])\n\tby gzga-smtp-mtada-g1-4 (Coremail) with SMTP id\n _____wC37wJQkdNpmdyZDg--.25057S2;\n\tMon, 06 Apr 2026 18:56:16 +0800 (CST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775473019; cv=none;\n b=RZkAGBNxUxTvNlczFG4r2g/9Q1Cw9Oaj7l+V+UQZuFwmnS3RDZkPmZHZ0eE2T0bXKi9r6asq2Jq9ZtRf2UBiNBt4yps450UNg2DL83FNl0lQCi/F3M1s362yEL6nz+OJqd3tcDV0S/dS3w5JBqvQMiHK7KTY+wq+k3FMAKmh3cA=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775473019; c=relaxed/simple;\n\tbh=nan5179p0F4xSgv64zjXRiKBFJ0BJ3H/7k9IVZT0oEI=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=T2WZEjuH180JG6amSweZWJlXgeZ9RhdlCIW3u1qI/AQJe93zcmbJY/6sroIqKA7IyqK51T+A7RVg1FNbz7vU6bROKLRbQhyZdfYwKrk1uPcstYTrEBc1UO+O8Yur0jvur8v0q95g255Cu0CEcTuDIzzEsPBmN8b5e8m1rY2GzWw=", "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=SRIsygnB; arc=none smtp.client-ip=117.135.210.3", "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=7L\n\tld9hOXfc3Ls9HFf+pUDgYMDFqZiJUBOpyviglyfjU=; b=SRIsygnBfn5wTzFKBR\n\tg18pm6kVb0KFZSAKyEdV0BIjjLgqsp9ql3h0xiGaBiSJUhk4S2yap7WC2vAQu7Wb\n\tbqoQCHYqrf2AHu4blUbRG8UjdmYZHmdxSD/wa4pUAu55zTdrIWzWWEH9FxGyhLAM\n\tWrm/YHlVLBZNsHti/gj2QJ3Ao=", "From": "Hans Zhang <18255117159@163.com>", "To": "bhelgaas@google.com,\n\tlpieralisi@kernel.org,\n\tkw@linux.com,\n\tkwilczynski@kernel.org,\n\tmani@kernel.org,\n\tilpo.jarvinen@linux.intel.com,\n\tjingoohan1@gmail.com", "Cc": "robh@kernel.org,\n\tlinux-pci@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tHans Zhang <18255117159@163.com>", "Subject": "[PATCH v6 0/3] PCI: Refactor PCIe speed validation and conversion\n functions", "Date": "Mon, 6 Apr 2026 18:56:10 +0800", "Message-Id": "<20260406105613.1228673-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": "_____wC37wJQkdNpmdyZDg--.25057S2", "X-Coremail-Antispam": "1Uf129KBjvJXoW7uF1Uur17WF15Jry5tFW8JFb_yoW8Aw45pa\n\tyavw4fJrW7G343Ga97W3WjgFy5Wan3JrW0vry3J3s3Zr13ZFn3Jr4IgF4F9ry2yrWI9r42\n\tvr12vF1kCw1jkaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pRj2NZUUUUU=", "X-CM-SenderInfo": "rpryjkyvrrlimvzbiqqrwthudrp/xtbCwxHHa2nTkVHzNwAA3A" }, "content": "This series refactors PCIe speed validation and conversion logic to\nshared functions in the public header, eliminating code duplication\nand ensuring consistency across drivers.\n\n---\nChanges for v6:\n- missing one line of code:\n link_speed = pcie_get_link_speed(pci->max_link_speed); \n\nChanges for v5:\nhttps://patchwork.kernel.org/project/linux-pci/patch/20260406104708.1218648-1-18255117159@163.com/\n\n- Rebase to v7.0-rc1. (pci/next tree)\n\nChanges for v4:\nhttps://patchwork.kernel.org/project/linux-pci/patch/20251102143206.111347-1-18255117159@163.com/\n\n- Maintain O(1) array-based lookup for speed conversion (addressing\n performance concerns from v3 feedback)\n- Move pcie_valid_speed() and pci_bus_speed2lnkctl2() to pci.h\n- Update dwc driver to use the shared functions\n- Rebase to v6.18-rc3.\n\nThis addresses the feedback from Lukas Wunner and Manivannan Sadhasivam\non the v3 submission, ensuring no runtime performance regression while\nachieving code reuse.\n\nChanges for v3:\nhttps://patchwork.kernel.org/project/linux-pci/patch/20250816154633.338653-1-18255117159@163.com/\n\n- Rebase to v6.17-rc1.\n- Gentle ping.\n\nChanges for v2:\n- s/PCIE_SPEED2LNKCTL2_TLS_ENC/PCIE_SPEED2LNKCTL2_TLS\n- The patch commit message were modified.\n---\n\nHans Zhang (3):\n PCI: Add public pcie_valid_speed() for shared validation\n PCI: Move pci_bus_speed2lnkctl2() to public header\n PCI: dwc: Use common speed conversion function\n\n drivers/pci/controller/dwc/pcie-designware.c | 18 +++-------------\n drivers/pci/pci.h | 22 ++++++++++++++++++++\n drivers/pci/pcie/bwctrl.c | 22 --------------------\n 3 files changed, 25 insertions(+), 37 deletions(-)\n\n\nbase-commit: 525e91d84dc085492b36d4b87abb7c1cc93fcb44" }