Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2221983/?format=api
{ "id": 2221983, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221983/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260410142124.2673056-1-rkannoth@marvell.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": "<20260410142124.2673056-1-rkannoth@marvell.com>", "date": "2026-04-10T14:21:24", "name": "PCI: host-common: Request bus reassignment when not probe-only", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3548d93e8ecc06ac9b1c137427bd813222554a2d", "submitter": { "id": 86908, "url": "http://patchwork.ozlabs.org/api/1.1/people/86908/?format=api", "name": "Ratheesh Kannoth", "email": "rkannoth@marvell.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260410142124.2673056-1-rkannoth@marvell.com/mbox/", "series": [ { "id": 499470, "url": "http://patchwork.ozlabs.org/api/1.1/series/499470/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=499470", "date": "2026-04-10T14:21:24", "name": "PCI: host-common: Request bus reassignment when not probe-only", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/499470/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2221983/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2221983/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pci+bounces-52337-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=marvell.com header.i=@marvell.com header.a=rsa-sha256\n header.s=pfpt0220 header.b=c+OFWgl+;\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-52337-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com\n header.b=\"c+OFWgl+\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=67.231.148.174", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=marvell.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=marvell.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 4fsfFR4w4Nz1yGb\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 11 Apr 2026 00:24:27 +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 68DE93051549\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 14:21:52 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 0FF4B2D8DDF;\n\tFri, 10 Apr 2026 14:21:51 +0000 (UTC)", "from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\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 8B72E3CC9FE;\n\tFri, 10 Apr 2026 14:21:49 +0000 (UTC)", "from pps.filterd (m0431384.ppops.net [127.0.0.1])\n\tby mx0a-0016f401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63A6ajbh347876;\n\tFri, 10 Apr 2026 07:21:41 -0700", "from dc5-exch05.marvell.com ([199.233.59.128])\n\tby mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 4dee00jpkj-2\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tFri, 10 Apr 2026 07:21:41 -0700 (PDT)", "from DC5-EXCH05.marvell.com (10.69.176.209) by\n DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.1544.25; Fri, 10 Apr 2026 07:21:40 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com\n (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.25 via Frontend\n Transport; Fri, 10 Apr 2026 07:21:40 -0700", "from rkannoth-OptiPlex-7090.. (unknown [10.28.36.165])\n\tby maili.marvell.com (Postfix) with ESMTP id 657243F708D;\n\tFri, 10 Apr 2026 07:21:36 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775830910; cv=none;\n b=evsNIdlPsvRqsZd2cxLcNCScLn1qvVH06HNafPkzN1BYqub+/bU4H6H7iLo94XF2P3vApRk1SFpJxtXB/P0eGAfcbgQvTMST2CFThFJXbc3g63Da5RatRzw9TztebRJ2uLYFyYjFKqONVEMCpSkc9eQTWGh7yD7GV/79FxLGAvo=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775830910; c=relaxed/simple;\n\tbh=mj+0sVSjFeUkkMrad9vpDnizLn5nTozOCDoU1Sq9Y9s=;\n\th=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type;\n b=NqzKQUVqNY6Os61f9wPhD2dMD3HU7LmGmZMu2WA1xX8JGIhaDimgKz7d67qkW3w9l+Cphd6+jFCF3kzn3KFsWAXBdLGQH7+4igv4QwN3TzH7shoQpwFaprihb0C2NML9q3YaBm0WUkTOzrfdP1HG2k8gIUKMkjcpOOJ3qxSW248=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=marvell.com;\n spf=pass smtp.mailfrom=marvell.com;\n dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com\n header.b=c+OFWgl+; arc=none smtp.client-ip=67.231.148.174", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n\tcc:content-transfer-encoding:content-type:date:from:message-id\n\t:mime-version:subject:to; s=pfpt0220; bh=+Qakn0FJV2FBpwkXmougwk+\n\tgggl5jahhhLBXSrL2j1Q=; b=c+OFWgl+LR3bgAeItfhdudp5CQUUTm+3Ob0R6N8\n\tn3gM92l0gR2yErQYdrp+S4ty9RMEOHfmRloTC2AFnhdRFtcYTSFBmiPfzvGjgRDX\n\tF7ijCOi0NJCcN15Q/DF5UmKmaxxU0uyP1Q2dWmNT8XtKq8xFtBLPSRpmmaCAn1Zw\n\t5XnrnttsFG1uOaAMQOJMO9NG721CIRWX2nkl0XInYGAo/OcU6gI9ILBwQA5YayYi\n\tpeSdNBNmnz9zSXd4CJlplKrU7oaEx6S4GCIfoaNPOGqhiLTSknicrAXK6HmBg5mX\n\tZeYS9zdsNp/I29PthtnEYMFFeltsPPk0A6FR2wscdfft1nw==", "From": "Ratheesh Kannoth <rkannoth@marvell.com>", "To": "<linux-pci@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>,\n <linux-kernel@vger.kernel.org>, <bhelgaas@google.com>", "CC": "<will@kernel.org>, <lpieralisi@kernel.org>, <kwilczynski@kernel.org>,\n <mani@kernel.org>, <robh@kernel.org>, <vidyas@nvidia.com>,\n Ratheesh Kannoth\n\t<rkannoth@marvell.com>,\n Bjorn Helgaas <helgaas@kernel.org>", "Subject": "[PATCH] PCI: host-common: Request bus reassignment when not\n probe-only", "Date": "Fri, 10 Apr 2026 19:51:24 +0530", "Message-ID": "<20260410142124.2673056-1-rkannoth@marvell.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-Type": "text/plain", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDEwMDEzNCBTYWx0ZWRfX7j/IeWNhisvw\n qzoHbH2T+OyCoQukUsfQzLK5/IfjHD14qCEeITvLDCnBg4Z3lN5++gtg5guO2CA+YvyLJbiRH9n\n /v3xDKTRDFUtnUvGlGOBG/o43AirYcRvKJ7FYNlDl58budH/QP9CNcDGzfnu1usvdXgb1Ud5dNu\n fKBBb7OEa7L3fm45Qs6mXjncAWZKKxvQ6uceDNCVXNWx8kTQh2DD1f2GCqR3QFjTmXI45W29UVy\n rnTtkb9gMFHldnTol39f/7OtfoAPzOmYrlFCbILazHLmRwiw6XYUJ5I4xoHjEvcwzhEL8CHExfF\n 7wQ6PTMGoCyjUhGIm5uclZgJCmIOl3/QpURoteXHH8GlWglNy5l04jPVOKdotECwHeDmOD3t1A8\n A8HZVsfKr3EFDRiv1dTGMhk1U9HB7dT4M2b4G14icE+TvLArohxD9cM1QMmCjmXZya3nQTggaaI\n xFK3qgMD8Q4eFjniHVA==", "X-Authority-Analysis": "v=2.4 cv=M/d97Sws c=1 sm=1 tr=0 ts=69d90775 cx=c_pps\n a=rEv8fa4AjpPjGxpoe8rlIQ==:117 a=rEv8fa4AjpPjGxpoe8rlIQ==:17\n a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=l0iWHRpgs5sLHlkKQ1IR:22\n a=TtqV-g6YmW1Jfm2GSLaY:22 a=VwQbUJbxAAAA:8 a=Ikd4Dj_1AAAA:8 a=M5GUcnROAAAA:8\n a=UhbZHETWtGs1wiOFpMcA:9 a=OBjm3rFKGHvpk9ecZwUJ:22", "X-Proofpoint-GUID": "YyaNPm2MXTb1M0cv0B4Im0gwWN2FQ2kB", "X-Proofpoint-ORIG-GUID": "YyaNPm2MXTb1M0cv0B4Im0gwWN2FQ2kB", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-10_04,2026-04-09_02,2025-10-01_01" }, "content": "pci_host_common_init() is used by several generic ECAM host drivers.\nAfter PCI core changes around pci_flags and preserve_config, these hosts\nno longer opted into full bus number reassignment the way they did\nbefore.\n\nWhen PCI_PROBE_ONLY is not set, add PCI_REASSIGN_ALL_BUS so\npci_scan_bridge_extend() takes the reassignment path: bus numbers can be\nassigned from firmware EA data (e.g. pci_ea_fixed_busnrs()). Skip the\nflag in probe-only mode so existing assignments are not overridden.\n\nCC: Bjorn Helgaas <helgaas@kernel.org>\nCC: Vidya Sagar <vidyas@nvidia.com>\nFixes: 7246a4520b4b (\"PCI: Use preserve_config in place of pci_flags\")\nLink: https://lore.kernel.org/netdev/adcXzcz2wWJFw4d7@rkannoth-OptiPlex-7090/\nSigned-off-by: Ratheesh Kannoth <rkannoth@marvell.com>\n---\n drivers/pci/controller/pci-host-common.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/pci/controller/pci-host-common.c b/drivers/pci/controller/pci-host-common.c\nindex d6258c1cffe5..860783553cca 100644\n--- a/drivers/pci/controller/pci-host-common.c\n+++ b/drivers/pci/controller/pci-host-common.c\n@@ -68,6 +68,10 @@ int pci_host_common_init(struct platform_device *pdev,\n \tif (IS_ERR(cfg))\n \t\treturn PTR_ERR(cfg);\n \n+\t/* Do not reassign resources if probe only */\n+\tif (!pci_has_flag(PCI_PROBE_ONLY))\n+\t\tpci_add_flags(PCI_REASSIGN_ALL_BUS);\n+\n \tbridge->sysdata = cfg;\n \tbridge->ops = (struct pci_ops *)&ops->pci_ops;\n \tbridge->enable_device = ops->enable_device;\n", "prefixes": [] }