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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EA72C433F5 for ; Mon, 13 Dec 2021 04:40:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231759AbhLMEkF (ORCPT ); Sun, 12 Dec 2021 23:40:05 -0500 Received: from mail-eopbgr130057.outbound.protection.outlook.com ([40.107.13.57]:37979 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231736AbhLMEkD (ORCPT ); Sun, 12 Dec 2021 23:40:03 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ox3N0QMCaMtyMqjndirqYlvjNfFLkcpbK4HgXBrpH3NqglXDWVBmOUiShE1W4l8mQuVn2ROJiDsAA50ExVf+GoGHm/kXGoa6MyBKVGIO6QFGabhbtz2Zdfvtss+XIxra2bULK8vuqyjSnfDy6c7vjCVdGa/tADG7Ie53vZeRx0J2vi1r42JncUcgQuhNcfJXLvI/m6yHySWDkPkg3+46wFmKpUflnQkoxx4s6CeYfkfmoRAMxNW8i49jd23gm9Bz6/1Cx17TMc2MlF+2BKS7+Vw8Yn7LF0LFoT9bCOGoxuRxIB5eHB1+u66aPk7yg4wSyquVgR5iZlPDBpVWQSpVmQ== 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=ooYOiUPQHd/HUMtUwOrlrrizw7yzKjQqr4xk5LbtQOE=; b=lcauAB8oTWhfsszC4D6/1P9Oh8Rhj0JTiClVbv+95Yv1fzoZYMNZ8pmlminYaF7ThGhxSSRK4IAxz8rHCNhXjM0ex+YAwLI1Nu0vRMlcoBMxnZXaU+rnQfkgG4zwob8Cw+8Pj4KpKEpTaL0LhpvDjwCym5SUOKxuJ0PpTldLHqSAaCBkhBCgbo545WA04yefatlBKsDr5W2TFqjuQa/lkzIAxG+LzliT16ZafDx3lY6D1l1w8bOuOf+weqF98gCBKSa/3uWTUX2WLn6y6+5yDBOe0aW4C4opjgs0ri5zK89CRWvSjfwyAHD48m0yut3F3scWFMTaNU860Ggrro2cQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ooYOiUPQHd/HUMtUwOrlrrizw7yzKjQqr4xk5LbtQOE=; b=lh1+Bc/WNscSNrJCx6V01L0RYB9MW1iwIF4SqBFkn6W0cGIvUDYDrEI6Wb4yQ70EGt+8b36d8avLg8N2bw9ww5BreTFMmtohdb9jQV6L3msrkreZndu0FQoC/iUkhQEENleJxBHX6AFVdPIl6sLSHzGG8pKnlcGYmQNDqNWDsoY= Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBBPR04MB7705.eurprd04.prod.outlook.com (2603:10a6:10:209::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.16; Mon, 13 Dec 2021 04:40:00 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::c005:8cdc:9d35:4079]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::c005:8cdc:9d35:4079%5]) with mapi id 15.20.4778.017; Mon, 13 Dec 2021 04:40:00 +0000 From: Joakim Zhang To: Francesco Dolcini , "philippe.schenker@toradex.com" , "andrew@lunn.ch" CC: "davem@davemloft.net" , "festevam@gmail.com" , "kuba@kernel.org" , "linux-kernel@vger.kernel.org" , "linux@armlinux.org.uk" , "netdev@vger.kernel.org" Subject: RE: [PATCH net-next] net: phy: perform a PHY reset on resume Thread-Topic: [PATCH net-next] net: phy: perform a PHY reset on resume Thread-Index: AQHX7o9UVCTxfzxrGEuJcbM+JSMkN6wv2JcQ Date: Mon, 13 Dec 2021 04:40:00 +0000 Message-ID: References: <7a4830b495e5e819a2b2b39dd01785aa3eba4ce7.camel@toradex.com> <20211211130146.357794-1-francesco.dolcini@toradex.com> In-Reply-To: <20211211130146.357794-1-francesco.dolcini@toradex.com> 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=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0bdc3c22-ff12-4eac-a414-08d9bdf29f8d x-ms-traffictypediagnostic: DBBPR04MB7705:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iNQSBEqSzUNHQi6t7vtJmizNICbOudB9guLpB+T/JgYCB+3Uzo6Jp6zQhLiLVTU9Ce7PH3GnXmeNh+gAeJKZ+xowtAo+x5SGQ0ijlkNqbRliaIEb4NWj3kbRMm3cMWXImVVc1h/cUC0oZrH7OUJb3BmYUG1gLpkvjdRxinO1hN1YRg8t9gnMo6vLI5mLomDwHVrvNuFjhDLpaW2QiR0Fc6esqsEj9Omv12J3MkaHMGK2/SwbijXjVA+qsExN2dNNFo8rI4Vz8rvv6NslDMAErL7IfvjxRjfzBmXcE6H/Dgw0/VY+un3u7vyu/lDybZ/2rTZ92AToRSzl8DlhMaOnt3XIzQjP+j6zGnihDa+TNpmonq2hAY2UbgZ0BaxhfWiWbMZEO4MtL03nWDmlvGPiws3apkte9P2zBNUawvo80btn85v2OPaC3+NdL38zaFDO/NxEstloX2SQO26fbZVZQvmoagAoMn1etOMZ0RQOjjD0CqmMGx9+Yhz/TOECDbh79BwDF+ApXZHAblCNxdtNr36Eq2xmOyqFCR9tcx/ilXWWINfNk6wiZ0GuNTg6AC/PpX4WoQjUAmF55rC2cEyp1RY0LxIhPuQ3aBCFNa5Wt3QzUhwro34jb0ueGzJUHDLciToEv81L8fjfhgS9mfrNtmhZYzPiF18ULLn/Gy+oEaCs9P6JXd51ktTGet7Ma4nQOOq5MOG3J7hEhahviKyR6g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB6795.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(86362001)(5660300002)(4326008)(38100700002)(54906003)(110136005)(316002)(38070700005)(33656002)(122000001)(8936002)(2906002)(66556008)(7696005)(966005)(45080400002)(186003)(9686003)(26005)(8676002)(53546011)(64756008)(71200400001)(66446008)(6506007)(66476007)(76116006)(66946007)(52536014)(83380400001)(55016003)(508600001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?NHhjMW91MFFoUHZhWWVkNHJtamRCQ2NCZWFzYlZHSkZmUktHS0xjQVpCUlhj?= =?gb2312?B?ZitQY0ZPeDVYQk10VFhsYXo2T0lmMURrUzBJemZyZ1BjZFpTSjB4UHNsKzhG?= =?gb2312?B?bWVoZ1gzQ1d0cmRRb1VKMTJab0pKQm9hRXhpaWI0VEJUc3M3QUd6TzNIZHAy?= =?gb2312?B?ZWlBbE05VFVjYUxtRFVWNVphVUhHRW9jMVZWcTFrNWpMdjYvQk1ubTFrdWRH?= =?gb2312?B?c2JkYTE4RWtDMUlLdWhGTDJWWWVuUXZqRmxXWUFaOUlGUEZtY2ttNmZkbWdh?= =?gb2312?B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MzI0SExDR1lYVEVRdXpXRGZTUnhQ?= =?gb2312?B?N0VLU0lNMzJTa2ZRZFhscXIvYjRtSWRiZnpNUytBUkZmem5RazdmQVZCTlBm?= =?gb2312?B?OEE9PQ==?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bdc3c22-ff12-4eac-a414-08d9bdf29f8d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2021 04:40:00.4349 (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: T3b+/k4G5cQt8Yj5f7XkEPp56dPyh5Pv9Nby2ywMx3lHta0l7BXkLY+auEIwLj19py8n0YIaMEwd4FHDrofB7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7705 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpIaSBGcmFuY2VzY28sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTog RnJhbmNlc2NvIERvbGNpbmkgPGZyYW5jZXNjby5kb2xjaW5pQHRvcmFkZXguY29tPg0KPiBTZW50 OiAyMDIxxOoxMtTCMTHI1SAyMTowMg0KPiBUbzogcGhpbGlwcGUuc2NoZW5rZXJAdG9yYWRleC5j b207IGFuZHJld0BsdW5uLmNoOyBKb2FraW0gWmhhbmcNCj4gPHFpYW5ncWluZy56aGFuZ0BueHAu Y29tPg0KPiBDYzogZGF2ZW1AZGF2ZW1sb2Z0Lm5ldDsgZmVzdGV2YW1AZ21haWwuY29tOyBrdWJh QGtlcm5lb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