Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2583537imm; Thu, 11 Oct 2018 12:38:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV612aOyn4p9LgoPGQnd0oRpD78+gSLseeoCVT084HnvzLHU6MOklfjf1z7ZcKQNc0AVpoZCR X-Received: by 2002:a63:4f20:: with SMTP id d32-v6mr2424106pgb.231.1539286709381; Thu, 11 Oct 2018 12:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539286709; cv=none; d=google.com; s=arc-20160816; b=0njeOugmDj+we44YlaA//BRW8Ze0Tlmb7WXT1NmQkDmG/S/6TdDgri9FZz1TuMlyGf DZsqRAA18ft/kZQ3Zqs8oXti7U/sql1IaRP4Qp1v/yC7J2vgsGSsqAErYxG9XVuQgGMz 6seGC4+iScHjwBodMkcC6juntEL8IuOSYlyoFuZAY8ZaQ/4d9MHAHDFuaSCivuiAEq9T uZ8egkGBBIGX/n0OyFp3l8LF1PdmoC8SpiuTMA/oJL7Sx86wZnx3hvG4OZM1WfFCEABW 2dRMQgN7gO7dHR/8UWViSdR3ix2aQzR6aH/3qLjkJSLmTttXC1qW6VL7CwATTX9QASkl lQkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=xpc/K8p3K+5hhh+eCIy4GM8f1VsO23HZ46wS7AEfk5w=; b=ysrmqoCKoQiO3/DUNoUYsOXmwkPPmhIJJf++et8lJmBXBIViMNlFLDAzbG1fOj+LEB kh3YSRVBsvFo9roWkgHFZYzAO2rg2W45PnlXG8ls5+LsohhuMToh8m1Dr9jJH6/5ip7x dNLauE78YZ/vRv8f151bL3Je7a3CWt9ntygN5d3IOSbjmMXPqDZzWk21oFAhoXCVLiT3 i0uZizvgvWAp+2PWE6etFKgcFcWeU4e0Itom6gqXOQdEpCS1REgoJWM+QRt1qd/kMHwr vVe8q7vcLNPCnwJRnIAZyDUL7dNUpck6juJNjXUa+dC+YMRW5O++Ahx9FmzBphf/yNpb oeAg== 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 h89-v6si26526604pld.262.2018.10.11.12.38.14; Thu, 11 Oct 2018 12:38:29 -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 S1729928AbeJLChM (ORCPT + 99 others); Thu, 11 Oct 2018 22:37:12 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:60884 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729074AbeJLChM (ORCPT ); Thu, 11 Oct 2018 22:37:12 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1c06::4572]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 55ED812DE580F; Thu, 11 Oct 2018 12:08:40 -0700 (PDT) Date: Thu, 11 Oct 2018 12:08:39 -0700 (PDT) Message-Id: <20181011.120839.321027152552999776.davem@davemloft.net> To: mail@maciej.szmigiero.name Cc: chris2553@googlemail.com, hkallweit1@gmail.com, a3at.mail@gmail.com, nic_swsd@realtek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] r8169: set RX_MULTI_EN bit in RxConfig for 8168F-family chips From: David Miller In-Reply-To: <73ee1d68-2a27-aee9-d8b5-79ba3eda8187@maciej.szmigiero.name> References: <73ee1d68-2a27-aee9-d8b5-79ba3eda8187@maciej.szmigiero.name> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 11 Oct 2018 12:08:40 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Maciej S. Szmigiero" Date: Thu, 11 Oct 2018 16:02:10 +0200 > It has been reported that since > commit 05212ba8132b42 ("r8169: set RxConfig after tx/rx is enabled for RTL8169sb/8110sb devices") > at least RTL_GIGA_MAC_VER_38 NICs work erratically after a resume from > suspend. > The problem has been traced to a missing RX_MULTI_EN bit in the RxConfig > register. > We already set this bit for RTL_GIGA_MAC_VER_35 NICs of the same 8168F > chip family so let's do it also for its other siblings: RTL_GIGA_MAC_VER_36 > and RTL_GIGA_MAC_VER_38. > > Curiously, the NIC seems to work fine after a system boot without having > this bit set as long as the system isn't suspended and resumed. > > Fixes: 05212ba8132b42 ("r8169: set RxConfig after tx/rx is enabled for RTL8169sb/8110sb devices") > Reported-by: Chris Clayton > Signed-off-by: Maciej S. Szmigiero Applied and queued up for -stable.