From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C643533B6F1; Fri, 9 Jan 2026 11:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767959482; cv=none; b=HDlyAB69n9vPUYZvbG/2kL56Xn0L3j8ICiRWGugGgfR2kNkyyQHKQJCk32cPrccxQy2+5Jon1qVsKOG5EEE3LxXLyIqyksiq2l1kL8ypIH2PTYhnCrIS37UCH39tj2gxynn9a7qSIEkJj4it1FNhgf6NXWrB5/zdKUbiI8iOg6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767959482; c=relaxed/simple; bh=SaJ8iHAM/yCyD579XT/o4/zl8qfwbyMKLPl+o9vFYII=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TPJrww7Org5luHscbGLIG/xEwAkqUv46+TPuxSKyVM6UwHy7Hrcoav33oGhvNwrd/z4d9uNTcI/2f6HRhMRdioM0cBHzbnYfeCN2RljlZsDAn5OQvgxlZhYZZgl+Xv/LDupbfoUxJePSItUcHQa8SFkCJXF61jPJHzLVEadLdIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hFae0HLm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hFae0HLm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D0CFC4CEF1; Fri, 9 Jan 2026 11:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767959482; bh=SaJ8iHAM/yCyD579XT/o4/zl8qfwbyMKLPl+o9vFYII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hFae0HLm/Qjp2yYCUkvLuTlIs4hHIMz0yzKwgUSvXfxkc0PVlcpf/fS35eOsvynoz 7ew5YOb/uIAmqyS0Ux7yvXrGT4Ylkbd+aIZ7u27StrpfH1uhQ6SZf0A5doT2TmXOoL Vwe1Hl3y5eCsNgEv7o0/u6G7dhF1VdD8/gLTY4II= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Johan Hovold , Thomas Gleixner , Sasha Levin Subject: [PATCH 6.6 066/737] irqchip/imx-mu-msi: Fix section mismatch Date: Fri, 9 Jan 2026 12:33:25 +0100 Message-ID: <20260109112136.481115936@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260109112133.973195406@linuxfoundation.org> References: <20260109112133.973195406@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Johan Hovold [ Upstream commit 64acfd8e680ff8992c101fe19aadb112ce551072 ] Platform drivers can be probed after their init sections have been discarded so the irqchip init callbacks must not live in init. Fixes: 70afdab904d2 ("irqchip: Add IMX MU MSI controller driver") Signed-off-by: Johan Hovold Signed-off-by: Thomas Gleixner Signed-off-by: Sasha Levin --- drivers/irqchip/irq-imx-mu-msi.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/irqchip/irq-imx-mu-msi.c b/drivers/irqchip/irq-imx-mu-msi.c index 90d41c1407acf..49e9742b1c55d 100644 --- a/drivers/irqchip/irq-imx-mu-msi.c +++ b/drivers/irqchip/irq-imx-mu-msi.c @@ -303,9 +303,8 @@ static const struct imx_mu_dcfg imx_mu_cfg_imx8ulp = { }, }; -static int __init imx_mu_of_init(struct device_node *dn, - struct device_node *parent, - const struct imx_mu_dcfg *cfg) +static int imx_mu_of_init(struct device_node *dn, struct device_node *parent, + const struct imx_mu_dcfg *cfg) { struct platform_device *pdev = of_find_device_by_node(dn); struct device_link *pd_link_a; @@ -423,20 +422,17 @@ static const struct dev_pm_ops imx_mu_pm_ops = { imx_mu_runtime_resume, NULL) }; -static int __init imx_mu_imx7ulp_of_init(struct device_node *dn, - struct device_node *parent) +static int imx_mu_imx7ulp_of_init(struct device_node *dn, struct device_node *parent) { return imx_mu_of_init(dn, parent, &imx_mu_cfg_imx7ulp); } -static int __init imx_mu_imx6sx_of_init(struct device_node *dn, - struct device_node *parent) +static int imx_mu_imx6sx_of_init(struct device_node *dn, struct device_node *parent) { return imx_mu_of_init(dn, parent, &imx_mu_cfg_imx6sx); } -static int __init imx_mu_imx8ulp_of_init(struct device_node *dn, - struct device_node *parent) +static int imx_mu_imx8ulp_of_init(struct device_node *dn, struct device_node *parent) { return imx_mu_of_init(dn, parent, &imx_mu_cfg_imx8ulp); } -- 2.51.0