Received: by 10.223.185.116 with SMTP id b49csp6036788wrg; Wed, 28 Feb 2018 02:56:58 -0800 (PST) X-Google-Smtp-Source: AH8x226TRyN6cEJcUrV0sbLaCJUKeAeFlyqN+D2FkAc/dAeyPDFLKXu56qcO4GmmEw/DOPojRlN9 X-Received: by 10.99.108.66 with SMTP id h63mr13599297pgc.177.1519815418138; Wed, 28 Feb 2018 02:56:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519815418; cv=none; d=google.com; s=arc-20160816; b=FuuWHKCJV0HfnUjn0WZbryslRphe5ZVYm8ZqybI/tGC+zFRUbAR+0nP4oDZIZjnwvb Di5HCIzoUzi71gxI4ol9CNk02krjo/0xsDf4CRJE5h5wS2LiVJsOpeAptwLGUsuh5fAg dLPsGnZa8KQEkpjNnja2cdv0fE+0tYgqo534D4Dg05j0rkDQ6Y+T+BUgB11PapXhaurH 8jQobnlrSiVw4Tnxkh8uUINxlXGLu//rScm2JA9X25aaomHWxow0TT2yiTQiwT7N7KrR xxWiG8LCnEiRBVertt8v7ccHrqugVAs0zEDgCPDwzo5PSecFZxIENEg1BFfpTjqS/QtE GLbQ== 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:references:cc:to:from:subject:arc-authentication-results; bh=oP5Gp+nFtFBhueTl77nqJC60AQvKATLIHgQ8ahVPGs0=; b=vy1mCxo5bNjUwTTLRxZmJjGA7Eo1Pmv4MQaUwXkPjqOZBGYRjVVr7b7/p7ttiyuDBP lZfq8Q/KpeegezTfUnyZW4fLCx30KjqY0LWBstX4AQo9aKy1w+ehfgoNvYhNvi0hhvRn 3PpKMMHWk5v2k75NW5AqOvflm5jeRuUB9tDQGSGebfxav9aMO0JxFemsVdDEZW2lTByJ VaLgV+18Kd03j2+zKNqZATVtaG7HuXdzjzf4rC1jeMk/2ersRP0jmfwvQu4SnaxkLFBa 4++bpDSo/9IY8VkXwo45gNGfauJ/9DOtZbsPyBEfex9goorjfT4Ou2KH7ar9FfImDqr/ 8QaQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t199si862361pgb.105.2018.02.28.02.56.41; Wed, 28 Feb 2018 02:56:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752570AbeB1Kyl (ORCPT + 99 others); Wed, 28 Feb 2018 05:54:41 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35892 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752312AbeB1Kyh (ORCPT ); Wed, 28 Feb 2018 05:54:37 -0500 Received: by mail-wm0-f68.google.com with SMTP id 188so4176755wme.1 for ; Wed, 28 Feb 2018 02:54:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oP5Gp+nFtFBhueTl77nqJC60AQvKATLIHgQ8ahVPGs0=; b=JP4+oyDhpTNW/gsF6sozeoMT1wtKDzfPPXOFkKPncw1AgDNMZOVYdl/o54Vdmrfkre V3SSH2+1rXxZC745sNl7sLueiGS0U8jxluYpQOEQHxdg3gETdyZ2m3OGvHEVWHObhhyM qtK6F5aPMjZedY/zA5hvCV6bDg0CNU4j8TMwsgeYM+jOEk/5/eX+cITttqFebYo8p4FZ JK4odUb3N+DM73SLgYz9cBrMgN5jwf3wuVNpQYcCZGWqdVMfPNCm1qH91fOcpQffiyfE 1TBxcrPVBuMgDUo9ERSnBOy1Qkbgp1MxDLLDTLUMY1duWtSYIuGlZz2ki/TXyx6bFNFq GDEg== X-Gm-Message-State: APf1xPA3sV8fBB33ECvQiDkzQM6yEbAHtnpNOCycZoqQ03h0/k+CCD8F AWYI4QEy5mdQ3uJRpvJ4CtF6nw== X-Received: by 10.80.169.92 with SMTP id m28mr22915533edc.131.1519815276528; Wed, 28 Feb 2018 02:54:36 -0800 (PST) Received: from shalem.localdomain (546A5441.cm-12-3b.dynamic.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id l7sm1338475eda.65.2018.02.28.02.54.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 02:54:35 -0800 (PST) Subject: Re: [PATCH] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version From: Hans de Goede To: Brian Norris Cc: Marcel Holtmann , "Gustavo F. Padovan" , Johan Hedberg , Bluez mailing list , linux-serial@vger.kernel.org, ACPI Devel Maling List , stable , Leif Liddy , Matthias Kaehlcke , Daniel Drake , Kai-Heng Feng , Matadeen Mishra , Linux Kernel Mailing List , Greg Kroah-Hartman , Guenter Roeck References: <20180108094416.4789-1-hdegoede@redhat.com> <20180213022455.GA151190@rodete-desktop-imager.corp.google.com> <8cd918fd-bf6f-70ac-e561-e7deffa695f0@redhat.com> <20180216022721.GA69988@rodete-desktop-imager.corp.google.com> <345b0de8-1a23-d2f8-bc56-507eadf7faa7@redhat.com> <6B37F6AC-1103-4FCF-A5DC-4BA236A7B11B@holtmann.org> <1a08612e-2531-3711-ec0f-a867e86d0009@redhat.com> <20180216175955.GA80944@rodete-desktop-imager.corp.google.com> <20180223031216.GA230265@rodete-desktop-imager.corp.google.com> Message-ID: <1711ebe8-8d1a-7d96-bcbe-17238988557a@redhat.com> Date: Wed, 28 Feb 2018 11:54:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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 Hi, On 27-02-18 15:07, Hans de Goede wrote: > Hi, > > On 27-02-18 03:29, Brian Norris wrote: >> On Thu, Feb 22, 2018 at 11:14 PM, Hans de Goede wrote: >>> On 23-02-18 04:12, Brian Norris wrote: >>>> Hmm? I'm not sure I completely follow here when you say "he was not >>>> hitting the firmware loading race". If things were functioning fine with >>>> system suspend (but not with autosuspend), then he's not seeing the >>>> controller (quoting commit fd865802c66b) "losing power during suspend". >>> >>> >>> He was running a kernel with the original "fd865802c66b Bluetooth: btusb: >>> fix QCA Rome suspend/resume" commit, which fixes regular suspend for >>> devices which are "losing power during suspend", but does nothing for >>> runtime-suspend. >>> >>> He ran tests both with and without runtime-pm enabled with that same kernel >>> and he needed to disable runtime-pm to get working bluetooth. >> >> Did he ever test with commit fd865802c66b reverted? >> >> My symptoms were exactly the same as you described. BT was broken as >> of v4.14 if I had runtime suspend enabled. Things were fine if I >> either (a) reverted the patch or (b) disabled runtime suspend. I >> obviously preferred (a), which is why I continued to complain :) >> >> Did your tester ever try (a)? If not, then I don't think you've really >> ensured that he really needed a "fixed" version; he may not have >> needed the patch at all. >> >> Or an alternative question: did that system work on an older Fedora >> release (and presumably an older kernel)? If so, then he probably also >> did not need that patch. >> >>>> So, that would suggest he could only be seeing the race (as I was), and >>>> that his machine does not deserve a RESET_RESUME quirk? >>> >>> >>> I hope my above answer helps to clarify why I believe the quirk is >>> necessary on his machine. >> >> I'm sorry, but no it doesn't. If anything, it suggests to me even more >> that it may not have been necessary. > > Ok, I've started another test-kernel build for the reporter this time > without any quirks at all and I've asked him to test. You were right, the Yoga 920 works fine without any quirks, thank you for being persistent on getting this tested properly. I will submit a patch dropping the Yoga 920 from the btusb_needs_reset_resume_table. Regards, Hans