From patchwork Tue May 5 10:04:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 2137 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mxe881.netcup.net (Postfix) with ESMTPS id D5DF21C0133 for ; Tue, 5 May 2026 12:17:41 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=nxp.com; spf=pass (sender IP is 104.64.211.4) smtp.mailfrom=linux-sunxi+bounces-23103-noreply=patchwork.local@lists.linux.dev smtp.helo=sin.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 104.64.211.4 as permitted sender) client-ip=104.64.211.4; envelope-from=linux-sunxi+bounces-23103-noreply=patchwork.local@lists.linux.dev; helo=sin.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 042FC307D5EC for ; Tue, 5 May 2026 10:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A405B33C502; Tue, 5 May 2026 10:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="BiDZx0Qh" X-Original-To: linux-sunxi@lists.linux.dev Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011043.outbound.protection.outlook.com [52.101.70.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0B7F3358CA; Tue, 5 May 2026 10:05:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975540; cv=fail; b=CbX2WU7o7WjK9Z73IGfLeJ3khXNXUwyt5zmbXUNGEqWCe/KpFdI+mKIueox23DLkb7G8bgX1Vtq8nPSCbUD8lOW5vpxqrXbI7EMuGA9u5+jPcZDZmjO9kwLUF+3o7AakHQD40k7u7dtcl8LNNvvmy0Qb3UkIwgIZD2tCgWMFswo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975540; c=relaxed/simple; bh=52WfOApgZhgq4vYqoLAu19NyYZC18d/0hAWXaH14FtM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=srUllQGBPItGfMT6Py0CdQmBGe4I6Nj+VKPxCju6/qrroHUlIa9fIogx7uTBSm80ckieJPFl5apyH9SHXoKgY94ZJJQ+v1pTYsGBAp3dgyu91taSynP+ij/wwH7bhxrWCZC2Tzeg/mqWDYLI6R3X6pb02jMzPjYjY0nYsMyNmeY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=BiDZx0Qh; arc=fail smtp.client-ip=52.101.70.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Yjaj4QIImRPS+jmYPy115uiJoy0IwI9AosQSvi+2pA4eMrS2sw2sKgsInzsZZ+Y0WHW9PdJrntxHQEpmpa8ptb86KbmU3LuLjJxReG0H6Ft1nKR2OXE3uVDA9T/XbVwfJR9olz6ncpX6FKHizh9kRoI/Yt15QhyjX/AIJOAazuPEbDXkBqbpjHZZ2HJRJ0HsjvZdD7149XZmqn43TGJZEfJAl9RML9xmKw3RLdPcdqIlB51C/poIvVW4PzVNEkP7UrZIi9UP/0q5zc6963f5W5DugV+jpnEp1XBEYU3+hrF2cw3Qn//5Te5eNtb2jjCpmLGFcs+WuikV8z+7PqXXow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fgvdQDNjHvv/zsrLcjoCqZz5W4uogTGw4FSj0SzBEkY=; b=v88fmhrtW149Wx0IAJJB0BgC4eu1UyrjoIKK6oavX4RzfNASrBcksYmEk1NkkJ+lbPtIVfF6Jnpe69LftBFJN3rX2wfVgkDucHkoueva1z5Kr2JRQaKGdRpPPwCNrkRhUOY6ME/I+5/KNxQ+d4gwdYRJTtSelVM5sIu7q7VuSE5Dup9ca1uxcrW7zdSsBbQM9sXwqQxVeprcI7IrkBVQdzzfEqbRjVVS8EDsxTClFFRw83bBwcsKmNPc5mOKilyYqKasaOaMTS+6Miu18qnlutJssjlnz7nO1sRlX+MT86uWfjpYREjdjfx6IIPoDjRjDI+PkWMYXFZNUlVvTYUsPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fgvdQDNjHvv/zsrLcjoCqZz5W4uogTGw4FSj0SzBEkY=; b=BiDZx0QhBm+caMA4ybmL8pGn74os8MS2h0l3VgrZg2o63HmovDa5bz551wx4bfCT+Th/hJsNyKE/wPZaM6KY+YjiudhWH4mC9cztibPg1y18F9LTwbX/BOqa7f0yAyjiZK77FKUc0CO9JZdij/iqK6ndBflPFhqCDa85XeR3XISil5bGVwqb6sVaCh1MagiKXpR0wthCnEW8H4dH/mX2FL7cL6TedHASfcIoU0QI5Y633xDGX9dtUCGOvQh3WRsLss7Y2LM/bqaoUXQ2m2JltWeIggvN2JIzwUfdki/ZOhU4gHeesHfJ80vhYNYhQ5h21cU6BoTcr6X6sgV0URDjEw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) by PA1PR04MB11083.eurprd04.prod.outlook.com (2603:10a6:102:484::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.25; Tue, 5 May 2026 10:05:33 +0000 Received: from AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4]) by AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4%4]) with mapi id 15.20.9870.023; Tue, 5 May 2026 10:05:33 +0000 From: Vladimir Oltean To: linux-phy@lists.infradead.org Cc: Vinod Koul , Neil Armstrong , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, spacemit@lists.linux.dev, UNGLinuxDriver@microchip.com, Bjorn Helgaas , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Lorenzo Pieralisi , Manikandan K Pillai , Manivannan Sadhasivam , Rob Herring Subject: [PATCH v8 phy-next 01/31] PCI: cadence: Preserve all error codes in cdns_plat_pcie_probe() Date: Tue, 5 May 2026 13:04:53 +0300 Message-Id: <20260505100523.1922388-2-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260505100523.1922388-1-vladimir.oltean@nxp.com> References: <20260505100523.1922388-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: AS4P189CA0054.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:659::18) To AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8585:EE_|PA1PR04MB11083:EE_ X-MS-Office365-Filtering-Correlation-Id: 450bf4aa-a2a4-4339-4d3b-08deaa8dd88b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|19092799006|366016|7416014|22082099003|18002099003|56012099003; X-Microsoft-Antispam-Message-Info: 105wNgbdpicT4f2b89LnMCTcdnd1q3oavkS1xKQO9VaEZzAi2cRP5Q9ftUvmmoJhebuOnPsLvS/m0j/zblucoE1bq+tZGWU3X0u/gqm9nzrUD/GEdtykY45GxR2x+qtk4H6J4BIusB4BgA9esr1z+nwqCdooL1VHCe1uL0nFldcTURUpt3yHXIQ5B9Rj4nqpiP/1xY3GMb8XeBfkg/gBNhqkbNDhFZkBxpQgM1KzIFBhfWyOMqkeHGHGu541mN7z/ZNszkvqgR64o+a1czK782ld8qO4S2qWznt1S6WGKxjgcPZIc51Z7ftQojPvfTlFQyBk1um3M8W6+lmw/bSEd4UPNz12dwkOOmZgenuxMu+6bMZbbNYgOjYRoigo04D2A4yog73uCa7qnmnhd5GEQUMxul5ePtGCBvreldRdF/dvydGWJ73ljQyTVPfA4b35FLjeSZbvIoffeuCDOmz/rbKYa7l3H0sZoO9Y5p9xPpRDxK4UYPUR+z+VyyZEm1YGb0npn1Hd6V/dLQjoPRzL4M6XD0/7xRnai+RQs1JJHZhlVse0eyGpPqSPPZddEKzH5bPQ4lvDIQHdnCp6jt5S2iDJQ5cSvAfoAF4cDak4rq051dOhNsW7Cpi2TEoEC19m3k5JqZLCmhEZ64S9J3CCkg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8585.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(19092799006)(366016)(7416014)(22082099003)(18002099003)(56012099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?lHVnwVGbzYZJvp5qB9NzLHGK8+0l?= =?utf-8?q?+10Vkj+2IDjUCJcKJOY3tMmGbaq91bN2K1SAExyZr3lfBmZvmUNKzJIC+TWI3eAGU?= =?utf-8?q?yDHflBp4BJ+IcNNWidlG2eERo0TL5sWmcHwElHUtQtxd40T6w9T/khnYOT6VV5a9K?= =?utf-8?q?rsWTafjrgG2mJ0K09X/rdL/quN4BByHfbJ7+Z31XtEkOVYxEgzcL30FcYyGDcXemz?= =?utf-8?q?yrTtrBEn86ntez3dhrGluGbEkoYSC99qkOlmyHOyxItc1k/el++WiMHrdGl6mpEfT?= =?utf-8?q?NjATr4WM1x5nt1P+a2XyBSYUd0JxmJjykcmaZrCefJdMc9gGmFvsTe1fUSJqxxs7Q?= =?utf-8?q?gnW5NReI9XYUn/9HO6wVmvRBRS/DW1aPEsvo5Z84a2U+dgMIZm55wB69JQ261o4cT?= =?utf-8?q?YRuRERa3wZ1hU4YXeY6gw5Rm2jismUsPrCp/jCjXK5HP+T8MzZPmrQYY1nqb29o2C?= =?utf-8?q?KVFxJ+h/uYtJ/qilMTLHnTHQrGZzR9rvBHTaap8gEFfhJWb5Esd3kGQBXhnAUymDD?= =?utf-8?q?eF1JdbQTC7GTRa7ZL/P2ARbiN4sT4d4Uo72aFwiAfJZqnAYoIGyps7kvana18Vjxa?= =?utf-8?q?7TgKgVydpXC/E6tzIOgOuXBy9SdF34CV/CpZkwn1G8Vq4KI7KDhkiPB3nakUV0pWX?= =?utf-8?q?GvctYIRBCl2Ohsdp54GWOx77pvGaE0ys6LmlS0jYKswDV1TIQjP+GPLL93qoo0Ut0?= =?utf-8?q?NoInT35xsNcTnzR3LiD7V9ZKTl7/QkfP9rklw9TyktG5Fcctu6TPpBfBRmqshqFHu?= =?utf-8?q?PmO/5Uq1NzHZMZ+SfNn3Js6NRRBNGyuvOAdVWEtOyMdLiwtOXBdq7Gvg3BK2uLejQ?= =?utf-8?q?/8dNSuf6bh5So4ILxTU5gpd2ICgxVnMffIP5fWH5iCOFp5n+mGT7UiKHsI33G3Sz7?= =?utf-8?q?P/E0LAiONJ1shDvErgxINOtpxynEUGn12PsQh8KGuF0hvz05M98nuhtOdYpzAlonS?= =?utf-8?q?bBayLwYS/MzWGYOKFd9QldOQYpYI/QfGe7UA6Z9V1dm6IIH3eGNhnOtbDXKU1FsCb?= =?utf-8?q?Iog9geNsoreNYcJIt+9VC3CmBIriehJaOWhu6QaV+qs21deScstyiNijBkPzES0yj?= =?utf-8?q?vEa8D5EMqid2+a2mcVb10E5e//hqBsA0Ob+/PwNis0WXfsdfHvZ/H2nFWh67MQ6Ro?= =?utf-8?q?GQk+IDl7O0edzFSIThBCFqpvqh1P8V/ON16N6v9gQLfsEdQVGilL0I6v1x5SOoetk?= =?utf-8?q?ZyFCTL85bjC09+Sz7l0Uh4agXq7SaSRjQ8+VdlcER2QRfGjDAse9ht7Zl3NsGloJ2?= =?utf-8?q?OOKGKsMRfOV7QjSgla+Z2reRnoARN5yI34OK/e+ANhzUwT6exP1o2zlM6TIy66O0c?= =?utf-8?q?Va95dC0yxHy2+FYVgnH1PbUHTE5xm39ZNsvChna8ETQNZoOImS5+O4OIC8RJ2Up8t?= =?utf-8?q?ao4aa5j3dwFG1JFHrA6EyZJElDo+as0FPP0ulYCFLQVA1IDKVsgYVTgRWq2S23mkK?= =?utf-8?q?44pjg6CsKzW4ciA/AvjiI0AL7W4BGRCGcCQRcI4doAJb2ncEepM6gydRQbaZylGV4?= =?utf-8?q?loPLdcE1BkJocdwFvhPJCBP+9XVg/5PIckLYuL44ujNeKx4NXa8L65SCaFiOx1w8Z?= =?utf-8?q?TJsBMP+Ap2s+2pDaLhxQcgJ/3x2FX7P3XYU/X6hvc+4KfLbRqwmEnpdcYRPkyzNvP?= =?utf-8?q?ZkaBfvTD1FXbZoyFrQ5wzi+8uMmLCe3g=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 450bf4aa-a2a4-4339-4d3b-08deaa8dd88b X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8585.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2026 10:05:33.5661 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: O7I834rn8G2VHkN2OXvP0Zt86b/FZ12h8ktzk+GjOyLVyl5+rBES8wnBDLiT3tpYQOyM99O4pGAtLBy6qUsqkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB11083 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-1.66 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[104.64.211.4:from]; ARC_REJECT(1.00)[cv is fail on i=2]; MID_CONTAINS_FROM(1.00)[]; MAILLIST(-0.15)[generic]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; PRECEDENCE_BULK(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWELVE(0.00)[30]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[sashiko.dev:url,sin.lore.kernel.org:rdns,sin.lore.kernel.org:helo,nxp.com:email,nxp.com:dkim,cadence.com:email]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[vladimir.oltean@nxp.com,linux-sunxi@lists.linux.dev]; TAGGED_FROM(0.00)[bounces-23103-noreply=patchwork.local]; DMARC_POLICY_ALLOW(0.00)[nxp.com,none]; DKIM_TRACE(0.00)[nxp.com:+]; R_SPF_ALLOW(0.00)[+ip4:104.64.211.4:c]; R_DKIM_ALLOW(0.00)[nxp.com:s=selector1]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:63949, ipnet:104.64.192.0/19, country:SG]; FORGED_SENDER_MAILLIST(0.00)[] X-Rspamd-Queue-Id: D5DF21C0133 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The blamed commit functionally changed the error path of cdns_pcie_host_probe(), now cdns_plat_pcie_probe(). When the old code path executed "goto err_get_sync", the PCIe controller probe function propagated the pm_runtime_get_sync() error code. The new code doesn't, and returns 0. Similarly for the "goto err_init" previously triggered by cdns_pcie_host_init() errors, and now triggered by cdns_pcie_host_setup() and cdns_pcie_ep_setup() errors. These are not propagated and will result in probing success, which is incorrect. Fixes: bd22885aa188 ("PCI: cadence: Refactor driver to use as a core library") Signed-off-by: Vladimir Oltean Acked-by: Bjorn Helgaas --- Cc: Bjorn Helgaas Cc: "Krzysztof Wilczyński" Cc: Lorenzo Pieralisi Cc: Manikandan K Pillai Cc: Manivannan Sadhasivam Cc: Rob Herring v7->v8: patch is new, issue was flagged by Sashiko https://sashiko.dev/#/patchset/20260430110652.558622-1-vladimir.oltean@nxp.com --- drivers/pci/controller/cadence/pcie-cadence-plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/cadence/pcie-cadence-plat.c b/drivers/pci/controller/cadence/pcie-cadence-plat.c index b067a3296dd3..8b12a46b5601 100644 --- a/drivers/pci/controller/cadence/pcie-cadence-plat.c +++ b/drivers/pci/controller/cadence/pcie-cadence-plat.c @@ -126,7 +126,7 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev) while (phy_count--) device_link_del(cdns_plat_pcie->pcie->link[phy_count]); - return 0; + return ret; } static void cdns_plat_pcie_shutdown(struct platform_device *pdev) From patchwork Tue May 5 10:04:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 2127 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id B8A011C0133 for ; Tue, 5 May 2026 12:12:21 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=nxp.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-23104-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-23104-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id D16F23043C0F for ; Tue, 5 May 2026 10:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A232C341AAE; Tue, 5 May 2026 10:05:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="iR0vGn4k" X-Original-To: linux-sunxi@lists.linux.dev Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011043.outbound.protection.outlook.com [52.101.70.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD3913358C2; Tue, 5 May 2026 10:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975542; cv=fail; b=l2tGo6pfOnftIE0wsVF0F42b7JFV8PsIVTXreGRiYAPOd05sbzkZqws8KyBrnDVE+T5LFkThN7jDTfDESp+FCbHFVEGmOhm7USea+REF7yCgj7bZl9Vja4So3iyx/K41pPlFM+2Bb1QRBoLiZuUFU8GB7BYDb6bmT9/NGhA4H2g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975542; c=relaxed/simple; bh=j90azL7fFd0uoWEhJbznKwtu9zmF6kVr3ddR9dijBoQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=lUCyOXZsvvJe5xc195wzY/S3i4UCouWe96qlfCilG2U4teDNvll0kpYGi930RRvcD5zg6UPj0pfFHsN0hlJ8xcAotIoyTho95wC2DErKl48UedGlxupI3mQ0jYyKutkLxgpIhG2sbkWbx2XkPut6U8P1xdaOsEK7pXOAKk1DECU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=iR0vGn4k; arc=fail smtp.client-ip=52.101.70.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rnv/xrKVPmSODEG7ulz+mkBKwnL+f4e8/sHadeZiXadtJmIi9bOd/jX1WTVEW8P6ROJcOjf/SoAar0kuIQ7boJsIOry0uLaheA9NZddGdKCAOkNanQfoJtZvxPGRmxFK2585Rlu9zOJQA7/CSWQ3vwM2n7xbvS+F3ZMW4esQx2hCxRcQxexVwQlC40w6wIG5HNXiF9PubM4l1l+fX/d33OSPnystTKA9FxVH86MWeAsqhAGVoyyOFG9dR4XgeJJXL07ukDF+gVd53KIkASk1zgSbCvmVy1A53OkB2P9MUjx8f8zxfeGDJQZ3tzl6Y+YvnzbrHZ7xm1ieIDm8UMNT6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ATYvk+Hl598A+74azMEV54lqE0bQy/vXGXe/Cs3+2iQ=; b=a3dwt1AFJl0JFZO2WB1lYaRB23RxOKAOG82xtDxcS8ik5lG2bUWSyN0FHsW2p/x8Vhtqf16RgTwsPyr6btb8jZh+fDdVHBja+kgBSWWLFUR8eDUqLrEW5Yaa/DQn9RZXkJNbX+ZO6wrAU29HhmCvGKNSTgTYqzu9Vbmw39+7WcoNXZSrghlqK0SfrOcAgK6SZAq8JtN2dba6HMuOYATP6kzuloAVDv8NXoDyPyX30UlV4Zyi9L8WI6IdlD2GHmu3dAOUvj21gTvlEeIPIUe8Abk0EKXgJ969wuexNQHsTjV3uSyF1vu6vrC8rYeRVDeejCLgAlekXguYaikGll6ZQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ATYvk+Hl598A+74azMEV54lqE0bQy/vXGXe/Cs3+2iQ=; b=iR0vGn4k6pvNnt1nRVjitCuSJr7pQtRNXOekK0IkvTjS7R4xv/GaD2Xh68qh82QwJo5+ulbQY33Ys1Y9MxSH9hypjktIckgvYcBkVUF0bfSY0Z8nkUYrH1ASAk9fGTzNHred4PXORTYkuu5ek0SIbUnevWOjW1dno1wzvB+535yiF3DUdSV8yWH+AjKNMfiEwFht4hJ42gLq1IgWtZV6lFcqGbSLzWe8boPy32O68nZTf23R5KdDgJjEBpaKO24zda00RoGllI6/vvP35pEKdfVhjSM3rzKCI5GhbslDe4JviZ7dBlc+AWoJo8mKRrQ8x8WfN8QXmA5pJiGHiYBc3A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) by PA1PR04MB11083.eurprd04.prod.outlook.com (2603:10a6:102:484::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.25; Tue, 5 May 2026 10:05:35 +0000 Received: from AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4]) by AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4%4]) with mapi id 15.20.9870.023; Tue, 5 May 2026 10:05:35 +0000 From: Vladimir Oltean To: linux-phy@lists.infradead.org Cc: Vinod Koul , Neil Armstrong , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, spacemit@lists.linux.dev, UNGLinuxDriver@microchip.com, Damien Le Moal , Niklas Cassel Subject: [PATCH v8 phy-next 02/31] ata: add where missing Date: Tue, 5 May 2026 13:04:54 +0300 Message-Id: <20260505100523.1922388-3-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260505100523.1922388-1-vladimir.oltean@nxp.com> References: <20260505100523.1922388-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: AS4P192CA0005.EURP192.PROD.OUTLOOK.COM (2603:10a6:20b:5da::11) To AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8585:EE_|PA1PR04MB11083:EE_ X-MS-Office365-Filtering-Correlation-Id: c4a49931-8d41-43a7-5c86-08deaa8dd9c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|19092799006|366016|7416014|22082099003|18002099003|56012099003; X-Microsoft-Antispam-Message-Info: Gh5ACZahvlxrd5sgFmQDkHZoLkGNTzwL/wrIPTsQxh+nJVKvuD/A4DNMpjrbTmxkNq7lIuuyaRuvFvJ0N4w16AQQNSNVDhYkvTLhuhqUFVjjSHXqm5IXINpLX5aPYyp07aDD7RnrFzrMqluZJMBKWF9xma1z6UZnEs6b0t/r/40lg+/O2PgP7Z1QVjwDbTGsPPNhRPHBDokiTWyLh+rJFNuAgHpb0bCSu0HDfmCzD4RAZeiW/CxIS55J70tX0qKUiRLwXN5rFfVREav6iN0BE7+EdozGwO9BOy+1VEBT5r0igEqtr1KKZAN8uI9OvGoEWgEH+gMJSG/x6WWFdmN+zMMk6ApAxfu6dP1JbGVZ6I7FikYf05rrPT72CBCvskjLRcYDtVZ+lq6cqdEQKzMIBKN/BMaYmCYHnD05WoLJgbZ/8iFVIy03GIHtpyRiVDt4JyNlRUYZVraK/yY5XoL6veq6qzw0fSjSJYsiWZUc5lGqbfjUr9H0qYJSDaGDz6U6Qp0fdUKQtNJsWJFYIWVobnZB4jRDGXV4pE/gJr5yNJ+8/D3pzkXGCZB0ktdUfexqkqXD+sP+nZCfNubQg/yAF5vIFmGPv0Jl14WZ3ybgLjiBPVZtuup1q5i6X+30xSDUH2lgOr3n1AZvevLQLIxLmqcvb615DNnMOWbg82lZqQG6ptDypIuN10lGKVJAlYdB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8585.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(19092799006)(366016)(7416014)(22082099003)(18002099003)(56012099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mbInUapyGizYGvym9XLNeQwqX/5LQTGYt5FMNUq7rqIxDIGqonQjoMnIjbzY+IU4S3iJAXFbuurc0bHmbYEovrTpmbmi0cw0/FrVJ72wEaa4yzoc31PsBf7S+O95Efq2i1weZnT6EhFgronnA0myVerL/NQXSmEEVfQt8RmeFL9ZeARAv5nBM+20q04GxhNw6oehEBuOIEnfUpPrq+4VtM9i1o2g3N1/z4/lZpxqs1JtAMGnOh29Egey5PspQsaHl/C0JxFpO9KrEmifPyzxBdzv2cTD7OJC+MptwJS5mW9RlUaIn6299dHOsY56W8x4cDFfcpc2frVKmsGPiFiYIt9tpMm0dTtqHMOgYI+ApdLd+mfaN3JeVELEAs9lgaPjuknQTs5ZujHq6wwxTe9NTE7EFwWI8qsqfAdaoakfSEISb+3K5/DdSSCbBtaq5fnJG6JzkaBR1j5qgI0skODIRy/WlxeNeTWfbrs7ICU6hMRdqZbBh1jkVGyiVqv2MxlPmgYowP4/58/47ZcbyPE8gH39uIheSodK8nh/p8mYHuLC/VV6DXclCrlrx1Mry2xPAUuj/Kg61Xus4iT6nrUF5T7UazL10mI2dakMdiw2L9ldDSguE0AxmALOUn6eCWCtkHt6le5gAvrtxqMN4aA+tECQXb5MoS2yrgWFmQJFPrQKI//q+sLfoXaaKpgApeDSGVMdIFFqvGeUi5sRJRcgMZLI0oEGuaNaLE8UR7yAsp9OSbDu30xxTnfew06Tb7eBHBZXnDazlyGBYvKHMmCuJYwU/Be1y7yoi6BZsF+h86VM0A2fAjQGPRLLT1LQlRU/YKLoiFUGd5YeIaq8CzNDejUiqH6q7DmKiDDzIpZrSsxwWxyTTmGEho8ot1hUWa/a73VUdRT9pAmC36MD9LAhPH9TfwVK0z8fcbosIkMmZ4om0TTHFQMcGNKy3i+F6k6ib1n2R2IZ8w171XgHvOceWgAJ16kNz+2xidlDQNMNoCUHzXaOJ6qMQAyI6JgeYf/CG1iFxDBlejHKvU8CBiEhhnb4zty//+Lt/pt4svpqARviNsGYcaYuuXQP6bRpirKV+LO6VyeL8G5xOIVcQNVbv9fA2E7kfXhr6zxygdipZlGj1q+Ej2TYSuCwfFAsEJ9tf5jii52xU9HOXeD6PdFCz+aMWUP6DReKt6zW9bVIZliDFhLIe0LcsWoWVckTlP2ZFsmUNnV5tdksccXoxD8aV7tITefPwT0Uzo+YRaXlPoamK1qfcSpXIKdWPOeK2WBBKSWol1DozJ6UrjDYBpkAB/N2tjYdmH3QTHh1wTGErx+qSBDutr3C8Xd3t9fGIivl9fk+8Ja07p6Z9gWfLvmd8tgUuvis/IWBgPTzYAKX0MC7eRnfu7INXVtj4gP083PL7dYDCY5Mnmo1Q9k/IoDEtjszSvNbTGID5S0mrdsky67d93n2KKUCrcpPkyHJufWNMOI32ZqZTZ49rCzhLAd/Ftdv0FNf/tHzATR9nqNF1dZsNtzczdexuOKiT8y78JlD2DAfzbOmFj1g+uFSvhZu/Zdzfy0oKg0E1bl1pKIrNytJT4QcctR+VhwCZ1DLcBIl7xz/Z2LgmDX89q0CDXbwzQfIUC/3RBUA5E2gvc0j08sTu6x8hONUmLqZObOTY21gPoACXqIYyYI/2aWp5ngTG5WupxiKT4a8uMa10c9dOqgjzdXBIB3Nkj33UZMQfEqEYdQjx6W++79/0rY5ZM1wEA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4a49931-8d41-43a7-5c86-08deaa8dd9c2 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8585.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2026 10:05:35.7619 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jv7bqF9WBDxB8ccw7whPGuDb1YaxEjw1rFRVgdZANdKPoKBD6u4blMhoJSZ6+odVietjIr2o1c3Rw2MaPymq7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB11083 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-1.16 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.105.105.114:from]; MID_CONTAINS_FROM(1.00)[]; ARC_REJECT(1.00)[cv is fail on i=2]; R_MISSING_CHARSET(0.50)[]; MAILLIST(-0.15)[generic]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; FROM_HAS_DN(0.00)[]; PRECEDENCE_BULK(0.00)[]; RCPT_COUNT_TWELVE(0.00)[26]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:rdns,tor.lore.kernel.org:helo,nxp.com:email,nxp.com:dkim]; RCVD_COUNT_FIVE(0.00)[6]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[vladimir.oltean@nxp.com,linux-sunxi@lists.linux.dev]; DMARC_POLICY_ALLOW(0.00)[nxp.com,none]; DKIM_TRACE(0.00)[nxp.com:+]; R_SPF_ALLOW(0.00)[+ip4:172.105.105.114:c]; R_DKIM_ALLOW(0.00)[nxp.com:s=selector1]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[bounces-23104-noreply=patchwork.local]; ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG]; FORGED_SENDER_MAILLIST(0.00)[] X-Rspamd-Queue-Id: B8A011C0133 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= It appears that libahci.c, ahci.c as well as the ahci_brcm, ahci_ceva and ahci_qoriq drivers are using runtime PM operations without including . This header is somehow being indirectly provided by , which would like to drop it (none of the functions it exports need it). Signed-off-by: Vladimir Oltean Acked-by: Damien Le Moal --- Cc: Damien Le Moal Cc: Niklas Cassel v2->v8: none v1->v2: collect tag --- drivers/ata/ahci.c | 1 + drivers/ata/ahci_brcm.c | 1 + drivers/ata/ahci_ceva.c | 1 + drivers/ata/ahci_qoriq.c | 1 + drivers/ata/libahci.c | 1 + 5 files changed, 5 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 1d73a53370cf..1396a53bd6df 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/ata/ahci_brcm.c b/drivers/ata/ahci_brcm.c index 29be74fedcf0..48460e515722 100644 --- a/drivers/ata/ahci_brcm.c +++ b/drivers/ata/ahci_brcm.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/drivers/ata/ahci_ceva.c b/drivers/ata/ahci_ceva.c index 2d6a08c23d6a..3938bf378341 100644 --- a/drivers/ata/ahci_ceva.c +++ b/drivers/ata/ahci_ceva.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "ahci.h" diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c index 0dec1a17e5b1..409152bfefb6 100644 --- a/drivers/ata/ahci_qoriq.c +++ b/drivers/ata/ahci_qoriq.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "ahci.h" diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index c79abdfcd7a9..e0de4703a4f2 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -30,6 +30,7 @@ #include #include #include +#include #include "ahci.h" #include "libata.h" From patchwork Tue May 5 10:04:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 2128 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id 7A5441C0133 for ; Tue, 5 May 2026 12:12:48 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=nxp.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-23105-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-23105-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 7260C3066BFC for ; Tue, 5 May 2026 10:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5105A3469F5; Tue, 5 May 2026 10:05:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="I7bn2aId" X-Original-To: linux-sunxi@lists.linux.dev Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011043.outbound.protection.outlook.com [52.101.70.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D628933ADB1; Tue, 5 May 2026 10:05:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975545; cv=fail; b=hI/gU6yimVBi+6RksUcgdPeyxXg7TtYGAUhyimK2l7TTdYsMbZmU1UU3NKTCS0a8bMPyeeXM6kZCwyLSxFll1UpnDIim9EkdTGGirx6ico0lXab/gTP8AVaTpqai2CMpXMoKo8lfQU4Nv++PQY9WnmKHB2G7H3ETy1Q95kERrNg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975545; c=relaxed/simple; bh=tJBIdZPxfCHg+G7YLZZitSSWGK2U+K9p7e8Og83D3EM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=VxJsikNrHX+iZZhGDiz1MMrQD9s+PN6T6vM4bzoTzECx3R4bXY24ShnYxiYk3TPhyw4kFI3kgNV5k9pBCubsYUICidmzG1C3hIBucmNu1A1/IHMFVT0ejVYB8mxf9rPCzVQg6bP0bc39Hg8k24ppRJ42sHeWqGFHmDIyYZiQqiw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=I7bn2aId; arc=fail smtp.client-ip=52.101.70.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vfLV3/hZd/wUxqA51R0IM4i3dBC/3nVSA3oSL2zKzZil9cmwJbtyMOb+8QdJA8JEqVc0ad9TuEGVNXHrCORp4KUZN+7NaNhs9bsHT1ice8DYP9bE6UUSzxqgB23o4bME7VtHPlxhwx/Na3vPRj9o6y2OAoHCBbCoA8cJH/v2VGPtKkc+Ccc4ux186WZfmHKTvdllyEi5I69xwJ0WVQl/r0rjFuRUNmJJJesscHx+2moz7lwk523w/sW+y3q0yLHl6HnwARNoFxogF+IOJamHg7T0IorSkkSXN1W2TfSB5vZx8Jp7g4K3UDoLo+MokLRji05E6NYF3PujBqjwE6qo4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h88n+XTwigi2Yy2QhJ661l0nuu7DDirR9Z8PxEAYqaw=; b=Xos7kY0wrNnRMQ2mlGEYxEx1/FwtvqQ0NcJ1hZLJeEyw2Z9duVqRtJCWnE6RitlKL1EF8RqEv4gFxm/aBYsjHeLqQ1SnCHV/3l2IUUiYGVHZ832XfmIHPgvuVq/1rahJuwNdDzrE6nS59Iu11n4xNCF7fVVvRDpW6b/WiHP6KXoUIoB8ecmPaH9fghqnqm7grcCz48Wxn2UFkN/Xcm5i3Ge/dML/ABIJiglebTSUcRWaR8auu97/R5vjgsaDrCAMX7zJReG6VsDb3Djh5bL+1RuogffcJLCOz7IUB2pO6oUiHVDMW8VMSj3rkQaOe9uSlKx4M1Oxqw9G+JrUCIKNtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h88n+XTwigi2Yy2QhJ661l0nuu7DDirR9Z8PxEAYqaw=; b=I7bn2aIdvDjwjE1xl5T+QAfFQu3zDNpahgQfmo27PH7R3mAs3siN3nrcdRJn/eh5ldKGjR7sA2bc2atx9r++zG9tS+CMqTGOZpFOkdZZs+XYU5HKV/fQUK+1OSoU07BEipJB+j+0GxbOvykPAGXvzs94ji1SzhQLZFlRKqsF+U0PTrgVancpMaeYJDaHfSUwXRYImXWr4sqFpRsBqNtx+Ix2D3AczJReEnuieuAGDyFFi7+/92DJ2UzZQ55/t3jkyWDa6qM90GeXj0h+xfewwcctPLfT5XghA74lfEHnQdBghtzZseVk3pI3hCJ2+bJhMChelGDP0Q7+RVjIeJ3DAw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) by PA1PR04MB11083.eurprd04.prod.outlook.com (2603:10a6:102:484::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.25; Tue, 5 May 2026 10:05:38 +0000 Received: from AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4]) by AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4%4]) with mapi id 15.20.9870.023; Tue, 5 May 2026 10:05:38 +0000 From: Vladimir Oltean To: linux-phy@lists.infradead.org Cc: Vinod Koul , Neil Armstrong , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, spacemit@lists.linux.dev, UNGLinuxDriver@microchip.com, Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Manivannan Sadhasivam , Rob Herring , Heiko Stuebner , Shawn Guo , Yixun Lan , Thierry Reding , Jonathan Hunter , Shawn Lin , Kevin Xie Subject: [PATCH v8 phy-next 03/31] PCI: Add missing headers transitively included by Date: Tue, 5 May 2026 13:04:55 +0300 Message-Id: <20260505100523.1922388-4-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260505100523.1922388-1-vladimir.oltean@nxp.com> References: <20260505100523.1922388-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: FR4P281CA0063.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ce::10) To AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8585:EE_|PA1PR04MB11083:EE_ X-MS-Office365-Filtering-Correlation-Id: 696a714f-fc8e-49cb-832d-08deaa8ddb2f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|19092799006|366016|7416014|22082099003|18002099003|56012099003; X-Microsoft-Antispam-Message-Info: hAfJk+FNsYX+BdPmjOEB0AOYpLVqRX3xOQ18FXAxhEuRO0yl5R0lSH31DQl2wyPBuTwqPS425FsmzdhGBFwqsyk/Tp+4PvX9MPgLfFAL+yFVClD3Wkk9sDkw6MkZ2Yy02np8idRWAba62m1pBk2rFmW9eeZFOTjLf6NeIQoY44o+x7EPTOkLFwe1D0wemeKpGbf8k46GpPZ912F1imYW7FhgFaeAPGKHOEC9GyfBh9kxvn1QClWjbFvIpKgEO9qZfSnqYdywM6cdyGjXBB2L0Y7HfSvfM1eEOEpGi5AqQUTVa8U7mPuz5ct4kSN5q9s7q6eT0a3N9A9N55c2nTnMmkQK/hhSYzRz7bZcPusiMyqbAKPhn6fF0P7/rJb+kLpchXt5mQkIVk6zZKLsS6FZxPy8Ge3zzazraQ7+2IIJnndqGZG1FGVFzyaH0s+ObsFcEtaYsnxpBeufOShw41vrgf1vNlPorJUsQacID0mcErjaYl+6qvvTippk6ClVg2aLyJZFabG0J0cyNvjFxENhjvW/Z/vE2wmoUp/mwm8CwXZIRgZUnjjqVHSzLgMFsKw7+xb2XQHIn0/aoV5ucsvnLj1wekDV4wK4+JD3WkBEbLZonCZfZk7NIbFAGmcPTX79tlPmJwFMvcwgBDZuONmaGDwsNrJD0tbFAxaax10B/OxRcWA2Vobs4YvgpJwdiPWS X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8585.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(19092799006)(366016)(7416014)(22082099003)(18002099003)(56012099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?J5IA7D5q7y06YS9Z0NP5JIruRNio?= =?utf-8?q?pq3/FexHeGIYZQNRRZiaUuVf/lZV8KYun0cpHKpWJZJfWDpW2yciKN+KQOlMBU3St?= =?utf-8?q?y5fZzaKS+hIjhqb+hYvO8b1eB3ykTXe23/SN8aaVwGE98bIVjQK35aT3aF/atNGkO?= =?utf-8?q?eM8M6hzUCl5QxzcfUXfKiHAsn20R0TQILc0pTPbcKcXB/IYtaPW3NKfX/FQ3TkXyI?= =?utf-8?q?4TeZ5WwO53Tm4y4rtBObwO2dSxVFCgLmaRl2IPkNMFSwKs7jc8xKwA4vVnC15iSKP?= =?utf-8?q?/J/SltLUdeiv0IggE5BAXx1LaDtkuERJs6Jd2e3VcNLCwdaMuIWblL1Jpv8yYJRwq?= =?utf-8?q?m4WCAHef5SLicHlHg0J87bagXfyEnCG7F6kGy0ZZhXeLkOV0qxgALtw432OqrE6fd?= =?utf-8?q?mOUxdZvW7zkQxnFLOwEB9Hjh48AuFhsAfM+hb2aB2DX2FDhzzeaaOt66zjtJy5Gk0?= =?utf-8?q?Bsk2l5bYUJvJzcPZt1YBwBBUd+HKq06zQRm7Q7S0Ey+GgEasDKWkTQqNGwoxlbM4p?= =?utf-8?q?9vBUsVRh0VS4ZuI8xXq4UgPh71xdMono1yk8sJ2MQBE9/w0TUBnLUrfA0Er6aIAgz?= =?utf-8?q?a9O1XE1eP0ugG7vZhbq5GLbduQp1NiMKLc6ecLNIgihFacoacMGnbppaBaWcAlUfN?= =?utf-8?q?gao2L6GAUh4ugADnkSOZP/dIeQ45XY+GGDe01fDxKpq+2sIEbbCKEDt3fyk6DbMr3?= =?utf-8?q?3p/yblyw5t3IeySBDR6LkseNgVUqU9zKPNCDq4aMrf4uY5JKQ1Oy1/rgX2Yw21Yi7?= =?utf-8?q?lKEfZ9VXfF8gvqI0f0llF5A8oZY3UBmpECVDt+jDB2XfaJGSLn1aBalHM9nMP1/Co?= =?utf-8?q?vVeX6/GjKmVClWhfCsDhooEpUXdY2zg7nnfrTCBXepflgYzpXtJOUoS9eWp6bNVJD?= =?utf-8?q?n5t04I8QntX5FJLtYzFAmGbfOrVttlu73hIPNPiQCpLPTke450lykqbO3pasOiw1z?= =?utf-8?q?a7azD3x46CzXP+Ps/6IWMLb0Z7pwnDF/zGaH8JxXcJ4m9nlDMZNRtNX8fOf8+M7yo?= =?utf-8?q?VlNGsCvAXAmnTieIIQSKVvboYdl1QaZYdewSzSV3BJ9kJp4OzqKd5kdqibrPPFd4t?= =?utf-8?q?jk2MF84FYc2y3apQ2EkX6F9IjyoLPV0F472AvMZcOnw92osQ5pFNC8c+BK64u1pL1?= =?utf-8?q?OCBh2t9bJpawYBxzPYHXtoAFeAosyw5FycdKQzuPlO25tvBerxXMsZOMhdwaHMPqe?= =?utf-8?q?ljQ8NKAJEvjUXuULwoM05R85N6dvJQ13AnZWKuCdcRXwSS8Z9xSrYsCUxXi1l/0Or?= =?utf-8?q?esVTE/igzyTFwIjm7uh16RqlOsE21+3VQ10DKGw4wSpXkKI8Lwk+UFkpeqEja4Gub?= =?utf-8?q?Yf1xhZ+2nUtk91fhVKXSCR86yrairqOEs62YPYXClzStykGfFdFO7BHPJ0fhpdhmK?= =?utf-8?q?+3dT83r0JPqthIyw6yAvia74fY4YtV5/gFOJWOZIg6bUpqmtqDtW6PzOdPP0etHom?= =?utf-8?q?3OFnHCkhPff7WZok+LaJqsYCsRH7r63ptS+L8EcJ0VZ15o+S3RxXcSYwg/TQmVe4F?= =?utf-8?q?5pGi2q4k5felOKp/jKI583TQW2NWKL9u5PzJ+lUgPZQGi90j/p1G3pdG9aSZ39A/s?= =?utf-8?q?v1C56RvdmfWoWo+harH1Rjr7eTnOX3y4QI0MfVgSTBhxRtXOA5naWuRzjVLeC7xsk?= =?utf-8?q?L5YyZU0KU5USqNC/bi31VQ7PFpOajOhg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 696a714f-fc8e-49cb-832d-08deaa8ddb2f X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8585.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2026 10:05:37.9669 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bkzW8mWjG14A57lYKYUMBn7fQaxI8pw/HaEhMZqFhz8zVJ/P9RY+cvfUwWRNLB5AcuJsX2LiEiGf1VsvAvwtEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB11083 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The tegra as well as a few dwc PCI controller drivers uses PM runtime operations without including the required header. Similarly, pcie-rockchip-host, pcie-starfive as well as a few dwc PCI controllers use the regulator consumer API without including . pcie-spacemit-k1.c uses of_get_next_available_child() and of_node_put() without including . It seems these function prototypes were indirectly provided by , mostly by mistake (none of the functions it exports need it). Before the PHY header can drop the unnecessary includes, make sure the PCI controller drivers include what they use. Signed-off-by: Vladimir Oltean Acked-by: Bjorn Helgaas --- Cc: Lorenzo Pieralisi Cc: "Krzysztof Wilczyński" Cc: Manivannan Sadhasivam Cc: Rob Herring Cc: Bjorn Helgaas Cc: Heiko Stuebner Cc: Shawn Guo Cc: Yixun Lan Cc: Thierry Reding Cc: Jonathan Hunter Cc: Shawn Lin Cc: Kevin Xie v5->v8: none v4->v5: fix pcie-spacemit-k1 driver, previously missed due to limited build coverage v2->v4: none v1->v2: collect tag, adjust commit title --- drivers/pci/controller/dwc/pci-keystone.c | 1 + drivers/pci/controller/dwc/pcie-dw-rockchip.c | 1 + drivers/pci/controller/dwc/pcie-histb.c | 1 + drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 + drivers/pci/controller/dwc/pcie-spacemit-k1.c | 3 +++ drivers/pci/controller/dwc/pcie-tegra194.c | 1 + drivers/pci/controller/pci-tegra.c | 1 + drivers/pci/controller/pcie-rockchip-host.c | 1 + drivers/pci/controller/plda/pcie-starfive.c | 1 + 9 files changed, 11 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index 278d2dba1db0..fe4836925c4e 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c index 731d93663cca..ae27ce05247c 100644 --- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c +++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/controller/dwc/pcie-histb.c b/drivers/pci/controller/dwc/pcie-histb.c index a52071589377..432a54c5bfce 100644 --- a/drivers/pci/controller/dwc/pcie-histb.c +++ b/drivers/pci/controller/dwc/pcie-histb.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c index 257c2bcb5f76..35a297923e7f 100644 --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/controller/dwc/pcie-spacemit-k1.c b/drivers/pci/controller/dwc/pcie-spacemit-k1.c index be20a520255b..41316aa54106 100644 --- a/drivers/pci/controller/dwc/pcie-spacemit-k1.c +++ b/drivers/pci/controller/dwc/pcie-spacemit-k1.c @@ -13,9 +13,12 @@ #include #include #include +#include #include #include +#include #include +#include #include #include diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c index 9dcfa194050e..f1d08814a73c 100644 --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c index 512309763d1f..a2c1662b6e81 100644 --- a/drivers/pci/controller/pci-tegra.c +++ b/drivers/pci/controller/pci-tegra.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/controller/pcie-rockchip-host.c b/drivers/pci/controller/pcie-rockchip-host.c index ee1822ca01db..46adb4582fcc 100644 --- a/drivers/pci/controller/pcie-rockchip-host.c +++ b/drivers/pci/controller/pcie-rockchip-host.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "../pci.h" #include "pcie-rockchip.h" diff --git a/drivers/pci/controller/plda/pcie-starfive.c b/drivers/pci/controller/plda/pcie-starfive.c index 298036c3e7f9..22344cca167b 100644 --- a/drivers/pci/controller/plda/pcie-starfive.c +++ b/drivers/pci/controller/plda/pcie-starfive.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include "../../pci.h" From patchwork Tue May 5 10:04:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 2129 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id 770C91C0133 for ; Tue, 5 May 2026 12:14:26 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=nxp.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-23106-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-23106-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id DBBD830578CA for ; Tue, 5 May 2026 10:07:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11AAB35E955; Tue, 5 May 2026 10:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Q8IUphd9" X-Original-To: linux-sunxi@lists.linux.dev Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazon11013061.outbound.protection.outlook.com [40.107.159.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF8D935CB7B; Tue, 5 May 2026 10:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.159.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975552; cv=fail; b=VFQH0Ge1IXqWk0iqtImbZbbSZdkDiugteMF45VxcNoKCgMAmNAgfxp0556BVKj16x2vOJBYLD/5lfxITtW0y75gcqQ4+jKIwx5eVBOpiUdid1b3ciyD/4tToMc3rovJ7DUaVqTyyDHTtw1TBqlXMvHwmLNXgg4rtP2sk9qnb/Cw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975552; c=relaxed/simple; bh=YWvSirGPhoay2Cmtoxb1+wKLj0r7nE0xFIASpmtdAWg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ZjyasnWF2gNQ51a8lzdLC6/wCuMlUG+nwcHkJukfzlHIUJlQr/idzSLkyrZPI9fxjdGWZVZ6Aq+IQe1s0B43DhAmi1dlKxdulqiZxUzOJzT0k4LXoIAukV4xpjB7sBKkEJpljWuMJYjM9hnQGwurxDWn8KxGyLtmIGY36OlL0Vc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=Q8IUphd9; arc=fail smtp.client-ip=40.107.159.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rb4hhTbLdkJaynpZtwp5/btQtsZxqLuu5VbHtWmd/gSHpflS9Vyu67cfsI6GWwIHEzGANW3wU3nAXF3nIlgQ68T6tmzll4s5Wie6eZbv2dJbwYQfZsg24e2xbHYCe3lh5zIH1oI9FUwTisMAjMe5eWMN5urzsyk1S/WLODMyWSItS6AezHFlSb62VgaJEUCE4bUx95Fouvz6ujRVK0uSikap1t6KOkOPM1QQbF83qFqBsmbAWa9wPnptXmKXkQSRnLUClEO4E717eUCaQSfuo+ZUI3/BjXK7tJXrYM3jerTRc2EXYJ0k+lQ1VeEXuETSr2PzP8hTaKv4Wxee6eEC4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EMEipDXmhMqy25fmsuOOqAPPy+PYETcjqbDLd52EhfI=; b=rtoPUhvmAe8fZjBqQGoB4d9RuWbhyN2i9tFSVW7CQSuVrCyb2lflqomTl2uPcdbJTqHwOJw8x/IboHRTdc6ONShsvEDJV+2rKJLhe4NW1+UUWf3cJSBVN61A38OmrwGwDxn0RL+GFDHvL4wV6keixsusYq/3FAedMV5J2H7+VLFsrgFP+sgHG3bMn7y1rh8UGSBsLDIzKNRLni3YD1V7O/aOtpbMT9ZPfRXSFmghpJ9duYSYCZ8WtWEQvI5w9KIPXpltpIDQNeaivRZ7R+mmsPuHcIIxBLKJmPDewp7wJ20u2b+7dAXzerMbwx1Zir5Os6w8xkaGEcpRl8RysjNDAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EMEipDXmhMqy25fmsuOOqAPPy+PYETcjqbDLd52EhfI=; b=Q8IUphd99ebGDcLEgUFjDZfm8TN/Wv0jFnyXAWnEbuRKZucF63bzyxAGzeMp+wBJ1+yuuLs3BX9dqgYHsKJO0lP1J56k61zpiML8jkGYodVv5N2AUtSi+P5Z41czwgZ37FMbmKrBXhP0+kFClaPL4ZXh646RQwRgyUL5wNl0oy9W6BYLjx7y3KULk3qs6998SmyZvE2sIMyiBZ6wNb5RXNeAt0det9o3dX2BYgia+JJ6PsCXdMK1FKZ3dRbTccNac/9jixjR/w0FhVg5DakWnxpIrUx9fqHyatRMpTGAcIn/ekpGF85gldCP3JtjwABE4CwE2amSPWGMSPfwDVfDIA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) by AM9PR04MB8308.eurprd04.prod.outlook.com (2603:10a6:20b:3e3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.25; Tue, 5 May 2026 10:05:42 +0000 Received: from AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4]) by AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4%4]) with mapi id 15.20.9870.023; Tue, 5 May 2026 10:05:41 +0000 From: Vladimir Oltean To: linux-phy@lists.infradead.org Cc: Vinod Koul , Neil Armstrong , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, spacemit@lists.linux.dev, UNGLinuxDriver@microchip.com, Thinh Nguyen , Greg Kroah-Hartman , Peter Chen , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Xu Yang Subject: [PATCH v8 phy-next 04/31] usb: add missing headers transitively included by Date: Tue, 5 May 2026 13:04:56 +0300 Message-Id: <20260505100523.1922388-5-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260505100523.1922388-1-vladimir.oltean@nxp.com> References: <20260505100523.1922388-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: FR4P281CA0331.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ea::17) To AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8585:EE_|AM9PR04MB8308:EE_ X-MS-Office365-Filtering-Correlation-Id: cb6a494e-a73d-403a-33fd-08deaa8ddc8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|19092799006|376014|7416014|1800799024|56012099003|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: Yx7EqZaLlj8GBWRIGcy0H9eXYv4HzANWnfXnfn6e8XEezJzc9y7scNXs8E2Hdy1MMoFcoW1uK9DLq+K1l7ZiPL9Sk7x4+TflX+O/8YZnA2XPKerld7dTtCvgQQ0YQSjkM2YV6WHqNOXEKLTSZQ70KbyF4a82aQnqIY9/JJ9jYA59n4kBpUfkH/FsMIAuozRKuahB18HeHz2kDzHqepLp98O05Acvsf5V0qUHiQ6sdESjK8kdMknx9HF5HcYtmUbWxsNSQzQQ/9dA+61giC5/W53uQVfRip5Xbo0ky3J3ZE4xVtGA+NY+BsvziTRgD6chIZPa/3lYPfSUPdUNJ0o0XNs3qJje3lK9Uahfy7LOxglSDm5Q7FenQNbioci1ICaORP/cywxvrDEwF8q+uGMEUxBNje8P5qZmIBHCtoD9+c2MaOE+Ytp5zltvsjJePxsG+cipQu0tDoHJspNbJS18yaBcMhVBkqgUPwGx289Sdb1OIiWB5afhb27n4g2mOU83AZBO+hSXZoeCdlG3pFOQ0Rk3nSewYVOqBvaT6WE1oTQsshyni/5yEbr1INkMqa+yYfox/uybTUuPGe8yMOmK7HJi+62BE/cv8ok0tTpp81zqd7fSf4/n56qM6Nr1E41f3oqwgF9Pc9K4pQmW4Cl6FZhHrDx4+v86caIR0z9xyNwLObv8rYxPRwxLkZxGsR1n9lv8rYf/Hv+e71EqLbScPg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8585.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(19092799006)(376014)(7416014)(1800799024)(56012099003)(22082099003)(18002099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aPRnHdx4KK1BVedcoBji4p8n4PQRpHiWrMJaH35m/sSq0G++SFbPuVklP/v4EKTf4vALPaRn3ul46MZj6O7U+rJFVkmZYDiPy2WEOx2ED8ZLO1FpouQwmqeSbQuZUM7FRDrL3NBJn/ycDTycdZU34DLUQPRZ1aeP7DqVTIE2Fx7HsXOCcqXCiJ2ibo8usXTdJO6MxhejNC7E1PtRkfc+IuU6Qns9xKDJbeUDbEAgxShuUq4kfzKna79xhdWT8qVjQbkepRLDIrIkCVfjz+SCZ0sd/DFKwhzWdduIcPbFNWBvw8G4rpHUXE74Jhuw5FHTkLUMX9h64Mh5QATe/5AFnu4QwXLOJ87HLsH/QEUuNkHUfGDS0wTId4EX6a7UVHs1FAI7DCOzrULMOTTLuuLBzGM59rip/F1UwxCPkT88uN+Y53MRLvTRNDdpvtF+k/Z7Dv40KWSoJeBFitJCjFMOeuVoLQTYvZdQbfCIUWknyNRQy1J96ax+/7P4Ttmwbol9sRfH5favPLzSC9TVpiYqMCU7VyJo12EFmOiTS11RLKIEkKIDAYOtiMIQLBTeWhbank3BDTRphQkqioCMeuKTfSLwHzMvQ4rxQxImOkbP4q9Zx+B7uNyh07vnbObxESwXbMwBvUA1fiPCs6EDc/jaoZL0nXy+Xp1/RepflbCHnV+6MUnbCn1ArlZfZEpfcWkjwkVBcZQWBo8oS2e05bVvlVtn9aAwSRDIK2ttU7NWqmjyWKqzdYjoCJMciFAhvLL2mB21y3IymC76MKft4vNYPqbaFROhf/atmfVVPdkeWmDajOha01FPFOe7sMrFFW0op1BQjZhma/mXZwlVLNzdEGhtLZEhuB3K+0n4XKv5K2D43gEVbYU1tZepkuJhR2rMrD2LzWOaVa6k+fAw2UEIgTf9wxMLmVIYU33xDNgWiwzCClUpHqq3OhqfU4C2Exsv7Psd+h32+dS8xXNhVoLyy30THLKBeFJO132sgsF5eNzYeAdY40Op68EI/CS1RKuha7osh3mhKqeYTPWTIYyL1AlP03+5vuZy7ndZO8Y8gPEFpe7gCG1IZBjdGoDkS7hwL7Q5kRuYWASUGvBijalKan/uN1j/dMpcubZ1PyPPYMpRHgDWYjlGQczcY2FP/ddVupGwjXuiX8NNnReYFIpDgOloXKxw6u1olRsxGJRDZY5gKMROE72eFzgSKC5SDIn1I36BxFeak+AnipaTBFUoPA0DVWPXhC5h+x7Knq69vbG9sZJ6qLk213OKCTa02FAxhAm1aBBV5bTfmL7xGQGO+kNJYUGxP2SIfPogwcjdns0WoW7eW9THcIfOvGszPfbGElXBWRAZ4ke2LnPXkKSbtPndzc8KQbDomH+gVzTzIZQvOh2S9aAgfOCz4haO1loC4tyE9CeJk6moJ6YyaycKukNNPPRGGpSb2OBKfzIVjPk1ooyYyvZqApehT1J90MtE3ziVmqSGikPt5KEqtkVWLnM6oOqZAJ+weHZPK3kE+NQgaOOWaqVfkkcUK7PnxIq8giufZrL9xIt578oBWu690q1Ea4enxuFpuoBJvMzhDfWbMKBN5l289w23DIQVZPVdfVVfpagnve5EG8sdlmO7KRUuPQZQwjx1P7p3x2d8QV9vXS5u38iQWpKgpWPjLUEfADrH7808mn8tvWBskXL9j9XIi97WmBas8f+6IIwTjsHDYBz5BldSDqCtLzV4wxRETCgQlfI+qU7QoneO1vGBew== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb6a494e-a73d-403a-33fd-08deaa8ddc8f X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8585.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2026 10:05:41.2720 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RT58f3hWfJPcmr13WfrM+AZ2mJjUazoFYVoWOt375lj5x7QXVACvx5HKudRJ4NZBkAOqAZcMBZPrH0N19UzEVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8308 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The chipidea ci_hdrc_imx driver uses regulator consumer API like regulator_enable() but does not include . The core USB HCD driver calls invalidate_kernel_vmap_range() and flush_kernel_vmap_range(), but does not include . The DWC3 gadget driver calls: - device_property_present() - device_property_count_u8() - device_property_read_u8_array() but does not include Similarly, dwc3-imx uses device_property_read_bool() without including . The dwc3-generic-plat driver uses of_device_get_match_data() but does not include . In all these cases, the necessary includes were still provided somehow, directly or indirectly, through . I found the following command to be quite helpful in figuring out the include chain: $ make KCFLAGS="-H" drivers/usb/dwc3/dwc3-imx.o Since wants to drop the unnecessary includes, fill in the required headers to avoid any breakage. Signed-off-by: Vladimir Oltean Acked-by: Thinh Nguyen # dwc3 Acked-by: Greg Kroah-Hartman --- Cc: Peter Chen Cc: Greg Kroah-Hartman Cc: Frank Li Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: Thinh Nguyen Cc: Xu Yang v7->v8: none v6->v7: - add drivers/usb/dwc3/dwc3-imx.c to the list of patched files - collect tag from Greg, keeping it despite the new addition because the change is minor and in the same spirit as the rest (https://lore.kernel.org/linux-phy/2026033028-squint-yield-4c23@gregkh/) v2->v6: none v1->v2: collect tag --- drivers/usb/chipidea/ci_hdrc_imx.c | 1 + drivers/usb/core/hcd.c | 1 + drivers/usb/dwc3/dwc3-generic-plat.c | 1 + drivers/usb/dwc3/dwc3-imx.c | 1 + drivers/usb/dwc3/gadget.c | 1 + 5 files changed, 5 insertions(+) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index 56d2ba824a0b..0a21d7cc5f5a 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "ci.h" #include "ci_hdrc_imx.h" diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 89221f1ce769..b3826ebcbe98 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include diff --git a/drivers/usb/dwc3/dwc3-generic-plat.c b/drivers/usb/dwc3/dwc3-generic-plat.c index ca69ac0eb07c..2f2ae6f4704f 100644 --- a/drivers/usb/dwc3/dwc3-generic-plat.c +++ b/drivers/usb/dwc3/dwc3-generic-plat.c @@ -8,6 +8,7 @@ */ #include +#include #include #include #include diff --git a/drivers/usb/dwc3/dwc3-imx.c b/drivers/usb/dwc3/dwc3-imx.c index 973a486b544d..6e122674edaf 100644 --- a/drivers/usb/dwc3/dwc3-imx.c +++ b/drivers/usb/dwc3/dwc3-imx.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "core.h" #include "glue.h" diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 3d4ca68e584c..b5a6fd2899f1 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include From patchwork Tue May 5 10:04:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 2132 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id 03DD51C0133 for ; Tue, 5 May 2026 12:16:03 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=nxp.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-23107-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-23107-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 4366530CD67C for ; Tue, 5 May 2026 10:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B006E379ED8; Tue, 5 May 2026 10:05:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="aLiwxk/C" X-Original-To: linux-sunxi@lists.linux.dev Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazon11013061.outbound.protection.outlook.com [40.107.159.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F4ED364022; Tue, 5 May 2026 10:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.159.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975555; cv=fail; b=bRXq6EcAnjE66uD++KwvNIeDi6KszDf+LmpZkoWErB9nkRyKq4g066N0Zu+DXMK9P4wrI+njLzvc9MCGVBmwD2pInL4tZGoQ+xucHqDJ+1Y2VOCSZ60w13SHQXjbJaHzkiLqEDQ9EbrPpj8O6ucDzo0I+YrfKYYumUmQkeUmPt4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777975555; c=relaxed/simple; bh=bZmvByyRFjdchT+yNvmeUJX4blBz5aHRInWDdeA9sJY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=V1TqEYEMCY0TeQ/1oO+63FoxExZw3AjCC1xejG4XxN5f9blwVoE9mEyJGsdUpx9phJene7/5otBaqhzRP1VKZFjQjgs3U3vPf9DBdqgsvUQ9l/b/gwFBsk1I3DRtac/H1HNVuszObzH8zEg8JyH+gdS2xUUr4QEmaN2Bk959kSI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=aLiwxk/C; arc=fail smtp.client-ip=40.107.159.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aAi0LZjUOXoNFazCZrA1DeMH0Td0SmvycO9hI23I8jIju74GA67MFapHgTPHtp+wy5cbJ/U9CddVKOYHDG5x3sqY/jb1c/YtIItMHORvYL24p+GDh6uk38+g2xywJS1c6QlxSei9I1mLsQHRqrGxqM5EOsCGDnin8hFvGs1bFhL6ljfk8px71EUqf5yTf8cQ1uw5A0oOLYFk1Y8wOGNCoP90LyJSYbSUMt+wLpF3q9xy8YMdwatPAIATS1N5lFRcLyltNeCM8REQZkiZtNQMZeDxQJT6pmDw0OaU5wwRWTBaZikAaTMerae2sutVTLNxHrBeP3RRrlG4o8QX3c8kEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NS+5THrrREwT9nxPyQ+H+C5kAxFJUFMEj14n+Jt52D0=; b=YNWPLlJtUzYBhBLwadNBfVYLxktjeJM/JPkrVTpI8itwSK8UIEtamtqz8Qk7PZMz/eXUxzYk7ffMvJAoZBmUsSYzenwauYyIWlvT6NN4ZCHdpFfVv91gBbiQC/oeW71e0STOT5m1MOx1iqWW8FpKU9IOR1zZwhuQp5a0659GVInqlGjZRyTuyx9QjSKza980ACWMh59tfwv1z8eWMPMtBCGiESOFm3oRLG3cxTXVZcI66SvJAfo8rpXhPv7ArjWUwSjWo4j9+iKbKAK1RvWI/EIBZce16MebamV18WaHQ4mFv0plNvEtGZWgzSnftMHpfAqXQ1iaP1B3oUVxmzKKJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NS+5THrrREwT9nxPyQ+H+C5kAxFJUFMEj14n+Jt52D0=; b=aLiwxk/C8aK+PJ3u2/xM/b0Oiwj2rnH1LCjygJn+rOivUXRWoUFN3qSmqrhVPs2yHv98EMgQgLYkj7dJU48CUkQJwcNVdOriAPqlAS/R7sZLrv47eZNFBz2yrrege5tdspf9b6RrKgu+0oPsQ0x58yX9GPfBGOeJj8Y8b4igNJxz0xB7S4NNHXZejmlUDbhT/lFuce6Sf8IGGT8gLmIUaXLbYy6sHpMSSuc2/Pen8/9LCs0ti1W/4vMDAYzMoyh4C+Hys0U8tU8kO7fE461kis2bhGggwYu/F8NELUocgpFsFJdggCZSpwnCw/M5nueK72pBVfw9bR0Y3rNJclyoww== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) by AM9PR04MB8308.eurprd04.prod.outlook.com (2603:10a6:20b:3e3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.25; Tue, 5 May 2026 10:05:44 +0000 Received: from AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4]) by AM9PR04MB8585.eurprd04.prod.outlook.com ([fe80::f010:fca8:7ef:62f4%4]) with mapi id 15.20.9870.023; Tue, 5 May 2026 10:05:44 +0000 From: Vladimir Oltean To: linux-phy@lists.infradead.org Cc: Vinod Koul , Neil Armstrong , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, spacemit@lists.linux.dev, UNGLinuxDriver@microchip.com, Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Inki Dae , Jagan Teki , Marek Szyprowski , Rob Clark , Dmitry Baryshkov Subject: [PATCH v8 phy-next 05/31] drm: add where missing Date: Tue, 5 May 2026 13:04:57 +0300 Message-Id: <20260505100523.1922388-6-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260505100523.1922388-1-vladimir.oltean@nxp.com> References: <20260505100523.1922388-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: FR4P281CA0396.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:cf::10) To AM9PR04MB8585.eurprd04.prod.outlook.com (2603:10a6:20b:438::13) Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8585:EE_|AM9PR04MB8308:EE_ X-MS-Office365-Filtering-Correlation-Id: 72545322-10fa-4a7a-dbd2-08deaa8ddecc X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|19092799006|376014|7416014|1800799024|56012099003|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: Qf3D9paYyIABDPTDCfjR4GGCZ5P42QGW6OvYypz4g2wnzdc+TZ6x85dbR5WkjCgXqSEcaLDCG6J/vE1GdXQh1d1SsuR7O97woulvEhmuPN2GYui/fCXQIVQPowiYkXQ7Vl3F/5IfbeTp8s/xUeQNqkvi4q4RGLpsQd6ihWQXT3MT1wma/fBqQaPWNS9bT/W9NC8qjAyowe4Ai9zhA8FUfqLiXKfDKhaF4sBdVXtPWpDcOiV5VhaF2t2BK7rDyczEJehp8yLnqtGPfgqMkjLeja6j5AUJAq8V/NXVD5hmuZF8S9zLQQIkeA52lM0NU2jWxeF8zQ7B8m4Fgf65VpUqrDap0vwqLkaMIt/wwtdSdsPM2zAk0sXgvH6xVVpgrEBCA1eCPOr3wmFkiLCFJNOXM8bE7lxztrj82YI8GTebaYsOy9Puwu61diKBRGfjofFXFfa3SjMTM92v5lJiopn1w5JfkSJlLPMfqJrYgIu0JUCxzphh8wZlUUmHz3e1gaefl26rE3o3Dze3udJWZY5qiu2mLnQnXrpPeg40eo0cRZ5ay6djvXM8yJDyAQ9tnyRbiq8Ilg/tKUui22ZkjQtuaJf7jDjs3n09YMddE4VBYjYXurVN6t+oFkvyAH+FXgVVhcrEU0qtO/im2ywxEWCSjCK3Vajukkm6tKakhUQc2DJXoLzAAbH0YprGNztkzuLZ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8585.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(19092799006)(376014)(7416014)(1800799024)(56012099003)(22082099003)(18002099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WfkhmrcZUAMG5tkDUFQQpQzBu8yMNlpXLT9B1Cg/jVVjj8CCBMFqQEpC3grU/0M6ScUElcoeEfTquMWd2Dc/HrCZ3A+Y9jK45Uyyrb9GG0dqQRwuUY/IEfyZuVEhKiMU5wptGtxDgjUlqGBde4/PllF3ETOd+bO8OWKNuWNXKq91163UZoZHxb7uK1SgtXVNzHvVTzgChZ60D5qHKFwLsZQzXehQY1CA948/DVirMdbU0O0mSBqwjB37/cRx6eSrL59Pk3lC385NibQdvka4yNXP8TB7a3j2Dxd54MWTEfeOfbtpZmAPkoByHtcF3IbVKaUN9rdtxfI8hpk29YjLVswZQ8gCiv6pyp0r0SphIRT3QrQGoDSnL2ePo+vJbjynvf5pXaXPAcWOlV614rLIRfeLhlSdrXYzFPKBrPpOZzdtNuD11wDMzQT8xoPzePDlgficl3fE/cMhdJBJnEat4wFwCe4I53GTrOElqXEIkgAV+iEAfSRUs/e6YY77AvizJlWeFkXuqTXuKTN444/XCnEec+9a2wjfvNwY90B5f2DHvLb4KIl4IFinL633YnN40bIUGXupVXp4pkOy7Swgzz/p1uAkfvUcHxZF8P3F5XS2R88oIfOPmmMRmPmsnsxsxmGjGfGgIjKV9TcOzy0oBbrg1PE/emxDIp1+LsrkxU2Ol/iBuSEVGOHfzJEQvvukt3ntR1ZBOc+dFlS9RTV56QSUh5ZfVZ0++XO5NKm9ycNuwV6Ls0XotuTVVslnARf792PcpLN/dNVU3lOW1f28MMcnDoS22LBnKtD8ld+JrQYRutt0dKd8OHH/Q4NYBPSNxqWsCha0tqLuZyXAWQjNVPN3OrFApVQdbDbCSbq0FVSJL1QsApB5c5ubcn9etjZ/vGqKvDfvPvEr0KM9/nlZEAZQ+oqFGhPrBnDd1gWs04pDxBJy4T7GXxx90t613YSktLaoGlhA6Y9hnyLlFNAeKz/t3aDpbtnpHtQ0kLUGpvFyarJwb7W5d5mPY94QHMGbzrogMtRuVLV8LkRCc/Wma/fIVNX1xUNvfKBD+ZzocM4VfPWJGsRou3fp+3ZCwG7N05/lhmwNtecILqO50GhmOcfjCkQK1W+0hq9Zt/MKVgLTrN7fbY3G9Z5xxZsxiHxTFI7RlYdUknSI843j1j0tUmrvZ9ZM1gXOo+VNwJHH9nonrKNQ52/1ObZMzwRtqQWLSgkGA6JzmhKk565brYO3QmwSa9/js+eAj6Hlenr7REY681qWiElvwcfTptOeMum+/GT/5ipVhk9MPLEHazA5BcgchNd+ig4XNPWX1QJYEz7luv7C+Ozf1/6V8ruurbzys+El6iBs7uVbTLk3PoF0CMQklZ8qCAW9nD1hFJ9Z543B9d6PtGZDSVFGOWaQE+Zsy4jP1rxTZRRTIdW92TN7N2o1YpNo4QjyeblIyiH92t7e1VyCatBfjaVRlmwSbmidDJVwWiNnN1o6gpDzOrFw4GXpVsPd69BZh9rsJLUQXIm5J27Cp3vzNTZnPZOKY9lvpSBIZh/91vnis53XXTbBYwkZnjPt7+jOccAK13q/p2hWhnRBOkDxhB63PlGkClx3cFh69GvuDYeQk7aq7pEeSGWB7+G9Usdaz3CM2bH+nixbg6keVYTd8ghehuQKenY3uoWTZbnn4OMJ1hu8v67L+zWINlwYkCzNqnRhrWCfR/BYInSDIOneefwQ1mJuxt+V1DrQNzpMe4Ik/LK39JPHvg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72545322-10fa-4a7a-dbd2-08deaa8ddecc X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8585.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2026 10:05:44.2678 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cPnQPpBfTQOZPyDlzXRHihRLS4fyHmwpqFUSpub8SPjDNz2mUcmgDClcnv79Ec5cyN5B4YYYwBtvk/i6sO1n2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8308 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Multiple DRM bridge drivers use runtime PM operations without including the proper header, instead relying on transitive inclusion by . The PHY subsystem wants to get rid of headers it provides for no reason, so modify these drivers to include what they need directly. Signed-off-by: Vladimir Oltean --- Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Simona Vetter Cc: Inki Dae Cc: Jagan Teki Cc: Marek Szyprowski Cc: Rob Clark Cc: Dmitry Baryshkov v1->v8: none --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 1 + drivers/gpu/drm/bridge/nwl-dsi.c | 1 + drivers/gpu/drm/bridge/samsung-dsim.c | 1 + drivers/gpu/drm/msm/dp/dp_aux.c | 1 + drivers/gpu/drm/rockchip/cdn-dp-core.c | 1 + 6 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 8dee5f2fbde5..4ee08663e626 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c b/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c index 064c6915c896..d20c0f8ad04c 100644 --- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c +++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/bridge/nwl-dsi.c b/drivers/gpu/drm/bridge/nwl-dsi.c index 2f7429b24fc2..9ac8796ae91e 100644 --- a/drivers/gpu/drm/bridge/nwl-dsi.c +++ b/drivers/gpu/drm/bridge/nwl-dsi.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index c3eb437ef1b0..4244434747af 100644 --- a/drivers/gpu/drm/bridge/samsung-dsim.c +++ b/drivers/gpu/drm/bridge/samsung-dsim.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include