Received: by 10.192.165.156 with SMTP id m28csp78345imm; Tue, 10 Apr 2018 16:50:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+sNarprDLmB/d0F5z0uO7T+ENLBdBnYgUezJQnqCMatsreviOn7ynybv0KCK88Tf9fAABu X-Received: by 10.101.98.72 with SMTP id q8mr1711543pgv.338.1523404231658; Tue, 10 Apr 2018 16:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523404231; cv=none; d=google.com; s=arc-20160816; b=lUuoQinQbVCDqkmsZRBEkWhC8KtLaTHZnmsxCbhS1p7sJ1HHFi4piWQo62pFhGXe18 gUWOZOvOINNKnPuKqQ0guW7y8YoVhkFx1RlzncxQ3HgM3mG5EzTOa0iloQFI8NAky7Ns cLeF0OAIySqhlvXVGq6eWW+2enWXuxxdnSFbiBFoERMcmNExpwdQwSysAS1LBJWjSlSd FLa9eZmJJR3VH5JBMhuethC1L7VDkUQ/rMo/EWAs2BqCOCi/f0UYpIS16nWYCy+eSBGK CWm4lvVspgl7466hDpvWmHEeqNM22Pj6EjNY8Fv1Jaj6vwwD5QjzY2rq4YB1m6Evm9fL jmgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3hNnjbd4nYPV1/07rDvCYFrv+HsxzO5gjnKpDUHTHJU=; b=xnej/UMvM98pX+/hyapXQfMcyj10lfAefS8qJ2MwdHCnt9fLumBzAwgnMzu0u4yv96 0mMntuZHjc+ZQ9+sEvNNGv17zvbBmGAW5MfTYiSSGZGhjPYixfjNA7n/uchBW5p0Cjay PEaGAXgXa3J4gIkplt9Fp+CSdoGkafo7NZyMjvOa6zBDLSRBR30PZ+z1s0aSscdL/IsM MmrFiboZUbzF+eotRDt0cDerEbZ4370+NgXyCVZEAmhGSPSzKWWd9jlNUzDPcCKy6uNY KpWtqNO/8WCp0yYYuJUsAAiAPdiiHFYCG17HVRpgD0Y6UNY/18mr7XyFU7E+Npx0s3Z8 dbFA== 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 62-v6si3321934ply.494.2018.04.10.16.49.55; Tue, 10 Apr 2018 16:50:31 -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 S1753654AbeDJXpP (ORCPT + 99 others); Tue, 10 Apr 2018 19:45:15 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36820 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752591AbeDJWYj (ORCPT ); Tue, 10 Apr 2018 18:24:39 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B2753D22; Tue, 10 Apr 2018 22:24:38 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , "David S. Miller" Subject: [PATCH 4.16 09/18] sky2: Increase D3 delay to sky2 stops working after suspend Date: Wed, 11 Apr 2018 00:23:44 +0200 Message-Id: <20180410212759.066336857@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180410212758.564682823@linuxfoundation.org> References: <20180410212758.564682823@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kai-Heng Feng [ Upstream commit afb133637071be6deeb8b3d0e55593ffbf63c527 ] The sky2 ethernet stops working after system resume from suspend: [ 582.852065] sky2 0000:04:00.0: Refused to change power state, currently in D3 The current 150ms delay is not enough, change it to 200ms can solve the issue. BugLink: https://bugs.launchpad.net/bugs/1758507 Cc: Stable Signed-off-by: Kai-Heng Feng Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/marvell/sky2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/marvell/sky2.c +++ b/drivers/net/ethernet/marvell/sky2.c @@ -5087,7 +5087,7 @@ static int sky2_probe(struct pci_dev *pd INIT_WORK(&hw->restart_work, sky2_restart); pci_set_drvdata(pdev, hw); - pdev->d3_delay = 150; + pdev->d3_delay = 200; return 0;