Show a cover letter.

GET /api/1.1/covers/2220528/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2220528,
    "url": "http://patchwork.ozlabs.org/api/1.1/covers/2220528/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/cover/20260407130450.1489318-1-18255117159@163.com/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": "<20260407130450.1489318-1-18255117159@163.com>",
    "date": "2026-04-07T13:04:47",
    "name": "[v7,0/3] PCI: Refactor PCIe speed validation and conversion functions",
    "submitter": {
        "id": 89937,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/89937/?format=api",
        "name": "Hans Zhang",
        "email": "18255117159@163.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/cover/20260407130450.1489318-1-18255117159@163.com/mbox/",
    "series": [
        {
            "id": 498981,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/498981/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=498981",
            "date": "2026-04-07T13:04:48",
            "name": "PCI: Refactor PCIe speed validation and conversion functions",
            "version": 7,
            "mbox": "http://patchwork.ozlabs.org/series/498981/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2220528/comments/",
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-52068-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=cbDIvhhp;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-52068-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=\"cbDIvhhp\"",
            "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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\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 4fqmh8197dz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 07 Apr 2026 23:07:36 +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 2537C3026166\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  7 Apr 2026 13:06:16 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 77F883A1D05;\n\tTue,  7 Apr 2026 13:06:15 +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 5269214F70;\n\tTue,  7 Apr 2026 13:06:12 +0000 (UTC)",
            "from Precision-7960.. (unknown [])\n\tby gzga-smtp-mtada-g1-1 (Coremail) with SMTP id\n _____wC33bQHAdVpBqSeDg--.5276S2;\n\tTue, 07 Apr 2026 21:05:12 +0800 (CST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775567175; cv=none;\n b=AOEfAl/yHY4c7F4diWtQjJ7idv2AiRW8yD/XdSqYoMRoJNmGXi7XGyg/uKSPKNNDP6PgNvt15DqmI0Yn2EyLKMRKvAxO88ze+ZvvRR6RGOABQ9xhcmSn0yz8WuDo1NyY+ligZg2Ps9M6xS4kbdVeKqUEW1SnbOx4ckkML/baYyA=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775567175; c=relaxed/simple;\n\tbh=btecWxYQt84G/cM1OgAB/Z75003fNjS8po6gLWzUV9o=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=CI62cQvvgottiEAOYQxFEBa6xiDHIbNOO0MPBsYoiu8fmG8ySE8/g0R7TKkBTjic6osrHaaNkFLRCsdvC2fllzSVasOcjKh2HmZMU30zhc76lm/kAps+A48kqSgAPW1oA8Hjp4jJwOqB4eGZkjqDu/AVzSYBmAoPKsj9rmDu0o0=",
        "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=cbDIvhhp; 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=eI\n\tVNG6V/9ObwTM9dTgO3ipaPLAhctz2zqYUK0qrSakE=; b=cbDIvhhphoQeGtscqe\n\teCwNBeXYD38ndj2icX7JDeI/KZHd2t+xRPDn6PXRXWLcfjjmqu+OElNgsSJdpziU\n\tVOZ9B4GAz3xTpr0kO8jBKn9gF9gcSTnM/i/beDdvnDRr7NZdr68Qzyoz+VDelIYV\n\tsngZIHJLxJDIbZNa8/qxa6DoE=",
        "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 v7 0/3] PCI: Refactor PCIe speed validation and conversion\n functions",
        "Date": "Tue,  7 Apr 2026 21:04:47 +0800",
        "Message-Id": "<20260407130450.1489318-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": "_____wC33bQHAdVpBqSeDg--.5276S2",
        "X-Coremail-Antispam": "1Uf129KBjvJXoW7uF1Uur17WF15Jr1DGr4UJwb_yoW8uw1Dpa\n\tyYvw4fJr47G3sxGa97W3W2gry5Wan3XrW0vry3G3s3ZF13AFn3JrW0gF4F9F9FyrWS9r42\n\tvr12vr1kCw1jkaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0piRuWXUUUUU=",
        "X-CM-SenderInfo": "rpryjkyvrrlimvzbiqqrwthudrp/xtbC6wkStWnVAQmp9gAA3u"
    },
    "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 v7:\n- patch 0002 add #include <asm/bug.h> (Ilpo)\n- s/u32 link_speed/enum pci_bus_speed link_speed/ (Ilpo)\n- The return value of pci_bus_speed2lnkctl2 uses the variable ctrl2_speed\n  to avoid the abuse of variable types. (Ilpo)\n\nChanges for v6:\nhttps://patchwork.kernel.org/project/linux-pci/patch/20260406105613.1228673-1-18255117159@163.com/\n\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 | 28 +++++++-------------\n drivers/pci/pci.h                            | 23 ++++++++++++++++\n drivers/pci/pcie/bwctrl.c                    | 22 ---------------\n 3 files changed, 32 insertions(+), 41 deletions(-)\n\n\nbase-commit: 525e91d84dc085492b36d4b87abb7c1cc93fcb44"
}