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 70287C433F5 for ; Mon, 13 Dec 2021 10:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231959AbhLMK5r (ORCPT ); Mon, 13 Dec 2021 05:57:47 -0500 Received: from mail-gv0che01on2106.outbound.protection.outlook.com ([40.107.23.106]:19873 "EHLO CHE01-GV0-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231713AbhLMK5p (ORCPT ); Mon, 13 Dec 2021 05:57:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDENbbdAcc0dP1h7zDpUijaOTdLidB3r3zhYrtav1U514GxIoE3alzUO+aottsRVKWlUW39xpWCx6Rilre5vPBsjqVRLOQFfJaJsCGxRmhgyPv+OmSNxNxjv2CnaTitvxdZCbrvtP2Cv5ESHejzjX5dDXqPha9lb2k5/RSFleLIWcOfdaa7EsEERYYQum9zmp7zN2Ont+Y204IkXivJgn4VBZ0AjmeMK7P1pPDv16ER6r8QLbvbflDlNoaZzJ8a4EBtZS9M8QSLIzBFxJui+fbM0iMztkQ/R/rMN3D1L3++HEUCxX0MHpHSQ6nT/qNstca95JYDaFYROQDT1jlN1dw== 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=3ihZeQWm68J0phKc5VTVwn/z5ScLrvNC9WqzQnRZ08A=; b=AM+Ma4uDs4UmVyWxHYMOnEr2Anc0CDyK942ldgpkQ/wdeoqZavwtyJUp1/bC7ON3IBIyiv2E044iWCQ0wDs4v+Bc4hp1W6N6+j78V++HpqLYS4Zq5y9Hyp5YXmEkuY7C7lbrWZZ/jatGPGg/qTdjm+YzkEAqu81ZLpNPpqHazzT5ImveWdj5uB3jL2Emmy6qLHofiIg2dehncHEUavFJaOHz+8N2RF+Etdz8r6+BUzTuOBztpmJqGhrFhKMuxOlaNhgW6SudL8hFEZoFpUJVwzFp/CUV6j8s5NVhyXEj7E5dHKhuQ4fmFGVd/Qr+Jfws5EhPFt7XDXkr+VWtN7KqUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ihZeQWm68J0phKc5VTVwn/z5ScLrvNC9WqzQnRZ08A=; b=Tv2K8SKNEPigHxyK2xuXLozwxGHMH5SCZFFRHTXpxDqNZvqMXUiQ5W5+yl6+fJ3qE4jfk9mQwjwrr0Ewc+1gXsCboKgLOyIV4JxNZjeyDLWT4O0IS8lUWZoNpUsg41KQ+zFQuAefc3en9CBnCqL+djp6zpNVOSfq//h1eJGf7Fs= Received: from ZR0P278MB0377.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:34::14) by ZRAP278MB0335.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.12; Mon, 13 Dec 2021 10:57:42 +0000 Received: from ZR0P278MB0377.CHEP278.PROD.OUTLOOK.COM ([fe80::e5c4:5c29:1958:fbea]) by ZR0P278MB0377.CHEP278.PROD.OUTLOOK.COM ([fe80::e5c4:5c29:1958:fbea%8]) with mapi id 15.20.4778.017; Mon, 13 Dec 2021 10:57:42 +0000 From: Philippe Schenker To: Francesco Dolcini , "andrew@lunn.ch" , "qiangqing.zhang@nxp.com" CC: "festevam@gmail.com" , "linux@armlinux.org.uk" , "netdev@vger.kernel.org" , "davem@davemloft.net" , "kuba@kernel.org" , "linux-kernel@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: AQHX7o9S3gJitJa0r0m/sbVpicrHs6wwQ2CA Date: Mon, 13 Dec 2021 10:57:42 +0000 Message-ID: <395977d1161591814bcadad2c1e9bbdc519f12c6.camel@toradex.com> 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-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.42.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=toradex.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9021468b-4f0f-4033-bb91-08d9be2762ec x-ms-traffictypediagnostic: ZRAP278MB0335:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: We8EwX4frexqLEqc5fe0V4i8GJvFeySJNRGNzt6GrkBl8vNDE2KzWz8wcQuF0hOJhP/id/QpPKraHmtLFSzFgFNsH94bW1SLuVtKqKJVQUPWHHC5x46iWJdQCg9/Xw7r1LLuHaB7dbUrF36cA/IVT8tgJnNmYs4/PNzhDRs9hY6i/eN2DoTNPr/U4LJZ2gIr6WELT9CcdfD6Rl1ad+kxyMougctJUKUvpcHKc/YErskUC129LbmKIMd8GUFdBgItf4YJt3RlrKap6ClXwqHTnhgsMNFqS2ampHtUGxjTLc4RCJVNRH1uorCrN7QfalJZCpbp7bErMWYX5c+M5Pb+mz9fsI4Uclf26zK1HBVzTuPwbKVWbVN2ipXj2kVzmecDpBVS+5kQNmeqm95mtwwD82X05lV0NlIw59jRgYBJX6VorXObG3MPiRGsc33juWHM1MD4/PEC8aL3948txEg9HVmSTyVhtcZsfi/demb51i78eHC6UF9UtUFEY5Z+5Lb34WKG8EsBXQB8CSVCyYcdsaQ3WLPfREs2JBmeCMIaD7FFYSgKPFAI+AJFW00yger5/r04X9ZiJudKvoca1iAgY2TK2DM1MbFcxqCHFDDXLywfRNErxsNj4o7iudd1oeo+lxx146g7YfArx3PZetg0geegoW6gM6xAT0Lh8QVdRyNysH8LB1VNmAwMvdSygTgSHSnFncMrrZEYSwrzYZTkclPb+/D+n781H173V/Bab3GObeV023ry0ZhfC3bWZALRfyEqlUWGxu5TQdTXhO/O87wFEc2Gv4jXu9yrIdcoXGE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZR0P278MB0377.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(4636009)(366004)(76116006)(44832011)(122000001)(54906003)(110136005)(83380400001)(71200400001)(91956017)(4001150100001)(508600001)(8676002)(86362001)(38070700005)(38100700002)(2616005)(6506007)(8936002)(36756003)(4326008)(5660300002)(6512007)(966005)(66476007)(26005)(66556008)(66946007)(64756008)(2906002)(6486002)(186003)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VCtVdkZrNVNaZVdNZHUxMGF0UE5zS2Z2YzNkWFlrQUxScFJYei8rU251KzNt?= =?utf-8?B?RmU4L3gzYXJ4bzZXbGpGQ00wc2pCN3FzZjlLcUMzNWxWOGprbFo1U2FpWWR0?= =?utf-8?B?TFh3a2pKUW1VbUQrNUNxQ0gvVExFbVZuK3JPRVJZU2ZHZHBSeWV6SmtHdzV3?= =?utf-8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tRQVhudDl1K2wxbjAwVW1nOGtnY0RrZTV5TTFCVkhpSjBHbWYr?= =?utf-8?B?U2JtblcwUU94VTVzMmhBdFdQazc5OHlqaVNDYkdKazQvTW1vTjROUnd1TXpJ?= =?utf-8?B?MmFTVWlwQkZtTUtmWWRkWnBCdHF0TTcrWFcrUHJOKyt2S3RqV3AxWThGT2VF?= =?utf-8?B?dG9zYlVKQ3BmR2F0ald6amh4WXpJNHFHcGZpNUdQdGRkd0tpRlYrbTkxbC9N?= =?utf-8?B?QTNaQTFTekJSQmpnZFdvYWUyQVZFb0cvZXFRdzFRQ2tqeXlVUzExWTVmWDBz?= =?utf-8?Q?LlBW4ylSVQkW3vIOmHWSbO+0YmgvwfGm4O6q4RARD0=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <57674DF0F8A8E542A1036A0F2B2A0184@CHEP278.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: ZR0P278MB0377.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 9021468b-4f0f-4033-bb91-08d9be2762ec X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2021 10:57:42.1433 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: evAq9d5JqUdp1gfq/1azft5GXp3/SA3TVTBlngmUSZ7VbAJsr4yNA+RWXCdIwYf+5CP46x1QUnSsZp612Z/7KtG1/Em5Mbs0MGG9T0Fs5/4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0335 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCAyMDIxLTEyLTExIGF0IDE0OjAxICswMTA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