From patchwork Fri Jul 12 08:34:53 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: 13731388 Return-Path: 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 AFB01C2BD09 for ; Fri, 12 Jul 2024 08:26:35 +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: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=jlbFHm8J2dCkiMO5gfQe3ixgb4wzY3HBWNB2MgzF8ug=; b=Ugz8tLz+Ryi+6lksY9qECZLCjm 0iwYps5SPgXeMC3uaqZSU8JWVUFqKQjahw3N0QErKhQRRgc5zDZW2PpJfBK3bGzCS50xDniHQBQon JO1VD1ynPDABejqNv5M+f3mfU1pczs2eKhVeJ881h6ezFcjUv4k3vT+1+V9JPPMXLBJoGepV89dDX rMqXQ6XhMukaGGmaHAls1tOygTe3KHEGUicmAayvOT1lj1wDBgg9en9111QMSMNbiFs7nZ25k9EUS DCcmtFG3Dg7i/TDhL520NDNLZQWdR1c9TnoR8lGF65K1Zagpdrfi2Pf+b22N48kQ4SzIDJD9NO/oK 79ao4EIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSBbj-0000000Gt0Q-48xK; Fri, 12 Jul 2024 08:26:23 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSBbQ-0000000Gsu1-2pu4 for linux-arm-kernel@lists.infradead.org; Fri, 12 Jul 2024 08:26:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XPngex7vt9yA9/nf8Z1CVQbOcfv9KCuGZtbpyY2/iGDvoHowf+ItRpCyBbC4hOC+DC7B5VVpB60hStPAlho7Ewx4mW7HNgKtgVZkBBYHyAD5lOrmgtuXQ0gdesrfACO3aX6lVIqC65YYTU5KeOrhKKf8Ie+QG3TSw6wckcI7y/buF5lkY/ALu8h5CBU1U0QGxbFwrQvC03hYEmyqGPuNx6qV9r2JCcTQFu/kY8IaMN+SY9UaRZSzXqZnojRAjZIqES4m4ZvL8zLHg4YJ2T4j1GKqBC8fN6At3pazOO/bCv2mXdguDCL3OrE5UQB773kvXK3zdTsBPiFOw9yB6OHipQ== 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=jlbFHm8J2dCkiMO5gfQe3ixgb4wzY3HBWNB2MgzF8ug=; b=pO3enY1FLeDF9Nu5rPcBSPcvMPlCzX9VX1nN9tK9yx36F9INhhO8SoWy8A8AWGFB7v2bUEprjRjGw0BUtgJkdq9EzKm634dZMYlg9M1G4Ptld+3wPsWT+d/+mgJDxWWTUAv8H7PPg0Lmn8cG9xdYOVUvtZ33MPUHZ8xL+r/GkbQiM9zmPb9342uNmbZOiaIruF25OwNQsOZjJh9ufmM6z60hCFS8CtEc91jTE6OCuLkO1iWJXbqY4u49Ma+yjEqwRX2V8MY1ieprzA+eKt5umF/J5CxBf1CfbsSaiPTM4T94PdICTEWrZYdUHlLE1SxlxvlYfB9nyrEFF6h3PPIgTA== 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=jlbFHm8J2dCkiMO5gfQe3ixgb4wzY3HBWNB2MgzF8ug=; b=CL8tTdVB71AkFx/iA6duP+TaBle9HlR3eM5CNhZhMZVhTuGbl0XzX2b59wIfQ/E13Vp9PiPaKHmY69b5DeLvQc8nUAc1LYE9c27N6zpXhaovSiMVQ72NCjijc+XVj+UPEePY5va2TlIz0kNcyVND4WUmkVEXzXUk8VjaWVjuqu0= 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 PA1PR04MB10865.eurprd04.prod.outlook.com (2603:10a6:102:48a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.20; Fri, 12 Jul 2024 08:25:58 +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, 12 Jul 2024 08:25:58 +0000 From: "Peng Fan (OSS)" Subject: [PATCH 0/6] remoteproc: imx_rproc: various patches for misc Date: Fri, 12 Jul 2024 16:34:53 +0800 Message-Id: <20240712-imx_rproc-v1-0-7bcf6732d328@nxp.com> X-B4-Tracking: v=1; b=H4sIAK7qkGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDc0Mj3czciviigqL8ZF0j0zTjxCRzU+NkUwsloPqCotS0zAqwWdGxtbU ApvoZO1sAAAA= To: Bjorn Andersson , Mathieu Poirier , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Richard Zhu 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 , Jacky Bai X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1720773307; l=1329; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=Il+wxcOEKJGwoUkNcp3B/7VGpHjvfy/O6b7GgproFUA=; b=4pL6mmmoeOYK96KbSf/Tys7D6+Don473+tWD7tOM939t+ggQBdB5zGSAbQj2dWZMdwCGi7pDb i08tBhBfCqhDYIoc0+MWOYTQN2tXfTNn9JtCDjnrX5Lp7/atCbksHR6 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0013.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::12) 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_|PA1PR04MB10865:EE_ X-MS-Office365-Filtering-Correlation-Id: 43e8b56b-ed36-4575-8de4-08dca24c414b 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|7416014|1800799024|52116014|376014|38350700014; X-Microsoft-Antispam-Message-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4dBFiCQn5/N2P/cpSK1ZACVMRLMYjRRtZvR4KZt+gt/p/?= =?utf-8?q?wLKr/8CACCqOaY596cdeIbz4Z0zzpexXMhIMoK89haJa6dZQOzw1zLs8gDBYv+Rmf?= =?utf-8?q?5j+seEaWfXBmdlZ/DB1U994NqHF4iMWbAsycBoehcBLolg5qaTJuO2GrJN32/HK2e?= =?utf-8?q?XkdCQQLvWu2aA+uVT9noitGgL7w/paIJ0FcER8L+8Iiam3FF4TLVGu/h9hIQlLnxS?= =?utf-8?q?zZOClW83H/pOZ2yBOY01nU8f9XKmNs2xbiB6Td9x0PnZL5KbHN7fWlg/Et5PcHRGL?= =?utf-8?q?TVuzeTAtbXyLMy+bp/3bylnnGqlNFLidMzmeCCN3Z6nxTgqNuUyDvNzXguZb/aMol?= =?utf-8?q?cu0ATa1spFJk5/PI093meR97ERU9nzm2fJFy+7E/6ZUuR8vMcQi4SVq7Xy8ZD5205?= =?utf-8?q?HlwdHjEHAWtTjRULKL78nHbdM2eyM3f5htDzMUcqeVbe+JGEDgcDCdb0=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)(7416014)(1800799024)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?IwE+yVDVgGFPw597Q/k/j3dLAVPi?= =?utf-8?q?en1cpl5GqmX0zDohSDbLLZYsMvUCpjUqU+t0T8RmXlgPK7SBIQkmaHEhDw1U5cb6h?= =?utf-8?q?jleHooTgCB93CbXZdZhg4ahFiu1XofaDxWEhmrLrg/xlhFiEKBZGp/2z5tR6s67X/?= =?utf-8?q?fXDlEqsqqBWdT/mpK3DgAxk6V+Pw33NSkt9rlrdhetm0CKYAVI4erDHZR9tbR9Bqm?=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ZCh99WnT2Lnyv51NUV6tpwuQfQd5mTGnuaKoj8ba0vUIjAMLZ27P7bkkhOKakzb?= =?utf-8?q?wVZ656zHIdGqxwY2dQtSpMVB3L47q2sjN6Kc/eXg1GqKV5c5gAT7u6tTwMaL9B4di?= =?utf-8?q?4HPu5iRUQwQxHukwFwqTNGBQpuVqjV+cU4urEgqcPXtp+CWCRsOjNl+A7W1J19vue?= =?utf-8?q?nahS5RxBNlGiBOob3c0t9KjUS8BFUjxQZXD+WGl7sQE5WoFukofzJfd+6+hhi4LKf?= =?utf-8?q?VjSk3WqwhvgqTSKnqDFFdWENGbOoiT8huNpWGXj9L4aknCqrKvPfb+WWwoAo9/rvb?= =?utf-8?q?G1uznbOInmNgIvGMs1qetm3EFai0SVJuhl1noQvoqnFZeXOb8LwRalPtgXZSxfYRa?= =?utf-8?q?mc2kAEw0AIaAig6MVuoG0JkySpczO1UGh0Rm0ZXbScNkpx9oZT6EqKMiqK4RtA5d5?= =?utf-8?q?Ddeaobzwraog?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 43e8b56b-ed36-4575-8de4-08dca24c414b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2024 08:25:57.9234 (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: nuLQLI7t4fSKF4rW6zO7mAXoyh4I1CzCXZmKxBy7zrBEQYPlhJmX3ETv/OYILY6wiPtUINe029vo5BHGgGlyaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240712_012604_763108_76EAE400 X-CRM114-Status: UNSURE ( 7.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Patch 5 and Patch 6 is i.MX7ULP requires a message before linux reboot/poweroff, so need use non block mu to send message. Signed-off-by: Peng Fan --- Peng Fan (6): 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 remoteproc: imx_rproc: allow tx_block to be set remoteproc: imx_rproc: handle system off for i.MX7ULP drivers/remoteproc/imx_rproc.c | 85 +++++++++++++++++++++++++++++++----------- 1 file changed, 63 insertions(+), 22 deletions(-) --- base-commit: f477dd6eede3ecedc8963478571d99ec3bf3f762 change-id: 20240712-imx_rproc-25f3ab753c58 Best regards,