Received: by 10.223.185.116 with SMTP id b49csp6571258wrg; Wed, 28 Feb 2018 11:41:18 -0800 (PST) X-Google-Smtp-Source: AH8x227JsSlGJ3Tbf9p1Qe2q2o9bkxffmP59gol8hBuktfeeEf9guaAPo0fft3Aw/WyFEETB8wNf X-Received: by 10.98.160.142 with SMTP id p14mr19015647pfl.134.1519846878679; Wed, 28 Feb 2018 11:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519846878; cv=none; d=google.com; s=arc-20160816; b=ydlSyjZsXtAdNmm6fewybJGbtNI1YFOS29GP+lX5p00OviAihbLz3ze7G73+v4XiAn srVZa0PGN4YW+CUBLftDViOTHa8mNYSLlr2yhAg4jHwAJQu0X/FJlhLa6NLd/VJKCi2S h+HVS9Z2c54nCGZw3TpmO+E1U6JgtGZ5llEumIux54ppJkv0HUqNU8bFacvCpNn8J14+ NwFsLdjcJTSJdkAFvgck3kqrSNY1AqgBuunCxite9g0TxEkhwswU4IGKWWNsjyGN/28/ kTnkZCaQnFah3isSsMgS1VjiSDsGxTHoHSOCV7dCAVTQvH27gPZncl9izEcSLGR8XZnF WrvA== 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=dRCApAmiZS8IdqkSTMTpLdX1HyXrhEsyzJ7qEh8REWU=; b=Px++vM7QdZtqD8RqeGcOImYRNTXhiq0IJA7ER5+8sdKzyIrwQfCJ/x17EX6Q2rKhjD N4wBhbhgq6g2yCf3h7dEv/7en+x/V3uqXdu/0h0jqlPotL0J5yxUin9GibRtkHXnKLcX jMzhIT9QMhLduqzGhGLZvf8a85BSuQdF5La4TNE+4xmu1cDSibaF2jpZXTDNnrBDLneg ydlpp76O7I7XuIj3GpIGkuMWuzIW0B1GlcchvjopzCQCJM77OI2K1lgCAlzqTx2hkOwP vI/r5qS5jmCjfEFbwcKMQrAN8PLsFcSBtK+xLvu6CQKUGQmOxunjVtVp0c6NA9Wt+JWC YfDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jXWZE4BD; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7-v6si1706076plk.133.2018.02.28.11.41.04; Wed, 28 Feb 2018 11:41:18 -0800 (PST) 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=@chromium.org header.s=google header.b=jXWZE4BD; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933797AbeB1TkE (ORCPT + 99 others); Wed, 28 Feb 2018 14:40:04 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52979 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933721AbeB1TkB (ORCPT ); Wed, 28 Feb 2018 14:40:01 -0500 Received: by mail-wm0-f67.google.com with SMTP id t3so7238090wmc.2 for ; Wed, 28 Feb 2018 11:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dRCApAmiZS8IdqkSTMTpLdX1HyXrhEsyzJ7qEh8REWU=; b=jXWZE4BD7ojhPu/MPQysfolc3M2p0gf59ci8eLLO9okH295BgSknxgZ5MtK2cVJA+C SVWm65UqtDKRq7bp3Klshu5dWdB4Q+L5LHTYK1Jjmog2frcRy4Eckf9AKX8rIZJGKhn1 sKPY/ZhAVF82cBRAwpSSvE3zyZS1f45wZnZBQ= 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=dRCApAmiZS8IdqkSTMTpLdX1HyXrhEsyzJ7qEh8REWU=; b=p+NdOoMpLIC4WnV+3QGaG41A7no5CcCAqwkQRGhE8/7DRVyH8B3gJX7TYlVXWO2+wM OwdfqYWqteJsVx99a4UCLxdNaUsfGlz4IByR/Orf+wQS172JKcHkTevv4/U3hcFuEe3k JTfyVMWVIgH3AuMOs8X+goN+Xs5xCtEfa4oARxWKK1cMPH9RGEQYIsDPejwYAC032S3q zaGzUSoSu/D+l30KHoIxp8Au7PIq0/ZLEn1uJFXNKqXte/wNwJ8i/UoIfCEKSAdVBBQw jD5/vDhzRbEvxxz0t9e8AqpWU+Y2vQSNQqpvMYy3mG98hyvuDxyrnxM67czw+WhBfPNB 4PSA== X-Gm-Message-State: APf1xPBYzADHsWazwhJZj0XaDpgDgsagnJt4LPSn2cXbFmK0iVhGppjr vt7qf2Cw9bS+BemCEd52madXn/Zh5tE= X-Received: by 10.80.178.3 with SMTP id o3mr24754143edd.307.1519846799890; Wed, 28 Feb 2018 11:39:59 -0800 (PST) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com. [74.125.82.54]) by smtp.gmail.com with ESMTPSA id w41sm2462101edd.32.2018.02.28.11.39.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 11:39:58 -0800 (PST) Received: by mail-wm0-f54.google.com with SMTP id x7so7277555wmc.0 for ; Wed, 28 Feb 2018 11:39:58 -0800 (PST) X-Received: by 10.80.131.67 with SMTP id 61mr24265863edh.16.1519846797667; Wed, 28 Feb 2018 11:39:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.133.201 with HTTP; Wed, 28 Feb 2018 11:39:56 -0800 (PST) In-Reply-To: <20180217152459.GA22308@kroah.com> References: <20180215151222.267507937@linuxfoundation.org> <20180215151235.620152736@linuxfoundation.org> <20180216023147.GB69988@rodete-desktop-imager.corp.google.com> <20180216064850.GA26224@kroah.com> <20180216181043.GA84497@rodete-desktop-imager.corp.google.com> <20180216185220.GA29352@roeck-us.net> <20180217134351.GB28145@kroah.com> <20180217152459.GA22308@kroah.com> From: Brian Norris Date: Wed, 28 Feb 2018 11:39:56 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4.4 095/108] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version To: Greg Kroah-Hartman Cc: Guenter Roeck , Linux Kernel , stable , Leif Liddy , Matthias Kaehlcke , Daniel Drake , Kai-Heng Feng , Hans de Goede , Marcel Holtmann Content-Type: text/plain; charset="UTF-8" X-ccpol: medium Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Sat, Feb 17, 2018 at 7:24 AM, Greg Kroah-Hartman wrote: > On Sat, Feb 17, 2018 at 07:12:17AM -0800, Guenter Roeck wrote: >> On 02/17/2018 05:43 AM, Greg Kroah-Hartman wrote: >> > On Fri, Feb 16, 2018 at 10:52:20AM -0800, Guenter Roeck wrote: >> > > On Fri, Feb 16, 2018 at 10:10:44AM -0800, Brian Norris wrote: >> > > > On Fri, Feb 16, 2018 at 07:48:50AM +0100, Greg Kroah-Hartman wrote: >> > > > > On Thu, Feb 15, 2018 at 06:31:48PM -0800, Brian Norris wrote: >> > > > > > On Thu, Feb 15, 2018 at 04:17:32PM +0100, Greg Kroah-Hartman wrote: >> > > > > > > 4.4-stable review patch. If anyone has any objections, please let me know. >> > > > > > >> > > > > > Consider this an objection: >> > > > > > >> > > > > > I'm currently arguing that this is unnecessarily regressing power >> > > > > > consumption here: >> > > > > > >> > > > > > https://patchwork.kernel.org/patch/10149195/ >> > > > > > >> > > > > > I'll leave it up to you what to do with this, but if this ends up in >> > > > > > Chromium OS kernels, I'm likely to revert it there... ... >> > Thanks, but I've now released all of these with this patch committed, so >> > we are now "bug compatible" :) So, is that to say that the boilerplate above about objections is meaningless? This is the second time that this same "feature" has been pushed (degrading the quality of my systems) despite my objections, under the banner of "bug compatibility" [1]. The first attempt to revert was back around Dec 20 of last year, but I see that there were 10 "stable" 4.4 kernels released in the meantime [2] where that original bug was still present. (Commit fd865802c66b "Bluetooth: btusb: fix QCA Rome suspend/resume" was proven undeniably buggy.) Next: we see this current valiant attempt at a less buggy fix, by Hans. It's an OK solution, but it still wastes power for me. I objected above, but instead of delaying applying it, you applied it in the same release as you finally fixed the original crap (v4.4.116). So all-in-all, my system (if using 4.4.x directly) hasn't had decent Bluetooth since v4.4.99. At least things are still moving forward here, and maybe in another month, I can expect a v4.4.x stable kernel that works well. But the hilarious current state of things is that we're basically going back to a no-op for the time being: https://marc.info/?l=linux-bluetooth&m=151981547905651&w=2 https://marc.info/?l=linux-bluetooth&m=151981548105654&w=2 [PATCH] Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table (I know others are looking at properly identifying a DMI match list still, so this won't stay a no-op.) >> FWIW, seems to me that trying to be "bug compatible" with -rc1 upstream >> kernels may not really be a good idea for stable releases. I couldn't agree more. > It's a tough trade-off. If I dropped this patch, the normal mode of > operation would be for it to get merged into device kernels and then > forgotten about. Only if/when the user with the problem moves to a > newer release a long time later would the regression normally appear > again, and everyone would have to remember what happened and try to > piece it all together again as to what commit caused the issue. Note that I didn't suggest we have to completely drop the patch. And I also don't suspect you need to delay all -rc1 bugfixes. I'd just suggest delaying the patch for a few weeks, when there are objections raised. (Or, reverting and scheduling to re-queue in a few weeks if no progress...or something like that.) Is that not something that could work, in order to keep "stable" releases *actually* stable? In most software release processes, buggy patches are reverted as quickly as possible while alternatives are worked out. Not all fixes are security fixes that need to be out the door as soon as they see the light of day... > By you adding the revert to your device kernel now, you have a record of > this being a problem, how upstream isn't fixing the issue, and when/if > you do move to a newer kernel, that bugfix will still be there in your > patch stack to forward port. So, you rely entirely on device kernels to manage the pain that your release process causes? We're actively trying to stay much closer to upstream these days, and would essentially like to eliminate the concept of "device" kernels, at least for Chrom{e,ium} OS, if possible. But it's crap like this that proves that we can't. > Yeah, you all are normally better than that, and I trust that you will > push to get this resolved, hopefully soon. But for the most part, this > method works best overall for the majority of the cases like this as not > all bug reporters are persistent, and if not, the maintainer usually > forgets about it as no one is saying anything and they have other things > to work on. > > Well, bluetooth is known to not have responsive maintainers, so who am I > kidding here, odds are it's only going to get fixed as Hans is > involved, despite the bluetooth maintainers :) You can't pin this completely on the bluetooth maintainers. *You* maintain the -stable trees, yet you effectively ignored both of my objections, forcing me to rely on said original maintainers to queue up alternatives. Yes, yes, I know the "forcing me [and/or Hans] to work" is basically working as intended for you, but the hard facts show that *your* release was broken for far too long. Brian [1] BTW, I've had multiple people laugh at me when I mentioned this phrase in explaining our predicament to people. [2] v4.4.108 to v4.4.116