Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp942433imm; Wed, 4 Jul 2018 08:34:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdtSinLbTxRYRjRjQ4b0YwugVUYlE8qw3QmzrYuTImzndnLY9ve88JrvavjgXLyrARaAKgt X-Received: by 2002:a62:9f16:: with SMTP id g22-v6mr2619448pfe.207.1530718477796; Wed, 04 Jul 2018 08:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530718477; cv=none; d=google.com; s=arc-20160816; b=V31EIwTvL78V94no+g2iBXnUQVgFr7jccGXntvrs92gExy1IDwlig8LmXXutop9uWB 0jDziUOM9ZrDLNI6rHzdiyHZ+xXmlgZkKSZ92EN9mI46nj4PNMEfzKIQ2V2xnir7iD12 0ZsZUlj+47eTI6j0a/KuTbksfFvWqpzqsn9tFbSATS4qObMRn+RDQkV0UviRijb12bOM EUVSxtL58MB7kPS8xkvuqsz1QpSi0EBrPQVocBI8DIdiFvH6SnWh8ripNE5dBoKOGKYp v9oxfbfmXcZQdJ4gjOlto3ZYSHoFbrV5S07xZ7L1V7S4KjP9yv3O+7488ySLYIFPp5R3 rJuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=/NjUOovoztSnetsIj/owgAl7/ESNDLGT5dy1sHazB3A=; b=bbYWh6QTv8tf8Pwim1du1PsEiIGEXj0tF7XohPx4ZMZ/8K64fovex39wHlnew58exC LqUIaSSo/KBZzQzQWfNb/WPh/Sas0KEMClWV3cTa23U14B2tIxGGLPiECp1UnsWOAtMB n1QTjrwUTxMNqoawly0y3NPA9WwzCo+gBbKKMiG/N8IMG3wOQup+UX5o6rhVhIoW6uIt YQhRZv3cqp7D2DrXDpSqlxdHDcIE0D3xf8lvJyuZnDVXSvp9Dfji96q2bZSYC+qDqP4I FI/UPd1OMkOHWTvihJ5N1b08cx3VzGtmkFeuBTjHW0But/MbuJQ+J6ojGef6QYHyrGkL rutQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=V87dLcWl; 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 h3-v6si3966300plk.47.2018.07.04.08.34.23; Wed, 04 Jul 2018 08:34:37 -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=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=V87dLcWl; 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 S1752484AbeGDPdp (ORCPT + 99 others); Wed, 4 Jul 2018 11:33:45 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:45795 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbeGDPdo (ORCPT ); Wed, 4 Jul 2018 11:33:44 -0400 Received: by mail-oi0-f46.google.com with SMTP id m2-v6so11427547oim.12 for ; Wed, 04 Jul 2018 08:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/NjUOovoztSnetsIj/owgAl7/ESNDLGT5dy1sHazB3A=; b=V87dLcWl+4FeOU14EhBAyO3IonMPCNKRdKTCrcHIhdnQKdqFruOT+ERgxWmP9Azalb iw2Q2UMeSCO/aBcTStfwkyzu4MxyasrUuvZQ55VArmjlOSMVGQcOlAwYPdiwrTLIIIgN XfwYq4QouKMVb7B2Peqd18e/+JgfL50PLeRuLYhbV6Ppvw7PVaYt47auIWMB7MHoxiAP 7/+J1jXeI/nl4Kk1HjjLKlr5SnQULi2ggagX++qK+dMRDpRf8eBqg5U0j6ZBP4i3Mt7l YsNdUh3Xg6BP08Z0B8X5C95RNorFdXRRsVku/dC24HyONAxyonVnWCx3GtxFlpGZ/Xrk GoZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/NjUOovoztSnetsIj/owgAl7/ESNDLGT5dy1sHazB3A=; b=XHy/msLX12ND1zaCPo6RLzomOuky/WnCitA4TqYY6GBgTLMfGulndB3sLh+fKV/lwR ADeOhWMuqasUfMi0/9rJpuCBSXUF8sRUxhsoJ2jFV3BSxFJA6e85FkFNxDuw2pvdnlZv VSiWAbfloUTf9eVl8NoyL0F09nOti1j6BFjaXvayo3+HkuVMCTOmUDonYgs6jMBJzGkR 8SfgVZneJ4pr86IhWxlGT3TU3TossHpkbOs5Xb2348m4FQp7d2+HgBi1bEY/uBHY5c+y ekTr3VCSiECciHZ6whM5fgt+em/ZaYr7SMAmonhRq9MbEXvxGHCEIyPdDF7pxQ8NvhmI W1uw== X-Gm-Message-State: APt69E00B+UmUJJkHKPxJAn1iieJT5P8NSdJjwrsnSVImVF3tsEJxjQy RmJMl/RknsgtufLluma1Mj0shR8GZnY3S6umZn9/pA== X-Received: by 2002:aca:b3c5:: with SMTP id c188-v6mr2948529oif.9.1530718423354; Wed, 04 Jul 2018 08:33:43 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:3e18:0:0:0:0:0 with HTTP; Wed, 4 Jul 2018 08:33:42 -0700 (PDT) In-Reply-To: <7e95bd6a-97bc-b030-26ce-83da66e5f279@lwfinger.net> References: <20180704140933.3dk2ylbntltz6jqd@mwanda> <7e95bd6a-97bc-b030-26ce-83da66e5f279@lwfinger.net> From: Daniel Drake Date: Wed, 4 Jul 2018 10:33:42 -0500 Message-ID: Subject: Re: [BUG] staging: r8822be: RTL8822be can't find any wireless AP To: Larry Finger Cc: Dan Carpenter , Jian-Hong Pan , Greg Kroah-Hartman , "Frank A. Cancio Bello" , Stanislaw Gruszka , devel@driverdev.osuosl.org, Kalle Valo , linux-wireless , Linux Kernel , Linux Upstreaming Team , Colin Ian King , Ping-Ke Shih , Arnd Bergmann , yhchuang@realtek.com, birming@realtek.com, "shaofu@realtek.com >> shaofu" , steventing@realtek.com 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 On Wed, Jul 4, 2018 at 10:13 AM, Larry Finger wrote: > We will have to agree to disagree. > > I have no idea what the vendors are doing that cause some motherboards to > need a different aspm value. What I do know is that we have had to live with > the idiocy of some vendors saving a few pennies by only including a single > antenna, rather than two, and then making a problem by miscoding the EFUSE > bit that indicates which connector is actually in use. As we have no means > that I know about to detect which boxes have the problem, a module parameter > was created, just as in this case. > > I agree that drivers should work "out of the box", but finite resources and > lack of vendor cooperation make this a goal that may not be attainable. As you touched on, the ideal situation is that Realtek solve the issue. Ping-Ke Shih is on CC and I am adding a few more contacts from the commit log. The context is that the r8822 driver fails on several platforms unless setting aspm=0 (the default is 1). https://gist.github.com/dsd/20c05f0c6d66ee2ef9bfbb17f93f18ba https://bugzilla.kernel.org/show_bug.cgi?id=199651 If we don't get a timely fix from Realtek though, I think there is a key difference between the antenna selection headache and this one. In the antenna case, there isn't a good value that you can set that will work on all systems. If you change the default behaviour you will solve the issue for some users while simultanously introducing the problem on other systems that were previously fine. However in this case, it's highly likely that setting aspm=0 (off) by default would work for everyone. It has the disadvantage of using a bit more power, but especially with the indications that this issue affects a significant number of systems, I think that having the driver working out of the box everywhere is more important. The module parameter can be left in place so that unaffected users that want to save power can set aspm=1. Daniel