Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2626664imm; Thu, 16 Aug 2018 12:41:51 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwRIfG6xLOOkqdXa/nI8R98tP/30R+f+mLYhzwgLCiLzePNnXcQRx+iqnzuzPMPNckBORYI X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr29840683pla.68.1534448511873; Thu, 16 Aug 2018 12:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534448511; cv=none; d=google.com; s=arc-20160816; b=BbThuX2iEGP0HPWbCFjH++23UKzv2FvzQkAD/DXBUEOC8lpe4XVTwFU9BkxdHJiPkv EXkv8bdh2XQjO+2Qg6sotH2srGY/2jK63U5ry2IYnadXAs3nivCEXvRt1lQKkkzEfRZy Irzyof9Ze2rTYYqgFlFOjhee3JKUZ2Y+9v9SxJAqFoLOsiGqJpodHcAL7emHQxeiKZfY xcrXjv15tsJreALDCChVkGBtIODbmwtIomUpE2s8/Qo91Yfvg2NQr8vzsnIGey/5uWb8 rUTVdElru8htr9WNzI5Q2PFINSv9yGYVAGxEkCpdIidLu+n0aeyUGSKqkI+mQeoRLE4b vHUw== 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 :arc-authentication-results; bh=vUBzdE8eUNzG7R/iLk95fnO99g9rd5J4xqTnN8UP/kE=; b=gsTs85YilfOq3dEK+d3IiHzD1gX8iMUJt4e048fyWrvCy28AdCrtJMoeSjqu77tF0j MyBFheoqgwSJe/4rh6247kldsdbneGZT1FU0z+RAnXSL9GQWnPWJBSTiBQGmmX4NI18C 4VLzKj2uk6vD91tTnJbisCvbbqPtOQ2HoYCeErHvmIW6pEtNBjUCcM+oUMwEjduM1DFY ITcFNMntlfodk7iv45aMrlwbRmC1k29gStal0C6i2QLkqlT0WxW46kH5b3yh6hFfrC9k eS3WnzU04f0bZLF6274v2Ic2TQRnmdsTAKjvJJR+iLAxjPoYSC7oi+txdbLIvm6r0LI4 SecQ== 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 l6-v6si116462pgl.567.2018.08.16.12.41.36; Thu, 16 Aug 2018 12:41:51 -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 S1726172AbeHPWkV (ORCPT + 99 others); Thu, 16 Aug 2018 18:40:21 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:32902 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbeHPWkV (ORCPT ); Thu, 16 Aug 2018 18:40:21 -0400 Received: from localhost (unknown [205.153.50.125]) (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 357B6145D1806; Thu, 16 Aug 2018 12:39:59 -0700 (PDT) Date: Thu, 16 Aug 2018 12:39:58 -0700 (PDT) Message-Id: <20180816.123958.750435252621963789.davem@davemloft.net> To: hkallweit1@gmail.com Cc: jian-hong@endlessm.com, nic_swsd@realtek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux@endlessm.com Subject: Re: [PATCH] r8169: don't use MSI-X on RTL8106e From: David Miller In-Reply-To: <458efbf9-5971-653a-e7cd-8c56ba055648@gmail.com> References: <20180815062110.16155-1-jian-hong@endlessm.com> <20180816.122131.604270853620318143.davem@davemloft.net> <458efbf9-5971-653a-e7cd-8c56ba055648@gmail.com> 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, 16 Aug 2018 12:39:59 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiner Kallweit Date: Thu, 16 Aug 2018 21:37:31 +0200 > On 16.08.2018 21:21, David Miller wrote: >> From: >> Date: Wed, 15 Aug 2018 14:21:10 +0800 >> >>> Found the ethernet network on ASUS X441UAR doesn't come back on resume >>> from suspend when using MSI-X. The chip is RTL8106e - version 39. >> >> Heiner, please take a look at this. >> >> You recently disabled MSI-X on RTL8168g for similar reasons. >> >> Now that we've seen two chips like this, maybe there is some other >> problem afoot. >> > Thanks for the hint. I saw it already and just contacted Realtek > whether they are aware of any MSI-X issues with particular chip > versions. With the chip versions I have access to MSI-X works fine. > > There's also the theoretical option that the issues are caused by > broken BIOS's. But so far only chip versions have been reported > which are very similar, at least with regard to version number > (2x VER_40, 1x VER_39). So they may share some buggy component. > > Let's see whether Realtek can provide some hint. > If more chip versions are reported having problems with MSI-X, > then we could switch to a whitelist or disable MSI-X in general. It could be that we need to reprogram some register(s) on resume, which normally might not be needed, and that is what is causing the problem with some chips.