Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp875822imd; Thu, 1 Nov 2018 07:00:15 -0700 (PDT) X-Google-Smtp-Source: AJdET5dQMQYAH3kZGlJx+YW/L+hcm0G1wTKnByVFgd4vxWrSD17+8ch2reJOS38O42kbBA5sYMhX X-Received: by 2002:a62:cac4:: with SMTP id y65-v6mr7809832pfk.27.1541080815661; Thu, 01 Nov 2018 07:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541080815; cv=none; d=google.com; s=arc-20160816; b=Ym2yS0l/YIpX4k5g0xrlm9Zi7CaHRJsQ4th08RItw5tA2h2+/Vj6gwQu8IiOvrqK5j lWlCmeTs1733bMYl98mmXxb+CX+GZfMnYcu0GVoUEbT+TZ777bItz4SRQJW+mvjiaADI cX1/IDP8DUzfAy7KdgdK22GirrpSwvRqF6zLj6PeYgw4esFjH9hqaLSf0dxgXohjk8qi yuPpQkIkWEhpbaKzRwFtOzGKj225UG4lv3xvkedTX1M8vUTBIduD4eBdY3M4Lveyr4w8 tsvQGXdLU0ETDXU7t6U5AiATkFMt+zSAXxi8P3rRy0MJyGvAnNUWwlqF5qJz16FPgf2u +9fQ== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=cf9rg9ao8NiiV/3RsTWwKuttF/OSMeLrcmdBOiyjsGo=; b=b2hwWA5I//yCMm1mTgSQIkJRxrhOzloDLnGDeMQuM64qV0fUNkJt9/Vle7Zn4EI0VX KyDaNu3kN3GzMRKqRqEy1RTouT8NBKSoeed8ULFGLwzLZeb6phefCmc1sDRlE3cRlC43 pY4oaS2IFzJ0Lj7oY/jIsE7bhYEqOjHX12i55D/8OAOz/Vz1LpikLu7AJz2FANeTysLk QzrUBSd92pCYJowIemEPjhI7QrLK8VTeSm3XAwL2ZyMJrvFqDfkjVaMcYXPstetdzb9L a+eOc+7AZzfufW/r6Yrm6toiRaBHrFnrGrWOgcsz6ncfNwSY2J30UGYzbMtRxFvydZ0B 4j2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 b59-v6si31753655plc.257.2018.11.01.07.00.00; Thu, 01 Nov 2018 07:00:15 -0700 (PDT) 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; 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 S1728768AbeKAXB0 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Nov 2018 19:01:26 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:14733 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728192AbeKAXBZ (ORCPT ); Thu, 1 Nov 2018 19:01:25 -0400 X-IronPort-AV: E=Sophos;i="5.54,452,1534834800"; d="scan'208";a="22660334" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Nov 2018 06:58:20 -0700 Received: from CHN-SV-EXMX06.mchp-main.com ([fe80::c5f4:117d:550d:f375]) by chn-sv-exch03.mchp-main.com ([fe80::9916:1afa:df82:7a64%13]) with mapi id 14.03.0352.000; Thu, 1 Nov 2018 06:58:19 -0700 From: To: , , CC: , , , , Subject: RE: [PATCH v2] usbnet: smsc95xx: disable carrier check while suspending Thread-Topic: [PATCH v2] usbnet: smsc95xx: disable carrier check while suspending Thread-Index: AQHUcWd9aklJyp5mQ0edcpRJO/GcyKU68cuw Date: Thu, 1 Nov 2018 13:58:19 +0000 Message-ID: <0573C9D4B793EF43BF95221F2F4CC8515B56CB@CHN-SV-EXMX06.mchp-main.com> References: <1541022739-24678-1-git-send-email-frieder.schrempf@kontron.de> In-Reply-To: <1541022739-24678-1-git-send-email-frieder.schrempf@kontron.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.76.4] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > We need to make sure, that the carrier check polling is disabled while > suspending. Otherwise we can end up with usbnet_read_cmd() being issued > when only usbnet_read_cmd_nopm() is allowed. If this happens, read > operations lock up. > > Fixes: d69d169493 ("usbnet: smsc95xx: fix link detection for disabled > autonegotiation") > Cc: > Signed-off-by: Frieder Schrempf Reviewed-by: Raghuram Chary J -Raghu