From patchwork Fri Jul 12 08:34:54 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: 13731389 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 6B5C9C2BD09 for ; Fri, 12 Jul 2024 08:26:50 +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=kB+3xJaFvfwf/JManv1fdklR8ALp01O8x0/PpiIplJw=; b=Q1tY/s/gTIHJi5o63mXYoBT03L J+jv1Ft8AxDR/5DVaVyx5AruzCXwtzLuLS1CxgxtKw4AGmfBU/4njiJgGPoCmz+9qNKG/4sIXrQnc FxiXVh1BVo492r7uriOL9L36enE/k/pR27GcKeud52pcmDW0A1Z09TGLprgXygkfKweeJPYOIP9Y3 m/hb17HUEgHaL7lKO3Il5YsmoEZhG7dWFKtYFCEFNPcPCqcKwKSgMeX0KI7nZG2+ptULFJ6Ddt7FY Y3QyMGWdokY8zJTeLkdTNziixWXnrf4fAwVA4MUTDyo4dgUrm/0YFLEm7BQkBjXBN4wULiyGGXKU0 K8iC/YRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSBbz-0000000Gt4y-2THK; Fri, 12 Jul 2024 08:26:39 +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 1sSBbT-0000000Gsu1-0umb for linux-arm-kernel@lists.infradead.org; Fri, 12 Jul 2024 08:26:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Od5ETVQUG4l32j+DR62HuZk8TWbU1rOb7ZK0aX+qXIWk9GI0BPvC9RyzrsUoGeRBX14Qj2ctK8YYLE7FOAMC3qzhunh3CNPKKDNChgQmjvVcvPgC+SVTn4dWD7F9TnPrrP2UaCMck4hCwIKQvtUsuSNvDDI22DZe+KfvHz6ujmHA6IB9G3nIe33LGceYB0oJo9yitmO/mLbvcccrJNx5Dwuy4Mk/F62pE5g8/QN/OusgAd0sMiPMxgfLIijFytOLlWXDQOIvL3fFZKXPbFBcDE7IpcnBEjNJ6HvRDPqo1DzyOsj7wnG7nXNFjeVxlfMDIekBJLAISv3RkEGIc/lOow== 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=kB+3xJaFvfwf/JManv1fdklR8ALp01O8x0/PpiIplJw=; b=UU2QvAyqotHVzmMruSSnjH8VOVmzZsLNEwOGmDvMwdLbOr6O4vBcYM2nXN6FqE+Bh5NJDybvxPlgpC8l9xYDiFCbBo/wiCFTTBNwsczuqeb+OQ3vvnrKUZG6bI2CYCJaJcGea0nxJ21EJT/dM71ZOzU2xbt/Qfo4mVoilUz4G9wYteYw5XlCOjpLrHLj8JPaLh9VEt/c5ISgvi1oRwxxmcQUAmMhWaI7bDDysggTpaOy3FjAHU4zBADi2Sxr8YUghduQnzk3NP/YbuD89wDWp/gDSlUq2Q+DRGjfMKZxdL0O0dNf/UeCF35yWllWaGjtMsHCXOiH1itcIoTKn9hT7Q== 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=kB+3xJaFvfwf/JManv1fdklR8ALp01O8x0/PpiIplJw=; b=XKM9mks53fKc0LYHdkIDhaDMk0/gtWocWyTRlnyhUl5I+SyAfeiPGgIsx8guHwfnY8ZfARqr2NENO0Ysd+LfrjPiSdm4pwDo4mwsPBaQ7FbDFM/5ykzjqO+ku+n1v+f3BZSKrqv8CIbvzpjylRLw2R2e2JMByvh9d3nDpHHlCkY= 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:26:02 +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:26:01 +0000 From: "Peng Fan (OSS)" Date: Fri, 12 Jul 2024 16:34:54 +0800 Subject: [PATCH 1/6] remoteproc: imx_rproc: correct ddr alias for i.MX8M Message-Id: <20240712-imx_rproc-v1-1-7bcf6732d328@nxp.com> References: <20240712-imx_rproc-v1-0-7bcf6732d328@nxp.com> In-Reply-To: <20240712-imx_rproc-v1-0-7bcf6732d328@nxp.com> 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 X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1720773307; l=903; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=2+8kRplRmHc3aTFiCtafaWWSL4i4VNI7oxPsLD0O6o0=; b=wP3Z6hHrUJ9pUfcZAnblIThjkibnSqFon0qu5V8q4MmO/C6/3Yu9QAbSY71H8XFbIicLHLcLZ EeOaVM7mfATCSwh3Aogr//YU6BOvYckpriVsfxk7MRPsO0BfTgopLjI 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: 2e42fedb-8201-4e9b-5805-08dca24c43bf 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-Info: =?utf-8?q?pOxHT0XgnSkVYMJqy9U14ufk+l5u2bN?= =?utf-8?q?iGuTs/MWnOnoH1a8dVerN+P00TebDM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x1ECwyhvFOPJ34dQ+tWiAdN0hfIQAwhZhyWAQVzPDegkqV?= =?utf-8?q?lDAoY21qFl08WOvGZ47oeq4y+UI4n/GReA3qZFa14TVwROEeNjTpvAJukUIrziY/J?= =?utf-8?q?3Yps3i8R9Wu7+0wOO8dLypdd8K0/d9zVyh2+EPuiM/GwjtHlfSqPR0tIlhTT/MuPA?= =?utf-8?q?p36KxtsYmGrIZNMYyGOIXGtfj1mcPDGtclz8yIJqDrJ/DjXSWzj/dRopUjPyMQr1N?= =?utf-8?q?usmLyNjCpCv8fjVX/acVCTVrBfm5axHrG6sOa4ApA05wMoctlyeWz2w2Rl3EsDlSH?= =?utf-8?q?2ZJGzCCwvXnhIOZGu/ZSxpPGgNUKYy6elhnDBQGK3IupAMZCr5haMgoDBnrWRUjFg?= =?utf-8?q?ePDRhz0wSaFF+Gm2+yVNtRRt4Zbw4c7HkKL7FJKeyQoM5d8N+KAsH+y99KfdAnrKE?= =?utf-8?q?oXpTq3FPJOo6rBnZN6SnDNVyA+b1ueqc2Q=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)(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?y0Rc8XNOX7/SdyIYQ6khSplhahfz?= =?utf-8?q?LN5VcmEvj1oGb/b9W4e+5oXiCR/spY0IW7UI3tCK0MqLUcBq9mIMW+oec4K1Wdqpz?= =?utf-8?q?z10+OhwwXMGLSEEDVGGLZggD37T9nLheMkhPGhb6qQVitOesPPfdDGRdmXRlBaAAV?= =?utf-8?q?VpoO4xhgScZe0p2yZvyHOmha7xQlRFUz4xeB6hmgz/B1rxHs89dqlVvLmKmBIL9i7?= =?utf-8?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?q?VsFgUP199tqF/iaqX60dNTkfDZs2PKS0aV3iBG24P7+tkJV0EFwc6WRShrwBze/Ri?= =?utf-8?q?zgosxtPVCTIO5UhJoRGYIwj+lnOE8xYNFiluYPS3wUKk50wDdteQg5i2BUs6Jhc4N?= =?utf-8?q?xAxOuuWlp2NQgvXf0GN2HGJ0R3L0X29cyywXzfJkDX+Wzm+CpBmO9ccGopYxhOQPp?= =?utf-8?q?8ZFCzJ3JtF5AtaPtYJm4hCQPvc6rpTghbU1T0HWxyLYJNZgTVcQxNx0YmT1vmnLNV?= =?utf-8?q?zxU4lRUQl7V/3fUQdIPfKFw4KW9rK3SYzAbc5ttoa0au/xpJPm5tibi4ljndEaozc?= =?utf-8?q?WtzpDNZB2trPIVw7t3lybUhyGecGT9vzzxrjbi9lB7gxfBeou5xMWDgVyt8HTaLHB?= =?utf-8?q?aoBeYE4KRDrI3VasT86XEAbF67fLAqQYFE45L0mCRMOiLea0xesdWRg9zlh4k9K/l?= =?utf-8?q?gi37jhIMQ7hC?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e42fedb-8201-4e9b-5805-08dca24c43bf 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:26:01.8851 (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: yoyrIpgalJC9D/GqCmf0ssQbo8DQ1hWsIWVj6Vpy31JqbgG1W3PJ+2kvbzh1luGS9abmFYujF3PNGx30VpEkOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10865 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240712_012607_303680_0BEC0C6C X-CRM114-Status: GOOD ( 11.38 ) 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 From: Peng Fan The DDR Alias address should be 0x40000000 according to RM, so correct it. Fixes: 4ab8f9607aad ("remoteproc: imx_rproc: support i.MX8MQ/M") Reported-by: Terry Lv Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c index 144c8e9a642e..3c8b64db8823 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -210,7 +210,7 @@ static const struct imx_rproc_att imx_rproc_att_imx8mq[] = { /* QSPI Code - alias */ { 0x08000000, 0x08000000, 0x08000000, 0 }, /* DDR (Code) - alias */ - { 0x10000000, 0x80000000, 0x0FFE0000, 0 }, + { 0x10000000, 0x40000000, 0x0FFE0000, 0 }, /* TCML */ { 0x1FFE0000, 0x007E0000, 0x00020000, ATT_OWN | ATT_IOMEM}, /* TCMU */