From patchwork Fri Jul 19 08:36:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13736988 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011045.outbound.protection.outlook.com [52.101.70.45]) (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 417166F2F1 for ; Fri, 19 Jul 2024 08:27:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721377644; cv=fail; b=ANx/J5Fmb8HbsEAjQozmCZmjxMCK/IjL+3F7d157zzLCJDpP4mWwiNgvt2nX3oPjKtpM5wBq+5uJfO8jDjZRrumrCNmost2+FvGCjmjuuzJjq9wmvLaPGX33O8LfBV1YAX00/zIFcF5dGKqDNP7CZsW/4ZdfIXw7EPR66UUWAhM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721377644; c=relaxed/simple; bh=dVK3fvGuX5nK99e+OKbLute9nqlUuvlfHp7mS0PGmIM=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=s2zjMYVKxB9J5ycW/EaPyGJnMBJAQ445yCMxHJF5OrADM1hRlygX3pYDzojZcgc1VkoThmE0+Eh4YhXDBUtU+todAQ87h/yyfysEyjRobxKVzjzVOZDVNRA65+wo0tzq2mhpVejwUYBljo7X6UeXXlWZsdHK9RdiKA05w8q6rEY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=SbeGHXgn; arc=fail smtp.client-ip=52.101.70.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="SbeGHXgn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=c3/gk7p/OitmDIj0lPRQ0HemZBYeE+0XE0bInO8L4Lv2Dtg9hPYfYtQB/6KP9QRxEOgdF8ENnxyU/9XsU1VeGOofX8AIaZOrNW+DOE45dFruOgEPwwDPGWNuygnq8BSh/yIXCcn32U3blz5D9aAM6/p3vdfsWmFE7WL3NE++YP9l9bG1yHRTn27HwIoZBdD0isveHAvuzMZoJWQOJ90kYwokIsLPCDUXSWR2GlP5eVdTAZRvLQSOLWEQVUyB5sf10EulIDG/6i+X/Watl3spfRFmDyO5W5eeXzogxOw8aYVeyCcblVhbUjGLMDLeH3+jP1+BsBwduPnWXQE8kbddRQ== 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=gBQoesDgGB23iJGurQAR8i0YMmxObfc9IgbKCpkb6hc=; b=dZM2DroFoDI3FiBDU47T3uvgD/OXiFaiAAdhC/t74cL619WHiKJyFBTem36578pyPzEPRc9wxsqKV0556xrz/tGl0vEzP/mQuaM+bBu2Q1yZpsOPT9lUU8k4I5aGdl40GtMlhKHaUczBQc2okaslS+8CPZH5989Ekd7LMLxz176OuBPyQnCAeVVVCDrvKh1FWYzLOF7hdPHWmUX+C3ZiSTfTzx+ffkElxIvUpi3ptOD1/jAo1FNN/Qid0ybJ9lZYZU5L4CiNyi7ZkBINtSyGLhNVkzZ8TXT0cJyFARMcS6dNxSTrJV/+fE6QcHUx40XD7hXy35ItJMZSaWUQYc52IQ== 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=gBQoesDgGB23iJGurQAR8i0YMmxObfc9IgbKCpkb6hc=; b=SbeGHXgnaGl17osd5a93ADWLV8ISd/hdPMhY74cfX804+ngL+agvO2MjCICAcW2jkLSl0sY0sgceTvrDrVhfNl7gRQagZ0jFAVuV7aRU3ZXueuqUwdVLOAfA3UwcDV/Ol2ioRKA+1xtA+07fquFKDKnShn5vUXUWAiP9iloXifg= 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 GVXPR04MB10993.eurprd04.prod.outlook.com (2603:10a6:150:226::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.31; Fri, 19 Jul 2024 08:27:18 +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:18 +0000 From: "Peng Fan (OSS)" Subject: [PATCH v2 0/4] remoteproc: imx_rproc: various patches for misc Date: Fri, 19 Jul 2024 16:36:10 +0800 Message-Id: <20240719-imx_rproc-v2-0-10d0268c7eb1@nxp.com> X-B4-Tracking: v=1; b=H4sIAHolmmYC/23MQQ7CIBCF4as0sxYDg0jjynuYxrQU7CwKBAypa bi72LXL/+Xl2yHbRDbDrdsh2UKZgm+Bpw7MMvqXZTS3BuR44Vogo3V7ppiCYaicHCetpFE9tH9 M1tF2WI+h9UL5HdLnoIv4rf+UIhhnejLuqiXOEvu73+LZhBWGWusX5MM1m6AAAAA= To: Bjorn Andersson , Mathieu Poirier , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Daniel Baluta , Iuliana Prodan , Marek Vasut Cc: linux-remoteproc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Terry Lv X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721378185; l=1334; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=dVK3fvGuX5nK99e+OKbLute9nqlUuvlfHp7mS0PGmIM=; b=ZCKaH7u3y2wUu6OfOZg1mMFSjOmMUq0g3zuHQ7qzgIQqPHMaXlIsy13iWnVqPc4OJVnltEOBd vqqMeMZlESVB2FGZ86N9vObGccS0aob17r8q+UFefT3MejiWtve+1gL 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) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|GVXPR04MB10993:EE_ X-MS-Office365-Filtering-Correlation-Id: b588fb0e-a922-4727-a130-08dca7cc9a0d 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|7416014|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?fBSCD0ql4DJS5HT/eDKjS4Ys9QOQZuT?= =?utf-8?q?YEvovZ31XWcxp4ToitdqnQoAY30/Ct3czrf0/okUXn575c8KEzanVkovRooCJmsxJ?= =?utf-8?q?XscDgPF6235JAuvNBM1Z1N5zHcW6waYTp77kCoJ/GTyNNST3ftv/qGNJPRfsJklrv?= =?utf-8?q?OwKCmzl3+9xlKmIAScabQMggrHMqHhKvGQm2YsE9A+Q+Pw5dxLSDvgdU3JJxS3j+z?= =?utf-8?q?jq3VfBe3TKq3azB9xDuloaRlvicD/3SWjj7zAguA1LtTjrF4PmTT5EpZW7E7UGwsW?= =?utf-8?q?DDkMrt3K1WDsBargiVMwlXJ0QwmiSSSd16FZGEQUbvCESDKZ5oCMszMK9egCnizJe?= =?utf-8?q?7/7ebL5BCvYsxVqlLWtcDNGmmIGj24ICbwBpDzxS49sh+ZVL0laPM0/hO+jGXqOdz?= =?utf-8?q?Vu7gGuhHjzNmfA3RyngX4gDwWkO0ka4YtapwT5sb22arGKmy19LJ4PoPogX6yyK/3?= =?utf-8?q?7yWjnU3QYbzvffohdBix3BbHbUO4XEi8HWxybI2otTxTVbuZbKP0QG5G5reUWuH6o?= =?utf-8?q?DSL2anYbSAPZ0m/RQauqVUXlWi/qg3pdvdhNHQBSDVc6tKQ1AXvy8/eF2rMy8GVdS?= =?utf-8?q?9ClMezsMf2G8IFEK2tVOZKiI0xn6PmEvQz+9NCYFFCqU0CATEC5tb9yP0oZsyuhFA?= =?utf-8?q?3YMT8RB/E3wQEauS7CacF9FsvFpuJuO48VwQcWF9DgL0v0c1wdM7XD+oXv1rpW9+O?= =?utf-8?q?Q1igjeGdLEsQ2zr5Ypcq1ZXIRjDV2eIqkuUK/7uaN51JQnK6LTCa3DZLitHtBYGvC?= =?utf-8?q?g3pSkqflts688IsyriMxsMcYNSgaH+K25u+1wwthNGKv/LYWiT3wRKvc4Vk1bhXbZ?= =?utf-8?q?ptlaGo3B24rt4v9eHpY1cOxT4ugGCjK0cRQZWBvwpkHYDTZec9xaxZrnQ9heu1+EG?= =?utf-8?q?/3HZJdLsKh20fCrv/SOIbWrjMj3w9z0EjuKMi8vokTTOmzt+Yu80kc2AnMuzkUREi?= =?utf-8?q?4Ej427cldfyIzw4aRk/EyH2VPJlIqQDyyWgQesAuM5w15cwehFAHVnDAPJ1uFS3+F?= =?utf-8?q?CLxE+gcImQjRnCsz0vsqyWD1TMu7QE0+ThAVri87n0IOvSYWI4D/ICAeupLhjE7GC?= =?utf-8?q?d1X8oyULqe5nRcNGNYvxmQrSarplqu4EhS3KJ6Mu1XG2YJfCGb92fpEqHUWCAvN0S?= =?utf-8?q?CHgtaa0bQV+wBjw43rdlqPVABlTpnnMmY5JVjYzZ2acljz32nwRM1Nvi5rYH6fvhD?= =?utf-8?q?94lWeR519YcK8j9+laMvCUK6ag0+vpSxgV1D+6S4tsCi9q22Fm5y/PpXBwyV8/2ry?= =?utf-8?q?x9BGh6EaE6OkAnkMnbIuKBrjRxdkHe4yFO/EB7WZoMPLqIH5pySw4pE0=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)(7416014)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?qyTOOvfuXz3M4sfTHPBZDkYNJiG0?= =?utf-8?q?w9KA3LuPkNuizYvef7/RYuH/cybRfse9jegkL9kraUVPS3A4lBLeLv6Qxde3tbodU?= =?utf-8?q?5Xo4OoG0Wa0J3lZGmKMjCeU3ezoy2UOgLnFbaYLKn+Me7nLLjpWwjhbn0ho3gpSuN?= =?utf-8?q?OppP3x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BkRQ7xjq50ScXOZX39wx3FP6VhTquC3PVPmP7v7osqD8xOp7XDs9RrpoStw?= =?utf-8?q?YWQLdb3Q3fcW7VS64Y2GFma33FoftUqGQVPpJ5+Jw9RcKTXesL+voPsQkoUloqpJB?= =?utf-8?q?YYfCmGJVL3JKe8EeW24ODm59uDCUqRU1WnUPEs6V51rAVB1rzSVSNQkCO1YCEhVuJ?= =?utf-8?q?rb+xdTvOs2SrEMNy3Qyku1lFGjNhOP8amcmyaEd3vF9Bxma4fO3uqk/f/NCYtwuqV?= =?utf-8?q?wSslLaWmMIvOyYaMr4RPBkm8ay9hYFs7KRDCVbARoGmJ0MMZSReYVurndrv1TZO0f?= =?utf-8?q?sMzPHyIg66XmO0VjgPybFU9U35UR/AEavTaca3fejHbv3TZO6KrhfaHfuAnNFsbwo?= =?utf-8?q?vqAHFknyKZzCRMI4Y5xLHnYv/UyI0nGplceMat95Y+xYeu+et4Lx/h1me+vmT0ABy?= =?utf-8?q?2ZSD0ES7Dnvu8UX67hFCV0te3mvJAX8Z0RR+XRaz91qknvqF0bZd1IY1ZXy5rUxiw?= =?utf-8?q?Hs/dY17NEVpq?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b588fb0e-a922-4727-a130-08dca7cc9a0d 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:18.2676 (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: KUlhGt+54WD97bybji3+pG1ySZmY13GKBVcwAwWuhQb434ePtJzLkTwxia0ErM21Ro9ls3m7pedLVEzoAol+ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10993 This patchset is to upstream a few patches that in NXP downstream for quite sometime. For patches directly cherry-picked from NXP downstream, I keep the R-b tags. Patch 1 is a minor fix to DDR alias. Patch 2 was sent out before, https://patchwork.kernel.org/project/linux-remoteproc/patch/20220111033333.403448-1-peng.fan@oss.nxp.com/#25144792 this is just a resend Patch 3 is to avoid mu interrupt trigger earlier. Patch 4 is merge small area to support elf that has large section Signed-off-by: Peng Fan Reviewed-by: Daniel Baluta --- Changes in v2: - Add R-b for patch 1,2,4 - Add Fixes tag for patch 3 - Drop downstream R-b tag - Drop patch 5,6 which will be in a new patchset for 7ULP - Link to v1: https://lore.kernel.org/r/20240712-imx_rproc-v1-0-7bcf6732d328@nxp.com --- Peng Fan (4): remoteproc: imx_rproc: correct ddr alias for i.MX8M remoteproc: imx_rproc: use imx specific hook for find_loaded_rsc_table remoteproc: imx_rproc: initialize workqueue earlier remoteproc: imx_rproc: merge TCML/U drivers/remoteproc/imx_rproc.c | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) --- base-commit: f477dd6eede3ecedc8963478571d99ec3bf3f762 change-id: 20240712-imx_rproc-25f3ab753c58 Best regards,