Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5909348imu; Mon, 26 Nov 2018 06:47:42 -0800 (PST) X-Google-Smtp-Source: AJdET5dli+ADjuqdyjJOIMPMCQoCTK8I6XtLEX5xdGKWyUcYBY+KQv/Yex+/HdaRpfV5qNymeLx3 X-Received: by 2002:a62:ce0e:: with SMTP id y14mr29374499pfg.100.1543243662313; Mon, 26 Nov 2018 06:47:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543243662; cv=none; d=google.com; s=arc-20160816; b=jR+9qrsY87OEhLdMtjFg6me2UAYxs6trqPgyKax/NJtkH0+hZEjdAOUv8e15Pqzpp6 DojsALeCwNIAvmt4XteJS7VVvv4CHnjj+qFHklfz7eMuHCJN3UgxLBI3H6m8iyUQQuqU n26SIG+fQxZZ3Aj09BSxTAFsG63K3ghipgERh+SwR8X+xK7xoPBUA41QuW2YT9aFxWiJ I6aqRxrk+heZ+NjhapVURp3v21bs29OJdBhRLfQ9h8BvETD4gm6rKk2QSCl2cBBCmDka krVPUihszySLkRWFKuN3byJ1zldaOdYiHb+jU5BP1XWy4clnfXHrlyywqgzGP/Fz8bTz hKHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=yHfPcYSDg2mmxPtiZUnqpBBpSVsoE0m1C3Xz6PvnFx8=; b=XepNqtVj5cn01RqFuUwbXK7oX721vfsT8cGdA7sppd6krNeiizwdu0SmT4hdqfWWfE Su39xwsPXtp1GbRxcjRztcx2zkYzOXexq5nPd2whG/wbbzcejCEf819A9llb8Zpa5uYW 7e755I9czBx7BCDwM9UA2yIJdHktkB1jPW58v4IZ9A08G5gmUuVUegOkQm+qqHptmVzy wWLLuyLLV4GeRJI2ZVsP/QXK6u5A5hAaqf6RplXUlvTqc7qFE72anupVIGKqOF1HX+W+ ztdxsV2aQ23xpB2CDZaVDvQ5Evt6ePLjspYvgaHT+nwt6LcjWv+OSNk6aFHylA5jRZiL dRIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=hyJJhzOT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i62si482624pgd.556.2018.11.26.06.47.14; Mon, 26 Nov 2018 06:47:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=hyJJhzOT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbeK0BkZ (ORCPT + 99 others); Mon, 26 Nov 2018 20:40:25 -0500 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:9946 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbeK0BkZ (ORCPT ); Mon, 26 Nov 2018 20:40:25 -0500 X-IronPort-AV: E=Sophos;i="5.56,282,1539673200"; d="scan'208";a="20789382" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 26 Nov 2018 07:46:04 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.49) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 26 Nov 2018 07:46:03 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yHfPcYSDg2mmxPtiZUnqpBBpSVsoE0m1C3Xz6PvnFx8=; b=hyJJhzOTDufh2N7adsSlEstpZjL/OIc5b0kTZp7S6MF4K8YhVcv4w327O7gyxGhQJi3MeTWct2JVUK8rlDRZk+TUgeiXyKXNgZj4uX70PW5Xuqj1pIfgTfZKYKZMSfYbXbZwfW0uGPM1xAI5pRiI0sslYmhNSe3+P9QqbHMdWKU= Received: from BY2PR11MB0744.namprd11.prod.outlook.com (10.163.112.142) by BY2PR11MB0645.namprd11.prod.outlook.com (10.163.159.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.19; Mon, 26 Nov 2018 14:46:01 +0000 Received: from BY2PR11MB0744.namprd11.prod.outlook.com ([fe80::6c42:c3b0:5734:1681]) by BY2PR11MB0744.namprd11.prod.outlook.com ([fe80::6c42:c3b0:5734:1681%5]) with mapi id 15.20.1361.019; Mon, 26 Nov 2018 14:46:01 +0000 From: To: , , CC: , , , , , , Subject: Re: [PATCH v2 1/4] net: macb: Check MDIO state before read/write and use timeouts Thread-Topic: [PATCH v2 1/4] net: macb: Check MDIO state before read/write and use timeouts Thread-Index: AQHUhZa7v3Zh+jBG9kSdXfX2qosMHA== Date: Mon, 26 Nov 2018 14:46:01 +0000 Message-ID: <5de882e3-65ac-7ff1-bb55-7537666dfc77@microchip.com> References: <1543216072-9623-1-git-send-email-harini.katakam@xilinx.com> <1543216072-9623-2-git-send-email-harini.katakam@xilinx.com> In-Reply-To: <1543216072-9623-2-git-send-email-harini.katakam@xilinx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR09CA0052.eurprd09.prod.outlook.com (2603:10a6:802:28::20) To BY2PR11MB0744.namprd11.prod.outlook.com (2a01:111:e400:52de::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Claudiu.Beznea@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BY2PR11MB0645;6:GNTqOFJmi7MP1n0vU4u7LI9/8pDCx7hd4jibVgQcbiDTwtLIr8HXorioGSKKKSkkh2gTr4nkpI2Zu5EzLnwdADjLwTP8smtAkYiPcdrLF3deNIs3BC47C5lzXkt29waO3gFlzuIIKBJeubWRlhX2dwSuAB309yoCXnf7/t5YRKHE7/1p6Jql3cCEyVuG12eqGJOHMnYEF/h7vj7cms12J9fkTYefFtlGugF3GOFP8gG7eBNghgQnTzY8uIx6JRuBe47cWQh5E/0NVbOObAePMc/o1z3CYXfDUBxMmui7vIuXE6ImoWCrqWZcYI+G9Mr6UBismom4Q8cJBmDKJcpPhfH3uFrgFJkWOXLOq3UGS1E+nE6LdgHH8QlxtQHQWp7z7kLle4Uzm4J3ofwLch1eZAiQ6glV+G73ltKsiq+CGfjIXepO1iL9FYTzNFJW42XIaPt1jKXHGn82YKz63AmcYw==;5:rScU1I/VD1iKj6W4z9EfCNg+NARTe21QHVKG3SDIn91/8mZQkZC2gcwJ5WSu3kCcCUk+kQbG+jVacOVBI8mdzBjP+tNf8XEYAgWRb/FBldPHtpTF8DWLCn2C0ENjI/xv2mVfH0UYAw1ysQ7ZI0NhZJE+ig9zhF+xAVkj5GFhg5E=;7:7ucqsOdKhsfP2KhIVMF8eEvkTLzz3MAPpxsALf5DMT4sGmSqh1GMEejcYEzlr5W2WKloD6+DelxutlaKLrBUuaL/8V/hcEd8nub5uIPpcLKTees/nDZg0HBVVSRhNiZX7CmrVQkN2pf6VaBUYE39IA== x-ms-office365-filtering-correlation-id: 7b0ebc02-c2b9-45a7-f253-08d653ade258 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:BY2PR11MB0645; x-ms-traffictypediagnostic: BY2PR11MB0645: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231443)(944501410)(52105112)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:BY2PR11MB0645;BCL:0;PCL:0;RULEID:;SRVR:BY2PR11MB0645; x-forefront-prvs: 086831DFB4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(396003)(366004)(136003)(376002)(346002)(39860400002)(199004)(189003)(105586002)(106356001)(446003)(53546011)(11346002)(386003)(6506007)(102836004)(81166006)(476003)(71190400001)(71200400001)(81156014)(2616005)(68736007)(66066001)(316002)(8936002)(99286004)(54906003)(110136005)(2501003)(36756003)(31686004)(3846002)(76176011)(6116002)(52116002)(486006)(229853002)(5660300001)(6512007)(72206003)(2906002)(256004)(39060400002)(4326008)(478600001)(305945005)(6486002)(53936002)(6436002)(7736002)(6246003)(186003)(25786009)(31696002)(97736004)(26005)(14454004)(8676002)(86362001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR11MB0645;H:BY2PR11MB0744.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 0BJKM1aFsMdbdNVoslZyJVfGyH36U1EpEX0R0fYlLh8Kc97v/tZahSewGG0Iok7oPnfiCbkBPtsRIwLorvNt7jscUkXv64RvhtbzzxZDOGtHgKZvdGFh29lQwtG+0QSealiSR3EhJKnLXI4p29Pp6KAMynKRGz5872T2bb+U08xgnE76IzDZbrlY029+GfxqhVzkjImg/IxOyLp+/z0npPT0wKQDbczJ6lYtA+izs19nEx51aLizwjhp5JKmxFLhjvLJZLtXYEJ/qbqJJbxsKFE3PN6Qs3ywNFcKa6hDlj9Ri4tDzanHsKHBUKMykRZqXiWJ7NWdqMGllXmcWfNKe4/XQ7f3UKKye6kBNsvj9Gg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7b0ebc02-c2b9-45a7-f253-08d653ade258 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2018 14:46:01.6155 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR11MB0645 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSGFyaW5pLA0KDQpPbiAyNi4xMS4yMDE4IDA5OjA3LCBIYXJpbmkgS2F0YWthbSB3cm90ZToN Cj4gRnJvbTogSGFyaW5pIEthdGFrYW0gPGhhcmluaWtAeGlsaW54LmNvbT4NCj4gDQo+IFJlcGxh Y2UgdGhlIHdoaWxlIGxvb3AgaW4gTURJTyByZWFkL3dyaXRlIGZ1bmN0aW9ucyB3aXRoIGEgdGlt ZW91dC4NCj4gSW4gYWRkaXRpb24sIGFkZCBhIGNoZWNrIGZvciBNRElPIGJ1cyBidXN5IGJlZm9y ZSBpbml0aWF0aW5nIGEgbmV3DQo+IG9wZXJhdGlvbiBhcyB3ZWxsIHRvIG1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