Message ID | 20240719-imx_rproc-v2-3-10d0268c7eb1@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 3ED55C3DA59 for <linux-arm-kernel@archiver.kernel.org>; Fri, 19 Jul 2024 08:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CueRkbqhz48rnYutf4T4ktNQ8uvs51G3cYlzWCavKy4=; b=fugZYHDVqPqtNJVpsxiSY1MdMk 6GOOiA+hzo11sny+sOgLVGAJSOBfmQsQVE1M6sd/SL9dRC4MFC5eEzwtJyi5A/k7DpcGeCFZNnRvG kbEAgjPTsDL3PynRuyBZVIV9EMbKzdUEDRDCeoglUOIrKo1Nja0MBwhRk5QSrJ64mszS/KXQmIRUj 1POM6u4ofnLoZNAEMRurbOzgpRslMlYDeNukh/+d/sYTPTHL/NcqTe0GQB48kmVVhIamqA+slWbX/ QZsuD0sGsPb/lKqX32qD17odAT1qdaxYeaLJrmINGT5/7j2eu16PNiMuyHJtuYWtCQMVISOoHSHjz GdUIieJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUiyz-000000024wT-21E7; Fri, 19 Jul 2024 08:28:53 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUixj-000000024LD-1sqJ for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 08:27:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pc3zMcISoH3TIUhUel4tLaLAEB618jGt9Qd0TmcJXt1xS/J0r9UJpmJ8Pp8nF1EHtc0yMxA+0aq3ni4h+KCwhXmlG97WOJ7QchfzqJiLtesvo76kBV896rq5Y8EWDzfJypYm90rp6v/qgGfn+r/hNiXJ87ZTVzvxk3KDgKWe/JRuBut77gtWC9QeNHc+DIvqzVYNSX/kkZFyUjxZAd2jFahhhNt5bSIdh6xG+4rn8qbwOQLStHmUFHwxnVtJ5/avGLM1DOg1kN6SNexDQikK13W/pEL4remcQ5AxUjZCRpi8v5+X88q2gAo8+f077rcJSn4kQOgf/26WKpSFY7ZstQ== 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=CueRkbqhz48rnYutf4T4ktNQ8uvs51G3cYlzWCavKy4=; b=wLi+Agj+AEWGKd15hmc6iBnurFINAQWVsqG6lMocOzvFY5yn4RZIUwsfAwnAyJk4OpBn6XI6cV5oyCyiIIkLO+A4sg5KzkaCB94tddJroUC63YExS7JEP+b8tSTMtfiahQf/lhEynu7gMcUpIP1/g/lZHb+eA0D93xHPZGC7wfm3zFZ8HICu5+748teTluzo5M0xAvDZtMEplALuv6lA4ElbUja+xo9jDDpX3dBTUJc7+Pq5S/HZb51487GtqjPwHS+jL21pHepBsVnwxCUd2/eKsFi1EGV4AEDmSLNcZa+F95AoVfyGTYxqp2C146DbxdVVW8QhYvEw/nx1cKmmHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CueRkbqhz48rnYutf4T4ktNQ8uvs51G3cYlzWCavKy4=; b=N1VvrUJZsbz2mcITqawEOU9ssbMJ4k59Kr06m6bguZNk23weMTVXXXd4vVuMFqWZhjs4QHQO/OQctjuwCRpPoVWp/iw0Jv4iEIAJMXASJ3Ce1mj2CTAnwRCdDbXZjTnRiFyK+2OZHExzX+STHst7SiKbshob4kj7YMKtXhqaYW8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by PA4PR04MB7904.eurprd04.prod.outlook.com (2603:10a6:102:c3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20; Fri, 19 Jul 2024 08:27:30 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%4]) with mapi id 15.20.7762.020; Fri, 19 Jul 2024 08:27:30 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Fri, 19 Jul 2024 16:36:13 +0800 Subject: [PATCH v2 3/4] remoteproc: imx_rproc: initialize workqueue earlier Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240719-imx_rproc-v2-3-10d0268c7eb1@nxp.com> References: <20240719-imx_rproc-v2-0-10d0268c7eb1@nxp.com> In-Reply-To: <20240719-imx_rproc-v2-0-10d0268c7eb1@nxp.com> To: Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Daniel Baluta <daniel.baluta@nxp.com>, Iuliana Prodan <iuliana.prodan@nxp.com>, Marek Vasut <marex@denx.de> Cc: linux-remoteproc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721378185; l=1109; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=ZF4X2mUEk5W+41kIPzV6kV8qVtCKJb1wG6vsUcranFg=; b=4oAil4sBNmb1moRx98l0b6xH8MYeYSCp2w2N22BuGbvTcWaP6DA6eQJsaGXvefgknaX80A4wx E+HOMRnkxpMDvMGLqPB8ILsZgbvwkY7EK3S2Jkrb36waN4fcAfa/0uH X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR06CA0232.apcprd06.prod.outlook.com (2603:1096:4:ac::16) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|PA4PR04MB7904:EE_ X-MS-Office365-Filtering-Correlation-Id: 2080e538-6677-4de1-c57d-08dca7cca16b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|7416014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?h+ss++5WJIRDv+reK96jOMuuWslCcuj?= =?utf-8?q?u4ZQa0mexHL8+xnosxfR6Upa8AOL7l10fd1j8r7VOudBlNObOhDogqywPEt+npRH5?= =?utf-8?q?Fm5s4igC/lIVvrxT8PGr4eOvao/CXvEFeANvkitbndeqTmQtMEEnmcCXZGeH61/2z?= =?utf-8?q?E8cZBtHlicFasryB+45gYWse6bPiD9emlyD8lkmfY1ELEddMkAaU8dmzQx6C84ypz?= =?utf-8?q?xnh8UktjMZGuvXltoKbx8/ruTNxmu5iZxDnqdkD4+ixrKrVqv4do9I48+p/kT0+mT?= =?utf-8?q?eLGImw5Se4STYap3xlFrGSDpHWM9J+bZ9+PIK7UOa5v4e34mwZUvJxHNpAwXaNz6F?= =?utf-8?q?zfv3/xMvuZqxg43g/gH241jfnZ63xm1uJDW4qxJWhF3HwOYmVgUGJMkyNrXVAnxHp?= =?utf-8?q?M91zN/X1XxWKIdvRwlCDzuaQp1RwF+yfEGpiYilcr4gZ+9qHH5yofJ144WbYBXVLl?= =?utf-8?q?8hG6pH5aDlf5wuNt48kBSKcG87R4V6Dt3S/09Eg1nYd1++WOYQzSsxW/6PAA8wgvg?= =?utf-8?q?YQIX04GWpCK0I6JFsfKzYsCR1WGiQXunke8Hgka9QnrLFbiXHfOaWFLbtxrqAEL1e?= =?utf-8?q?ENlMxIK0QIXRLx0ISkfp0Rh8jCCk/2f0rD2aEGEtyoS8cdGG/exIR1D7yrhvR4+Ba?= =?utf-8?q?E2Ry3LXUgXlt89SsoxqBwmMHpBXDpiv2t29fslIAinDevdj1Kc0jCJm5BWMGosD57?= =?utf-8?q?Xbt64j2sH/POT7iPKZztHCsdi60YjK5dLojbEUrEarzYJgZ14+cyn/FijU/GwKOxB?= =?utf-8?q?E9+TuNDAn+TuFv/rjdxlKAwwXYnJnkDv9wi2Lsh5gtKt1Ki8DR7Cr+3yUvCjTaGoi?= =?utf-8?q?AwQwkV5lZJ9hbh58cv/M85IU+xWroYsKdD5RqmEZrpMz2UwjU+8aIPAuOgL3gJo9S?= =?utf-8?q?/+yGnSBKHRR+HbRGF+SkL6JmiLsLD8h+rIWN3uvNXEaALHWTGAUI6YY7s1UdrDeLf?= =?utf-8?q?xjBF15CY3PJcLj2oWFuUTcWGQd3DnnhjloFd74u1HY4JAgpdRt2uPiJqvlHjSNheI?= =?utf-8?q?sLNM/dAgnDlhXE9dMrzFHmyIVj/NuwMNK9cyEhFBjx2gHOa+o/XQz5dL/APpfQBRY?= =?utf-8?q?k9DFiVBgwNt0Ww7J0bqG5bvzYsWKDQrIvYJt5cqOi5DdVRCwIF7zbBwNViqX95kv2?= =?utf-8?q?u/P468IZ93V7feZ/XBnFwZL5fnk1k5edLoWXodmfWM5wphErn2MEvu/qlEfTArhm/?= =?utf-8?q?JaG8+CLzGVXWKszubwvoTRJLcXTbmgD9z0d0Kiovcz8cjOBxBfV1MhqPW6o/bLlwg?= =?utf-8?q?jbF0B0/guYrIpXqlAQKmQ+nj5RCveSJQu/SnZlj4PiFQnagFFCGgQyNuU08PeuIcv?= =?utf-8?q?dGuFyuFayuptCgExZ55RcdhBHLkXvif5hQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(7416014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?EYP4VlPVfzw/wm4gUhx0x9J/2jMD?= =?utf-8?q?RljWqcMNcY7G8RBheGbC4JDq7Symy702g1ol4hT9Gz+0a4s/85R1Cki1ACGCclSMJ?= =?ut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?q?rbY9BLydS3MzpOn1+SdT7KPGJpVqXh12IzhvfSYFNurgC5b823IXBxAtSPfOCGmZN?= =?utf-8?q?NeANri3XQ3AAT1FmJ2Fgk4YHUmmzOCiUeSDmviS73V+P4tXpYsfA26CVi1G6OBOPK?= =?utf-8?q?j96jIEh1UpoDbYPwEFxT+GTABr5jbPZuzoZJd9jwxbXAnrjMoqgpKqbU7vJyLjbWu?= =?utf-8?q?IFaR/n9jvCu/vby1aQCbqJ5vdmepqk8OZGW08BspVRteGcGJrJ+7mDnU/ImNJKsY5?= =?utf-8?q?kfZYwRZc1p8EKMgpBHfotWRNPptNB0nRZl/ykZvn8q19a0RyJp5Re86F2Ge5Nc/0c?= =?utf-8?q?kBNoCWD1LjP9BnyAUPUB0R2FnVOZMYIFCBJI+5K9RO+pT81573phwklwUjFErSwvP?= =?utf-8?q?qa3ULOLK8rbKzC8NFP4yHzUqg5nXj82FI2elzHx+hZXh6cJUA2tzZHySqJiuyYR7Z?= =?utf-8?q?X+wuRU5HhPEG/amWnQmWbJDkbMGZPoxaSu5AP+lMfuEK//p0v0DPSEyTltCs5uFhi?= =?utf-8?q?cyT9i660/XlxqgAE/NJt4vl8+D1aYyVKzs79Z/563qsTGaIV0+pZL9lTswXT0+0jw?= =?utf-8?q?SnqIWiDmkXO4?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2080e538-6677-4de1-c57d-08dca7cca16b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 08:27:30.3996 (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: BBEz7bNy8sbKL2aBbiklVt5FJ2/N7qelYU+CESif0gEcHZfM0vsD+KO+7pH3rVasYj0Jj4hsatzWScI6fLBzxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7904 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_012735_820174_384FB07B X-CRM114-Status: GOOD ( 11.23 ) 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> 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 |
remoteproc: imx_rproc: various patches for misc
|
expand
|
diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c index 48c48b53a3aa..9e99bb27c033 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -1087,6 +1087,8 @@ static int imx_rproc_probe(struct platform_device *pdev) return -ENOMEM; } + INIT_WORK(&priv->rproc_work, imx_rproc_vq_work); + ret = imx_rproc_xtr_mbox_init(rproc); if (ret) goto err_put_wkq; @@ -1105,8 +1107,6 @@ static int imx_rproc_probe(struct platform_device *pdev) if (ret) goto err_put_scu; - INIT_WORK(&priv->rproc_work, imx_rproc_vq_work); - if (rproc->state != RPROC_DETACHED) rproc->auto_boot = of_property_read_bool(np, "fsl,auto-boot");