Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18831827rwd; Wed, 28 Jun 2023 01:00:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4JlOtMoDR52X1je7u4JH9ZR2G/GLml2OV2Njal1A1CF5nlExPfhlW0n4zEV57w1CYA1DRT X-Received: by 2002:a17:907:3e27:b0:978:ab4a:2154 with SMTP id hp39-20020a1709073e2700b00978ab4a2154mr36668839ejc.1.1687939230767; Wed, 28 Jun 2023 01:00:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687939230; cv=pass; d=google.com; s=arc-20160816; b=BEAqrMpZ8kpO7Os/ICH2Q2oAXxc+A6TTdKuwZpH8Wb8bWTRWa477Oyja3w+M6ZpKt1 RbqIYqm5PwBCXd2ZYhP0j/WY4IiTVad3Sr7LdocO48VwTSodtSXHCCsiIPidL/Ceg+XN YU5qX8gc8zbhwMK5qP2iydxapUaK+zeH0kN31PGEXo8Z5vOnC/ampMMN+lfF6nWMFyV7 UvM4Ti25RVQQHg3NIi+mbdipXSDqRmch/Y7U4IkQ7TfqYLZ3sZGK4OPzEkMp9Feo210B 3Ja4ig9lq/zIw9Ie3I/mOt4C0gndnHS/A3uK/kuOglRm1JOOBmRlynKnPn6whZKMV5oP uIAw== 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:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=2+7s/nILWP6Zuygg10i3Yq+A9xqqtXEbHkPkUSIqA90=; fh=TtCX70QCVD1dvsxN4pC/JvXWx/Gy0M39VdLByNO18vw=; b=JQeGSkdLP4I58vzYrTHJayPirX1aX+C+8c2kWjCyIAgMwRrXwSz3rJgRvxLLe3dtlo T7hP7FZZOedA9KojOCcAt9NedzXerOJI4Nz2mLMIlYb+P5JF2gFg8tBVqMf9z6aO1NA9 g0fnKVn2MtBuHcX9KQGW7TRpw+D5/YDAmcPOG9m56QuthEyij7zjFDgXm7djmLH8iV0W wq4v4W3CSDF95H7KNemnVSp7BzLQzwr6f0hGz3YA8tI/7hWzeYalRjWpK96rlfRpwCbQ QEVW+0rJa7NaqDAZQw3UC9zgCFR1LBBiPFO1L+aq9GGGZZwyM0Mr94CA52TF0Tbw/Gpk DXdg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="XLa/pLI9"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20-20020a17090682d400b0098cee0f8cfesi5291518ejy.969.2023.06.28.01.00.05; Wed, 28 Jun 2023 01:00:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="XLa/pLI9"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231481AbjF1H5r (ORCPT + 99 others); Wed, 28 Jun 2023 03:57:47 -0400 Received: from mail-co1nam11on2088.outbound.protection.outlook.com ([40.107.220.88]:49505 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231485AbjF1Hzo (ORCPT ); Wed, 28 Jun 2023 03:55:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e1FTpoqS/Hx0zlTkTki9bVCzdE5AU4OXC7oLf3XNuPbIfnXNcYSytZXY9VMwW/OeHpi7losnnL9mADlF1D81JsuNUL+IhGGjvLR8lEOXqF5ti4pEuDk/lxbCP8QSNM2jNboicL/TCLFijnmtoQ11Lpx+4XfrFqeMpLPACe6lbUVeee2EKrvcrSXT3c8JmSsWZA1smnz30VEVR0PB/+V1TVo/A9rzC4DLxefCtzXc05rAr9kHIqYOT/koC1LjGbyqW/xI5PCpvv2HdWonq3gZmHsIM25tMDCbsXmCYikFJduZtdrlYikvxbAkpEsJx1HFyMIhT2GQ2TyKxjNhQcZc1w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2+7s/nILWP6Zuygg10i3Yq+A9xqqtXEbHkPkUSIqA90=; b=TEwwc0BaTSyPMcGhx7dcru0XDmhKcXXGumQYnIHe9vDrQZFqcus0AOSw7XwDeJh/HzQE7G5dPcATWs9iNUStZ+6LD0HAgrztLUKPh33pGoVSDk/+vUk7d1wAuxr7jxnju+YVo0VXjTJVn5crLQ6kKOapOGMp6iAn2SBZ/YsUawoE2nYzZ70omBE95bUxxWzgTQCzb7Kdh/088gfQmdZT/hvTTOgtpLZ9g2QfRnV2e3TTZzFz5K8aKtYy/+5gDZfoM/3+JtQrmGog5wI3wh46m/fnEeCRLkfoqDBPagW0i6eTDTiBGkoTj5NS6Il9lsa3Vvl9kns1Eo/jHinxX4GbFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+7s/nILWP6Zuygg10i3Yq+A9xqqtXEbHkPkUSIqA90=; b=XLa/pLI9tQVf+XDj8glhAHuEm0BuOjWth/H9npnv37TQflc99jhwvbcQylPawgaI5myW97KtXqHHTM6LsEvTH/yVrJ9L9sndAgmucGLCikEjAzZNozo+mve1PK5XIj+w6QwdECH3pnrD/b/WrpnCLBUcBuvFM2R8nMlsFqfsDjo= Received: from MW5PR12MB5598.namprd12.prod.outlook.com (2603:10b6:303:193::11) by DM8PR12MB5429.namprd12.prod.outlook.com (2603:10b6:8:29::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Wed, 28 Jun 2023 07:38:56 +0000 Received: from MW5PR12MB5598.namprd12.prod.outlook.com ([fe80::c77:1e5c:8fc2:e312]) by MW5PR12MB5598.namprd12.prod.outlook.com ([fe80::c77:1e5c:8fc2:e312%7]) with mapi id 15.20.6521.026; Wed, 28 Jun 2023 07:38:56 +0000 From: "Gaddam, Sarath Babu Naidu" To: Jakub Kicinski CC: "richardcochran@gmail.com" , "netdev@vger.kernel.org" , "simon.horman@corigine.com" , "andrew@lunn.ch" , "linux-kernel@vger.kernel.org" , "vincent.cheng.xh@renesas.com" , "Katakam, Harini" , "git (AMD-Xilinx)" Subject: RE: [PATCH V2] ptp: clockmatrix: Add Defer probe if firmware load fails Thread-Topic: [PATCH V2] ptp: clockmatrix: Add Defer probe if firmware load fails Thread-Index: AQHZnn7SnE0MZjPu20aK+BkJgO+ed6+MTF0AgBOcpnA= Date: Wed, 28 Jun 2023 07:38:56 +0000 Message-ID: References: <20230614051204.1614722-1-sarath.babu.naidu.gaddam@amd.com> <20230615130506.3efb333c@kernel.org> In-Reply-To: <20230615130506.3efb333c@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW5PR12MB5598:EE_|DM8PR12MB5429:EE_ x-ms-office365-filtering-correlation-id: 192f6874-78e6-4d12-13d8-08db77aaba9c x-ld-processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tYV6SsGQ50BtkNoE1c9jP0BrXX6yhbIe9+twCxJbIzAizx/g3lJ2l16+xR5LvFA0G7v29L2cqr5r/yTdGKOKZYtLoUneA+NndexdLPV11ajo5IACypZnd/FHOBqWYIDkFL3Sm6NHcqj0vu2m0SKLXsT/eWjxsCMrn4fwqY5sLQGVl/5LS6xQUEQm86zY/wCyBOOkpZC0YyB3twMVFq0PrEQz3OZum9h/78IfmA9ElFWynsNe078CP5r/scNBFC1cIoh4w3G6r5ZtPxutww2hxlm5D1k6aSqOJu9esbR6Tq0rwhlrzTxEZ1X8qxWcaXxVRUzfOdc26h/E2BczAWcwikpvtu/cPJk565VEshE/UrC/9UH+BhUaLkuSz76VTL0lTSYD92hyqxMX9WJixF6M67es6rm+Bh5Kg1ljUJOgi1+u9XRUiZY6MHvdA+JWOGcUeliB/BWyd5xH/0FG7SpC2tZv9KiySdcnGLxSMbcMThFiSEnI29ZMtfELHvp6DNlFyZDIy/4L+bdBtWXwQlcvx7vGFYch4AA7nUDnYTo4es5VvutOFW+31E+GMoax2iZZPjqF/UEZA1WzNnFAODZa0njTq6IFVC/3Lz7LjGwxUo96vR3nuxA+3XSVXnfsJh8G x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW5PR12MB5598.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(366004)(376002)(396003)(39860400002)(451199021)(33656002)(66556008)(66446008)(4326008)(316002)(76116006)(6916009)(66476007)(478600001)(38070700005)(64756008)(8936002)(66946007)(52536014)(8676002)(5660300002)(2906002)(54906003)(86362001)(55016003)(41300700001)(7696005)(6506007)(186003)(26005)(53546011)(71200400001)(9686003)(122000001)(38100700002)(83380400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BhMtpTYgKJnEGPPO3smcZqJBJbJadoJShirtIIMA/WONvKmRrxtvG4EGUPh/?= =?us-ascii?Q?a+E4SyAjfoAmiB/Mu6U/K4yam/gtlpXm7s3DaUyutLryfobVIM9WShXPO2lX?= =?us-ascii?Q?1pf72h+IvdLNcQY0EnBtZxZTQGYqZS6ObEY7URzBygsbYbDeRO65kcH7VGPY?= =?us-ascii?Q?vqAhLNpON5PxJkp9X/V5+00pcW4amvsgcVYf815C4MbutNcTvWf6srfcND9X?= =?us-ascii?Q?pK/1g6d+F92UWhrbOrEpNKM1pczZm6shDTkEDrBgt7y3RmyWEcn8msagLfJv?= =?us-ascii?Q?VOQ2bN9su1LsbtYuaePivGbKyP2F9ZOyb3QCU4R9d4xTkBwbauuaD6LBbTG5?= =?us-ascii?Q?VKDngNOzYXPgg0uAenhPF9aLUidcav1+H2UGQXZMSkN6mOKo2V9INNCeSTuM?= =?us-ascii?Q?VkUWVFKK1xoD511kz68ZsyGU7Ek9PWDlsbQbtpe36vfqm1wQP9NbB1mZCuY/?= =?us-ascii?Q?s2PLNBeaqPmWl04+E98QUW1zLQbM0dqVoH/5euLXRl0pBLqUUwPWeUIoaUem?= =?us-ascii?Q?qa7jB7mRwjIBE9hlEh2AqTeckbkKJVeufLUE66/ua06+EAQ8+nWnqHQhtN1G?= =?us-ascii?Q?BI+pppQpRoWbm8DD5gC9h7pD7bFDILEVt7R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lrMOXqrdMvzntSaUDaiLRFQvupVCVh4d3K8n/9niAaa4i?= =?us-ascii?Q?J4NI8oXiNZxolsaiwzI=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR12MB5598.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 192f6874-78e6-4d12-13d8-08db77aaba9c X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2023 07:38:56.1416 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wtBCJINkP0rTifT836bH+u0OPhA3P0aM8yiIRoEXc12yT59OZQXb84lyFhbbYTKJT0pLzkDlpnk/iRtjXlkqLA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5429 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Jakub Kicinski > Sent: Friday, June 16, 2023 1:35 AM > To: Gaddam, Sarath Babu Naidu > Cc: richardcochran@gmail.com; netdev@vger.kernel.org; > simon.horman@corigine.com; andrew@lunn.ch; linux- > kernel@vger.kernel.org; vincent.cheng.xh@renesas.com; Katakam, Harini > ; git (AMD-Xilinx) > Subject: Re: [PATCH V2] ptp: clockmatrix: Add Defer probe if firmware > load fails >=20 > On Wed, 14 Jun 2023 10:42:04 +0530 Sarath Babu Naidu Gaddam wrote: > > Clock matrix driver can be probed before the rootfs containing > > firmware/initialization .bin is available. The current driver throws a > > warning and proceeds to execute probe even when firmware is not > ready. > > Instead, defer probe and wait for the .bin file to be available. >=20 > The first-step fix should be to try to get the FW into initramfs. > For that driver should specify MODULE_FIRMWARE(), which I don't see > here. Thanks for the review. We will take MODULE_FIRMWARE as a separate patch. We want defer probe to go first. Thanks, Sarath