Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4022228pxv; Mon, 28 Jun 2021 19:42:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzToQK3mgHgIc8KZHXTOA8K4uteMvWySnGylJUDjaszSdDpvPsctYSmrpLclARDpTVPkDah X-Received: by 2002:aa7:d34f:: with SMTP id m15mr35845686edr.311.1624934565251; Mon, 28 Jun 2021 19:42:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624934565; cv=pass; d=google.com; s=arc-20160816; b=VmESkJvPhQPywYBV9/YKvz8c4R9/0rbv0/+Pd8zc9qyieB3czf1/JTMGZUFN3gkfML APArk/mT3Zy1+6Gs+2Zp+J4t5FtVxYz/wmDaip2YAkDCZvWGFoFDKclETuwbq8ghnZBE 53aMtGNVzELhdIjNtlEpFhnIguzQDxeWs0LecpSHMRYcn6zk0OESQFlmvRcnh1iyQKIh Mi6SvtjYf0meH02GRUc1Pa+5L7/m4DP/CSS5+VXkI2b2hyJK6f0ZtHQfniDTn7v0Oouh /3y5eyfEcVdRfN2+xRkNT5Sigev3OOkxzP9YP3xnaI7lL1d5fYqkxuOs17CNEkwwgadl 574A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=8dR+DZY0I1PgKRr95p1HkR14vPc3ZSIT+5m5oGnlks4=; b=o50eZro2ov21FAh7f5AqulzsiWjsttW4b0gX0GiEQCzktRaSfOHF4E9dtaEI8endJ+ Prka6envYH1kKDljlOslvluR56ONcwxwjy9Ww3gVvzmmDSi7Dq48jyqZqC3GzKPsIhix wL4ZAoIqFHkgIVYjO6QNbC5hxoF4jPe6UXZaIZ/uuv7057TT1/UGD04hBc8qT546APhu LjYGP23eYetBP6PlOy77uvHAOfBSY7Hk5rsSUf3ad9ZLOYtyWbu6eDyvtMPlHxwaAL55 rD5fbyTZbYm5t/6oQoJqsWOeA+nHvz3P6NbIN8tVQFmpbOFR4uRCRLV0NlDZbueBeP1m rOxg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ch4oCqhh; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si15207038edy.95.2021.06.28.19.42.22; Mon, 28 Jun 2021 19:42:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ch4oCqhh; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231848AbhF2CmA (ORCPT + 99 others); Mon, 28 Jun 2021 22:42:00 -0400 Received: from mail-vi1eur05on2067.outbound.protection.outlook.com ([40.107.21.67]:25089 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231682AbhF2Cl7 (ORCPT ); Mon, 28 Jun 2021 22:41:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UyZ4xXYXIXksNzoKt9hbUbEgeh2MkuaFft5LzVqiwSFItBZzMux+a4bRmI0BzeXfGbLWdO8eCjbLhP4yOnaG9mY5iystEKqbDjqe5BMh6l7aTWCqp4ZGTyVevkE6EYsJbNNntoWmQBiUoDPGQjdRRsLa0gPDtFtka1ONuzi1DyGW4rPH9U+/4s55Pd6xmMnI8tKyON5HErY1qgWETMoAwt+EqAvG2LjM/1JPVHuQZ8gdvOh9SAbavdSF2494WinQHcAdqKGq3xPMgPyr6Y/eRX9URKLmVrkLmUH/jJmpkmTes+73RCxHNGNHAmJu771M3JUItR40l8la1nofF1Snyw== 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-SenderADCheck; bh=8dR+DZY0I1PgKRr95p1HkR14vPc3ZSIT+5m5oGnlks4=; b=QN6YBPnsMKPyXGEBZul84xeim1mf4pLflRyEEm2XLM4wk48IycH1sbPuj4+tTuRrbLiAepqwRZWwqYjEW8eQDk1AG7gZZb5TeLCIpRdRn8XuX8s8hjuUHVwF9RhTdHF1arFmRXQx6dVfyy5gyUg3BWVCHLVhliH3U3qyQz9VlDeCkBY+h+w2ngOk/BmUX/1V2rXSKkuorfBWZDqhWM9oLhYjXi2buzpgQ96MnSBknG/t0uc4/5T0uxtImEn6ro/qf9SJ+7C556JYTzHTHUOiJoxLG83Ash4rPdeXcF+wqvbDbexn61pbNzAhp0XFVCbAMgxZuc+Ihdz9PyMtfWXnbA== 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=8dR+DZY0I1PgKRr95p1HkR14vPc3ZSIT+5m5oGnlks4=; b=ch4oCqhhqTfhXa4JhKIYUsQHDHRiSIZpSOcFr9q1v0NJB3XlA2TyFujtyrVayiNZcafCkGkytyXwAK8PIGeJMKRfewsIrQ206piXGLnglXerGL/NtzaC0GTfi0h3qfeoOJVoZDXr2ETftFLz/0gUAOTv/ucjYYnBlonr1Aiqo7c= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB5658.eurprd04.prod.outlook.com (2603:10a6:10:b2::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18; Tue, 29 Jun 2021 02:39:30 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4264.026; Tue, 29 Jun 2021 02:39:29 +0000 Subject: Re: [EXT] regression due to soc_device_match not handling defer (Was: [PATCH v4 4/4] soc: imx8m: change to use platform driver) To: Lucas Stach , Peng Fan , Dominique MARTINET , "Alice Guo (OSS)" Cc: Shawn Guo , Krzysztof Kozlowski , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <20201120101112.31819-4-alice.guo@nxp.com> From: "Peng Fan (OSS)" Message-ID: <3f6cffc5-7600-25c9-d5f0-5891355c402e@oss.nxp.com> Date: Tue, 29 Jun 2021 10:39:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR0601CA0004.apcprd06.prod.outlook.com (2603:1096:3::14) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.193.102.59] (119.31.174.71) by SG2PR0601CA0004.apcprd06.prod.outlook.com (2603:1096:3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18 via Frontend Transport; Tue, 29 Jun 2021 02:39:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cd93e85e-88e4-4d98-641c-08d93aa71e9e X-MS-TrafficTypeDiagnostic: DB8PR04MB5658: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZhRy9Jd89CjGv4rBNxQHxWS+7xgIbbdDtuXw1vzR6BDjW4T+VAY1W9PVuxvihO9KM9Ge3e83JaQCmp0f5oOsCcluBXAgyymLz+HPgHbB0dynw888X4ismhBWq+qdCNTjIrUuRLKPmtE1i0bUwIVCFR3Rz1T8j5O4iqdJKIPGmPnM3QRuabpG/v/A2rbNApgrF8QyNoZu60mHDQV9E7EgtGPvPzXYGcMEY5fk5UxMiKKl9KbtLv2IwhKAREP575KwDasYxvYBK1TMsbAvxwD7NJqYlAZhaXMk7N+BRZVRY6G+Pfrh+QVeRy4QqPc2FJjS8JphbWd15MXdXPMFwNcze1P4rpAQiOszXCgEHwAkg8R5fUdMKtyhjUK8Y/928imZutxMp7OFsw5CGDB6qmU0q7Q9gtpr4/rO/kW7Ek2bCDj/wevUc0/RSWse7vEi9t+qoZ5/3kjqiErU4XtWiKHcbbyrF3U97fIx34MUlthaymFqnw3LUYhc8edq0YW7dL+C2jXUefR06uO/B/iStAAsTo+murGUxGI90/E8KFHFM9TgOMIu1Pjj8s4wJqVnq19gj52aiQgGZzsXI31EnHqIwcn3QuCmGxsOAU6Gn64l5FVBv74lz15QRVA0izPvskAd40z9RcpP+zgghjZ83qiR/Ts8vvt68+zQvR09fAOTHcpoSzvDD3e94LbyioA4D+poIAEmo3nzAJQZh94w/IcpaplJPKOlmv/Z4R1KsmCqMasIaRESOXdGpMkaaX68YBz/K5y/lyvLaE+9SuvSP0hbFwNG3LvVucWafS4w//GiyfU= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB6PR0402MB2760.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(39860400002)(376002)(396003)(346002)(478600001)(66476007)(31686004)(31696002)(66556008)(4326008)(5660300002)(6636002)(66946007)(86362001)(2616005)(316002)(16576012)(2906002)(38100700002)(38350700002)(110136005)(54906003)(8936002)(53546011)(8676002)(186003)(16526019)(52116002)(6486002)(6666004)(26005)(956004)(32563001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VFI5d2M0MzNGamxOcXJaY2hhbjlDa3hqNHlITFgrZG1HazNTbUtIK1l5dHB6?= =?utf-8?B?TjR6c2xkUkx2MytwM1FVQmVuM0FkQlNVY0ZteUJ5NERQSWMzaUhHMVJHd0hN?= =?utf-8?B?TTFvTWRmbXdjWEY3ZmJxSjBkdFpCVE4yMG1JUjhmOVRzRzRIN01ZbGdleUJy?= =?utf-8?B?a0h5QzdPUGZIRDBIZzNwWVJEb2FQZGNXVkUvSC9BbVE4Ky9DZUR6NTVMM3BP?= =?utf-8?B?NFNOM1lRMjNmTmJ4K3N4cWJ2dXNoVThzdlFQc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ZOVVk4cSswWEZaVVBUYVU0bTlsejVKUm42R0E4THdO?= =?utf-8?B?UzByWHJuVUUyQXJsQWZUcmFTeWZoREZWaHJKUEplTWhneDVTeEFyME1CTEtu?= =?utf-8?B?d2J6QnhVMzdISFhKbi90dHNVTEQzcml3dk1qZGVYY1l6T1VRZkNKK0YrM3Fy?= =?utf-8?B?aE02UzZzbUFqSTlueDBMMDE3QUxid2RZcCtRMlJHL0dhMVZWMnRwaDFLcGdJ?= =?utf-8?B?WW9qekZYdkM4WS91dFVSWjZ6Y0RiNlg2bkNlWlptT1BZNXpIVkZVMGNuRjZH?= =?utf-8?B?MGs3YTlQTXBSQTZlWUIrTEFqTkVVbis2eFlGOVU1c0hCay9SbnI2ZFd5dUtQ?= =?utf-8?B?anhpdHorbGx1NmVLaHlib0dRcE53YWkxK3l1ZC92Zy9mbGpGYzNyNnYvVURk?= =?utf-8?B?MnNSSVU0VVI0RFdrYjZZTTdyTXNkV3lNa05HV0xIcEZGd0VobUUveFhralRH?= =?utf-8?B?RmR5b1lsTzRCaXl0WWZVc2pmSVRTRlN0allERUNNSkZzYUxzSE5VTXVRMnUw?= =?utf-8?B?U0diS0FQVk0xckloS2tad0QrWllUNGNGalUwaWZVbGhGU0FOTyt0clZGUG9W?= =?utf-8?Q?PV5iQTrpam+gbwdxB/v+yshD0LwEVCJvyIseazh?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd93e85e-88e4-4d98-641c-08d93aa71e9e X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 02:39:29.8751 (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: UqZFT8l/menmGO1mm3qxegrwCtbamnCAl5oXgZht3wXNAQByRsIu3LC4DrWOBEpyqohFrqqQSg5axqEwhYRb0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5658 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lucas, On 2021/6/24 18:36, Lucas Stach wrote: > Hi all, > > Am Donnerstag, dem 15.04.2021 um 01:33 +0000 schrieb Peng Fan: >>> (Was: [PATCH v4 4/4] soc: imx8m: change to use platform driver) >>> >>> Alice Guo (OSS) wrote on Tue, Mar 30, 2021 at 02:41:23AM +0000: >>>> Thanks for reporting this issue, I'll check and add a fix to handle defer probe. >>> >>> I haven't seen any follow up on this, have you had a chance to take a look? >> >> We are trying to find a proper solution for this. >> >> The proper method might be make soc_device_match return probe defer, >> and take early soc attr into consideration, but I am not sure this would win >> maintainer's vote. >> >>> If this won't make it for 5.12 (in a couple of week probably?) would it make >>> sense to revert 7d981405d0fd ("soc: imx8m: change to use platform >>> driver") for now? >> >> Please no. We are targeting android GKI, make driver as modules. >> And reverting to original method will also break kexec. >> >> I am on IRC #linux-imx, we could take more if you would like to. > > It seems this stalled. This regression totally breaks the kernel boot > on all i.MX8M devices including the CAAM. 5.13 is about to be released, > as the second upstream kernel release after 5.12 without a fix for this > issue. What's the plan here? > > If there is no good solution small enough to be ported to the stable > kernels in sight, I think the only sensible option here is to revert > this change. I not have time to touch this, maybe you could submit a revert for this. Thanks, Peng. > > Regards, > Lucas >