Message ID | 20220913210957.3493826-3-Frank.Li@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B1C4C54EE9 for <linux-arm-kernel@archiver.kernel.org>; Tue, 13 Sep 2022 21:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YBOfdq82Qq4mS1G3VKoPNjXA+lpyFDtGYW3MX358oME=; b=HCQqLwDl7UMqNi GZ4z6u3q68WZi18pX+K1uxSV/6at4ZmNgin6PnUx5AYF/ybNqrOLpzfDZHL7TjE8Q5lND9XhRKuFP 2BPqRXTiVU0m4ejpMVJROdFwVOqe2f6ebRKdlMZLxQSF2r0jutYGSn4WgTxa0XJGVIqOBfbWeWfuN LR7kJLdF05aC9WltJpdNarMt9U5OQNTGlGdbqzD8bBW1OdcCUABca3xd8qoXu0rYpa6nwz5Zur68L 1Z7X2aY8RehQdE+BATlhpZQIr961iDDmr39TR/A1vL/hP3uQatUji1TkfxuNnFDG9XYGB55JUNJCr bD4M5JsVin/Q54iN8whw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYDBT-00Gt5p-9p; Tue, 13 Sep 2022 21:11:07 +0000 Received: from mail-eopbgr150071.outbound.protection.outlook.com ([40.107.15.71] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYDAt-00GsNn-6I for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 21:10:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lccy+mPUat0ON3YiiiGjiPwGgFsjCrJLd+4YLnG8DkjKnyVSGfa3NbJA5vHPioZttk5IcgiVJCXFMgxVsp2UXZuOFjg7qL12FTlEoebuCIN4R7hQgICRvMJ/N6e9Of3wV4PEsXtTxNxfVJPc419Uh7XKGQLWlRuPbXfeUw/YR6o4ub1j8Rdz+9FgmaMk+Oc+ViSI605Fv3WQfbdcLASKNdxLS5XhDl2RJUZlqlWxsbXyNcBDvvzIbTNcBPt++LJcRDe0m+SGbeEIhEQetFAEUfBfdQyVMrGyefFBeesUM1nXvFy6NCdhuZladWMaFBpKttKJNCZpV4FVdgFSstOjIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=PxyZmoQ4HPxt9JAZN3QVzBllZWpIazPpqniEWrzTllw=; b=X+/kX/BlgiwFh97xgDfaqoU9tmvoj7aZugGcBPiQlc6/FZ6CkEu8W4+0apcahB6g1Zj5Xw+UXC0sDINy4DxuCsKqHpRVovI6dYZqkbDj/s8uSkkNEEaVo4WZt8gmZVgzkV+z4meW9XRcNNgvNQb+3m0SohKHAbbhR/OstX0B6aAEoXVbYfVxvP51A2fsBdCuQLm0WYU7tEa825buILnwSU+fE/E4zATV0RwdYqiijk5vwuCpuCZS3U7aOU4HDeMD6HrTvC0gAbupz++zEpeND10LB5H867qHg4Mxeeh0M19lOXWGx7V8rcNGi1U0ihpUS2bw44/nZPAzJFLzAe7Yaw== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PxyZmoQ4HPxt9JAZN3QVzBllZWpIazPpqniEWrzTllw=; b=NDAeFdqdI8QbfqwpkTeA2X600Plo7iYkR2CmFlvq25CFeMAzz0foucRFqPLZxXLqoYLPM3E1qtoMCR7Spksr1F7kxe9DdM1XOehzI3jSMzkHYkFPuEfNkicqCvZlElF7Z+Fueu4uViqOm82EZ1bskexDWy9NVa+CJyFgnexPoOo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8793.eurprd04.prod.outlook.com (2603:10a6:20b:408::22) by PAXPR04MB8621.eurprd04.prod.outlook.com (2603:10a6:102:218::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Tue, 13 Sep 2022 21:10:28 +0000 Received: from AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::e5ca:22d0:52e2:15f5]) by AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::e5ca:22d0:52e2:15f5%3]) with mapi id 15.20.5612.022; Tue, 13 Sep 2022 21:10:28 +0000 From: Frank Li <Frank.Li@nxp.com> To: maz@kernel.org, tglx@linutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kw@linux.com, bhelgaas@google.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, peng.fan@nxp.com, aisheng.dong@nxp.com, jdmason@kudzu.us, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, ntb@lists.linux.dev, lznuaa@gmail.com, imx@lists.linux.dev, manivannan.sadhasivam@linaro.org Subject: [PATCH v10 2/6] irqchip: allow pass down .pm field at IRQCHIP_PLATFORM_DRIVER_END Date: Tue, 13 Sep 2022 16:09:53 -0500 Message-Id: <20220913210957.3493826-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220913210957.3493826-1-Frank.Li@nxp.com> References: <20220913210957.3493826-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR07CA0023.namprd07.prod.outlook.com (2603:10b6:a02:bc::36) To AM9PR04MB8793.eurprd04.prod.outlook.com (2603:10a6:20b:408::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8793:EE_|PAXPR04MB8621:EE_ X-MS-Office365-Filtering-Correlation-Id: 99b286fa-b0cb-4c2f-40f6-08da95cc6254 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jGXvcIg4aOuYJpCTTjy6rjoFLXaukFIpTD1wWI5WbheZopT33U6rinS7z6j8XnG1gldD4ZhlHCZoNSn0TBdknDrJWjz1gTjjFM2v5/OZNB2PuVAntkc7bDsx5zDtleLHompujmh+Bk1EHYwJhCA9Mg+XcXf0gShiLrHon2EtdwZBDQG6Owdmh/QRBiIGH9rA+YuZLaIVvQ3b14ouWCFzNozd1D8x++8KezkOdbrbkUZFisOonaz2M2/XIBr9pQsfC+INiEsRa5gQIMLCf21b9bEABnsS14vpTBK9trB42gvjK3MZA65EvqGQBTebHc0c1TbBb/wqW3UHduXCHPRgCiGCvtnpoHSHl7l5udz5rRK0QZNDA8ZU+fa/8m4uAkM+jwvPRSGOHQJ0dAQF8oWiTHG2mTSEhRVMr8n9DsXAGDcJda96laOdV3pzakkvhRcOlhcPElSWOO5iW4HTspv+XKb3+A+ma/FHYAUMpXBdM7rd5sbrQa2cpr3PRfDJlSLBufUKbgrVVycqyzYCu5M2gnMk10not4wN7y5vFLZfdg7A2HLNZ3i3gH2yvpMBFa7RZDfcYQlooWJ5iJb3+kr/q4nOk+8Ohzd4AUpJs+35B3s8C9MS5mnfPqt9oMF0C+ASJijGfR7qCnC5Pgi5bkFeWKefgBv6BZCC1VMdDXuzEMjrTU/qBp7efPEGlzpLPx7erQNVWF41Wol/iIRTd4WU5nFIQGPMdw9hPuttRh3StTc2EO4qcbKoh+Z2NadSzZFxdAq+ZhrIjZ2VSNrGZYpvpQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8793.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(39860400002)(136003)(366004)(396003)(346002)(451199015)(38100700002)(478600001)(316002)(83380400001)(36756003)(8676002)(66556008)(2906002)(26005)(52116002)(2616005)(6486002)(66476007)(66946007)(6512007)(86362001)(6506007)(4326008)(41300700001)(7416002)(38350700002)(6666004)(8936002)(5660300002)(1076003)(186003)(142923001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AXhc/YAPnCCO8nL0n/k8vsGq1LMkXTGY1uEu5iCPqWaQswKji2jTEkUPcvTxehD79dmagtG+SHESQ0KFyOxu3qRc6MKTh4bH5P48qoDVs6yh5h9FKZaFcswjp4ZjDeT+ahhtBSM2Rc7kWKb8q1fHlB3/Gamf2+5FVSpZxdMmWvp4VKYnbbxiMMxLm17Dk/7LtYpopKjHEiltDjSwakOzl0wFOX5+vqRxIstLc81oMVoRuFMTFUyJ9Lj92RrXHnByatxVVg6FiL7QLYmLv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P/WNS570MHkV1A/fe8cKrFF2D9CzLQ5x34zzv6iOUoEQnMojE6GT6KEJTVvK486C30MGprcO+tu0zA+q3mSRTOhOMI1KXXGrnxwPrQX5LIUczkdI4lI2g5uXX2YfZrn7+gVsxVUtGRcvq+Hw/edrHi2wFfXTgLZ6ydvR2rIFtpHTVxLFIvnf6nOBM03o5hQT6HS4Yq0DhJBQHBz2NrozT0I1u0FeHksuXE= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99b286fa-b0cb-4c2f-40f6-08da95cc6254 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8793.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2022 21:10:28.5026 (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: uX+l9COKQBq53UJp1NWgNo3B1kSpRHwIsMbKi5QdFiqVKc8lD1q+ZYkSxlaNVyL0PHruy4xFsoTbRZvu+35D3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8621 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_141031_275590_4E002A9B X-CRM114-Status: GOOD ( 11.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[v10,1/6] platform-msi: export symbol platform_msi_create_irq_domain()
|
expand
|
diff --git a/include/linux/irqchip.h b/include/linux/irqchip.h index 3a091d0710ae1..d5e6024cb2a8c 100644 --- a/include/linux/irqchip.h +++ b/include/linux/irqchip.h @@ -44,7 +44,8 @@ static const struct of_device_id drv_name##_irqchip_match_table[] = { #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, \ .data = typecheck_irq_init_cb(fn), }, -#define IRQCHIP_PLATFORM_DRIVER_END(drv_name) \ + +#define IRQCHIP_PLATFORM_DRIVER_END(drv_name, ...) \ {}, \ }; \ MODULE_DEVICE_TABLE(of, drv_name##_irqchip_match_table); \ @@ -56,6 +57,7 @@ static struct platform_driver drv_name##_driver = { \ .owner = THIS_MODULE, \ .of_match_table = drv_name##_irqchip_match_table, \ .suppress_bind_attrs = true, \ + __VA_ARGS__ \ }, \ }; \ builtin_platform_driver(drv_name##_driver)
IRQCHIP_PLATFORM_DRIVER_* compilation define platform_driver for irqchip. But can't set .pm field of platform_driver. Added variadic macros to set .pm field or other field if need. Signed-off-by: Frank Li <Frank.Li@nxp.com> --- include/linux/irqchip.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)