Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5320763pxv; Wed, 21 Jul 2021 02:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxwxXKu/mWIl2r08oXxoddZ9GVZIfTPa75DGwGeNvZJZ6xc76ciiNX+F0fGxWTxx9D2kPX X-Received: by 2002:a05:6e02:f05:: with SMTP id x5mr23145385ilj.268.1626860094937; Wed, 21 Jul 2021 02:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626860094; cv=none; d=google.com; s=arc-20160816; b=HoVqCiPzIfrpsRlUiUZAzm1r+PndojD02kWg0e8RrMG5T2P1YlmGf0Zh1v+hnG9UR8 wO28eSs9sT4Xq/t2aoZ+mXxWQ7Vdq84iSUgimVlaRtlEfjQaMbtuUqci0XGxmuAZNmyl /S3qFDSHkLIhbhJxrFSDMQvYcLIub2q5BuyuY03GgsWsWYNUG43F0h3iH0TVkdTQNZCN Z/b2jBfNsSBS2tjmDu7DmTlKNmeP/Gf99E3VDwLH4N+bYabO1wTKDQ1/xtVa48PjMLAP wXViLoa7b3nJpsSR8oN1+3akSbEfWAlbKHguM5coQ9KtWygZuXtI4shEkU9kjTa0vByz /onQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=w/FaWHb0i91yDSZNyn23ErYkJgUh4BBCPr1dM/7bd9I=; b=AXTXg+O3IVkWJqXfjm2On9PQrU0I+pqeV1j2W8o7yl1tFPXA0L9yeH16bXfpvNWO28 6tfDZZ5oyD4wAJnJV2ds4xQbwrZAn5BsWKeW7QcBodGYKzL5ZwnxeUIaBYwuo14eL3On 0DXODw2+v7VBakRe4L15n1ZvOjwW999Tn90tVe4mvd0kioOpHmMlghfKVimOuGoflTve uSMaoTt4PrfEFuG0+9cdlSXzsGCRgECXfzmUdmb3fy9shi/DuUhw67NFOZym+F2AD+ZV gRyDl+AsXfS7kzFEpGcm8PjzHGd5ELLnBULkht3GNoSxSyc+I8oQAA1GLtelVuWSuEku NNgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BfOA4Wcs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y1si14741020jap.90.2021.07.21.02.34.43; Wed, 21 Jul 2021 02:34:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BfOA4Wcs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S236926AbhGUIv2 (ORCPT + 99 others); Wed, 21 Jul 2021 04:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237955AbhGUIor (ORCPT ); Wed, 21 Jul 2021 04:44:47 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F366C061574 for ; Wed, 21 Jul 2021 02:25:24 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id c12so1412830wrt.3 for ; Wed, 21 Jul 2021 02:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w/FaWHb0i91yDSZNyn23ErYkJgUh4BBCPr1dM/7bd9I=; b=BfOA4Wcs+k0Z4DcPavHhymrT6AumK0v8Lb8Sdj8OyAhLhFPiC1vEibLtQAu+zqgNU0 QauqmAqpPYvaQ5PUPCW8rIosG1nFNpX1Ap4GHQHx3MQG1U2TFOHPuSAIXRR08VrzcdrD YDR+sI0I4+cJYNEes0fYnERv9v/6uZZZeaqIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w/FaWHb0i91yDSZNyn23ErYkJgUh4BBCPr1dM/7bd9I=; b=LH8s5g6a6GDcYo8SseV0J6HtMk1Rg5mwAoHm7Q2eGfxT8Bgvc5Ev3H1XyFG8IAaoGC TPrHmbRVV1ANJxqmtonFxbrUvpy7hjvbgB7kaGFWJE03h0cP/HXYMeyJgVT39nO1tTVU zDBECpuEKOYTvoK6y6daLLf570LRPzA0bf4xZwYBatv6NxyQFwFRg4EIw2CAUw0eN/BL Aq7kJJc57kgeNS4Fy7GvlKDWn9mi0vjH4kHhfFEcujb7Lnyi22mQ0niqeYPnEzGEcHaf tO6YBJ3MJEbyXLVfCXgx2hoKH1Gx5OEiF41UUr8jG6aeAjrwbDMVDSeOO/QDxxaDLxNf MGxg== X-Gm-Message-State: AOAM5304O2HDrDbDOo/WJYwKoFzKvT6P6TKOQ7W8KGod8tdBCldiEFgc mK1Pe6/0EZYnH2CfEWXo0qcuLw== X-Received: by 2002:a5d:5589:: with SMTP id i9mr31520933wrv.8.1626859523300; Wed, 21 Jul 2021 02:25:23 -0700 (PDT) Received: from vpa2.c.googlers.com.com (230.69.233.35.bc.googleusercontent.com. [35.233.69.230]) by smtp.gmail.com with ESMTPSA id d14sm26467491wrs.49.2021.07.21.02.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 02:25:22 -0700 (PDT) From: Vincent Palatin To: linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Johan Hovold , Vincent Palatin Subject: [PATCH] Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" Date: Wed, 21 Jul 2021 11:25:16 +0200 Message-Id: <20210721092516.2775971-1-vpalatin@chromium.org> X-Mailer: git-send-email 2.32.0.402.g57bb445576-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 0bd860493f81eb2a46173f6f5e44cc38331c8dbd. While the patch was working as stated,ie preventing the L850-GL LTE modem from crashing on some U3 wake-ups due to a race condition between the host wake-up and the modem-side wake-up, when using the MBIM interface, this would force disabling the USB runtime PM on the device. The increased power consumption is significant for LTE laptops, and given that with decently recent modem firmwares, when the modem hits the bug, it automatically recovers (ie it drops from the bus, but automatically re-enumerates after less than half a second, rather than being stuck until a power cycle as it was doing with ancient firmware), for most people, the trade-off now seems in favor of re-enabling it by default. For people with access to the platform code, the bug can also be worked-around successfully by changing the USB3 LFPM polling off-time for the XHCI controller in the BIOS code. Signed-off-by: Vincent Palatin --- drivers/usb/core/quirks.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 6114cf83bb44..8239fe7129dd 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -501,10 +501,6 @@ static const struct usb_device_id usb_quirk_list[] = { /* DJI CineSSD */ { USB_DEVICE(0x2ca3, 0x0031), .driver_info = USB_QUIRK_NO_LPM }, - /* Fibocom L850-GL LTE Modem */ - { USB_DEVICE(0x2cb7, 0x0007), .driver_info = - USB_QUIRK_IGNORE_REMOTE_WAKEUP }, - /* INTEL VALUE SSD */ { USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME }, -- 2.32.0.402.g57bb445576-goog