Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4315894imm; Mon, 20 Aug 2018 13:43:32 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzy2hikHBFHAHS8oPWE6LPh/2ZEPkh3oUug0hkyaM0AdEvlyXtlou6ytY75LUrlJlzmDr0C X-Received: by 2002:a17:902:b7c3:: with SMTP id v3-v6mr11142033plz.238.1534797812375; Mon, 20 Aug 2018 13:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534797812; cv=none; d=google.com; s=arc-20160816; b=EZ7GcleiwOdYGCHQF6edO2tX/l72+3MZhAzasH+DAzWh/0wdliHadO2IZmqLAcKhg+ XGDBG77ivI/6aJsdxKvuqBoMsNMSjOX2tD8tyCCsvjB8iJLctLtzQSY60o5rNPHR5HOp pRvOTVR+/f2KKc9p9ZMf+zDcF3mc8kfqAw7rVWFop4v0rdoJf3/OoMR64KxFOukhLOae qgmLaX7OZH+mDKZV+MGmlwPLBadD7/2yF9sJTa4hAFjOo3PzIuWJ6hZrmNZ4YrhaZ3SN DWDK3rOQXVBWqkBQHCjlO17AbhEnZgO+oi5dd/oeAeUdE1v7KMDC3xFdF+4TAvzmmv2/ 6xFw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=CIahhygVRZGkTQaBQkFAup6Gwbt2hyskKWqlYscjHUk=; b=FdbGi6jZBwMqn52yEIrPlgfE82hi2EaB53Tat8StYxgqBUNdDYTk+IVQoC276IAC5D oteHxn2h7HijHThbYpkBDrbUa4Z65H0Sd4m2SaznG2MHfHr//yqsX3TwvTd470YMYySx SCypj8mfLmN+QDOmy3ngLAdrtQLm0FHmxjlWwHTAx+5WwQ6ea0tRSRRTBEU3GdokfIc6 GCFGIIql0dT5VOli6Vl/w4VrZsBV0ahcHBF7MmCqplljsbtGqWRdjBpIVxWcJ79zoALk FFVVLjU0KehmVnxtVemIt4GiEhYSJPuE06Uwe05eKrZTDXVpeTXzN8uBzJlAstzJtRcx 9NaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rMvcAYZK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si10282960pgh.564.2018.08.20.13.43.17; Mon, 20 Aug 2018 13:43:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rMvcAYZK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726710AbeHTX6H (ORCPT + 99 others); Mon, 20 Aug 2018 19:58:07 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:37083 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbeHTX6H (ORCPT ); Mon, 20 Aug 2018 19:58:07 -0400 Received: by mail-qk0-f193.google.com with SMTP id f17-v6so4557876qkh.4; Mon, 20 Aug 2018 13:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CIahhygVRZGkTQaBQkFAup6Gwbt2hyskKWqlYscjHUk=; b=rMvcAYZK6q8SYTBD+XC0HaB6peMOZLDi39c7U29pQtrKik4tHDqrzrKq0WYn5hU4q2 HiGkqFP/jwnDuJxliM/a9r9u/wY2Tp89N0j322XqorfuRNO/6PnTxlXLrCvH37EfKx+1 pG0MMPBoHAoP9LF49jKjErKS0kEB4csILfnE+Z5TfMbLpFjh6/p6CAvihEhSsBxlDBZb 2AkT94FiKcjIOBr/WJpbVzW7b1Fz42vre+zi9pS3lHafujaMW2i3Gx4CJlFFneJmAUuE 7TKllyqn+m8F2/IFd+COaYM9eJIIADNUEws/VdFRmfEBpGMbwtPHuP4cmf72RMow5cGr 0kCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=CIahhygVRZGkTQaBQkFAup6Gwbt2hyskKWqlYscjHUk=; b=SbdGh40FkfvOw9jDKDjpuQKCYCaCV5PAWLfXHQm0/CY397HUakROOkpMe6AAh4WAEQ HZ8/VFISKWEQDLNiqV37NIcW2PEhXB53paM3AM1rK/qLx3kB/uRCA63+8rcG6w6WFkjn 8hczZVKzyeeiO2SQJ5dBF0qsIcNZeqttj+6A0f4XhKU8CqNNtS2uHtAGNFDbcfMultnM haM/pjpVuunhNhkwt0Ps5quwppUCOIvVQa0F+xvztMxIbaMuiPillACtkLxocxc5OiZc XqGHJbqx8Djy82zj2xub0qXyrDEPaebO969qC8cGEb57Q8YJBiPqii7GtYahThWsaZ6g hJSw== X-Gm-Message-State: APzg51AUZOCc8kGQL3Vp16UQELDg3bDQLcz3xRSbOo9uOAGMwmDfLMjP oe/fWBkcXC8w9JHp/P770bksDCQX X-Received: by 2002:a37:a70b:: with SMTP id q11-v6mr6012760qke.92.1534797660655; Mon, 20 Aug 2018 13:41:00 -0700 (PDT) Received: from [10.69.41.93] ([192.19.223.250]) by smtp.googlemail.com with ESMTPSA id k3-v6sm726580qtm.12.2018.08.20.13.40.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 13:40:59 -0700 (PDT) Subject: Re: [PATCH] r8169: don't use MSI-X on RTL8106e To: Heiner Kallweit , David Miller Cc: jian-hong@endlessm.com, nic_swsd@realtek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux@endlessm.com References: <20180815062110.16155-1-jian-hong@endlessm.com> <20180816.122131.604270853620318143.davem@davemloft.net> <458efbf9-5971-653a-e7cd-8c56ba055648@gmail.com> <20180816.123958.750435252621963789.davem@davemloft.net> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=f.fainelli@gmail.com; prefer-encrypt=mutual; keydata= xsDiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyR xGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4ysWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQ X3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjCCwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0E AICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DDj3K8Upn2vYiOFMBhGsxAk6YKV6IP0d ZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihLcsmnBqOiS6rJDO2x1eAgC8meAX SAgsrBhcgGl2Rl5gh/jkeA5ykwbxA/9u1eEuL70Qzt5APJmqVXR+kWvrqdBVPoUNy/tQ8mYc nzJJ63ng3tHhnwHXZOu8hL4nqwlYHRa9eeglXYhBqja4ZvIvCEqSmEukfivk+DlIgVoOAJbh qIWgvr3SIEuR6ayY3f5j0f2ejUMYlYYnKdiHXFlF9uXm1ELrb0YX4GMHz80nRmxvcmlhbiBG YWluZWxsaSA8Zi5mYWluZWxs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GO4P WU11Nr9i/qoV8QCo12MQEo244RRA6VMud06y/E449rWZFSTwGqb0FS0seTcYNvxt8PB2izX+ HZA8SL54j479ubxhfuoTu5nXdtFYFj5Lj5x34LKPx7MpgAmj0H7SDhpFWF2FzcC1bjiW9mjW HaKaX23Awt97AqQZXegbfkJwX2Y53ufq8Np3e1542lh3/mpiGSilCsaTahEGrHK+lIusl6mz Joil+u3k01ofvJMK0ZdzGUZ/aPMZ16LofjFA+MNxWrZFrkYmiGdv+LG45zSlZyIvzSiG2lKy kuVag+IijCIom78P9jRtB1q1Q5lwZp2TLAJlz92DmFwBg1hyFzwDADjZ2nrDxKUiybXIgZp9 aU2d++ptEGCVJOfEW4qpWCCLPbOT7XBr+g/4H3qWbs3j/cDDq7LuVYIe+wchy/iXEJaQVeTC y5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU8JPBBgRAgAPAhsMBQJU X9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== Message-ID: <4bf216ab-69ea-c09e-dcd8-f033a13627c0@gmail.com> Date: Mon, 20 Aug 2018 13:40:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/16/2018 12:50 PM, Heiner Kallweit wrote: > On 16.08.2018 21:39, David Miller wrote: >> 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. >> > Indeed. That's what I'm checking with Realtek. > In the register list in the r8169 driver there's one entry which > seems to indicate that there are MSI-X specific settings. > However this register isn't used, and the r8168 vendor driver > uses only MSI. And there are no public datasheets. Stupid question, but should not we be asking the reporter to try again with: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfdd19ad80f203f42f05fd32a31c678c9c524ef9 applied? The original report shows the Generic PHY being used, not the Realtek PHY driver being used, is this possibly contributing to the problem? -- Florian