Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3680700pxv; Mon, 26 Jul 2021 09:15:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2glkgxEvjWa2MbeR0gE2Vora6Jq9GFWoUQxpS96ZAiciRtxjpXRnRP6XYwoHrdcanZWFy X-Received: by 2002:a7b:c3c1:: with SMTP id t1mr17690374wmj.25.1627316155768; Mon, 26 Jul 2021 09:15:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627316155; cv=none; d=google.com; s=arc-20160816; b=KQdL4bGgibvyC6WfqS5MwB+xGfQogVWGjZz/CVzfShNr74HMsuT0/LAx/wrIMPBP+2 zq1wwkNrRhUE867qjcMMPUGZ1oRMrjlmbnAE4JycMB1BaDtgrrsSsQQ2b+sHLZELAmbA VYKXcMYSRxTTwsh6F59yXXRnNv/6MJ8WN4nZRBTSv03TdE78tR49w1ZcQjsqEXm2ajKp SzOwZaJ8rIikT/MiBlXmzY0LfOg/MIosmRG3cYxly7bSG0SyyQsDdXIo5yZsleoU9SyC tspvg52Uz6FxDjDoRg0ue/kUhwUw0QWvq2OgYHiCPI1rhC5VFmvV7dnN0HtDmcmELFlI OhsA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4URSnvuBPLKIDwQlnliHX2nEgruVJIhlC3CTpw9iaFo=; b=USencyW6BUlKegaCObgbMM0ojxmV8P1xW2KvE3LA6pdS2OwTbL/QapZopFEP8KtSqI UUzzQaEVmwwUavSlfY/E1A7TmQc9zZeYlqxmYc+GyFDhO/wZhOT6PA+ZM/cyaFXktLWF y8CvwfC421S10wmi9JwcYUqUIjcMtTVoNk6ZgC9Dnu95l0G8on1KZvJBM3JgTCeeu7cZ DCtw0pUY4C1tMyrIFXDkr4OOnQbbU1dIwbyPSf4j3rt33DUkgN8nS+HMhLTV112AHRNy vZ1sgSQHbQfNp95rgRjtMaw6JZWWlQXGL2Q+pd2hHhkFGVEADMbvVp/LeW3F47Epr2R1 mbJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ri4ykVhi; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s26si235242ejr.465.2021.07.26.09.15.31; Mon, 26 Jul 2021 09:15:55 -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=@linuxfoundation.org header.s=korg header.b=Ri4ykVhi; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232390AbhGZPbO (ORCPT + 99 others); Mon, 26 Jul 2021 11:31:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:58180 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236908AbhGZPRu (ORCPT ); Mon, 26 Jul 2021 11:17:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3A1BB60F38; Mon, 26 Jul 2021 15:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627315098; bh=MNJU0L+q1hKxulz/tW3QH2Fq+OigmEg6BfIJcrXGKtg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ri4ykVhiYoZP9d6PXPYkS2VkWvh5N0nbwRaW6SIJa+iLRpCzrF2daEX+8kNobdv8P YKJZBK5hxZ6TJMFPthu1E72U14N6SKxyj/lVNeWXlNwUFim13UToI3oWp3J9w31sqX QLc5QqojxxZYDLcfpDY1AbhNVNRHQqfTxz8Uv0iI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vincent Palatin , Sasha Levin Subject: [PATCH 5.4 061/108] Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" Date: Mon, 26 Jul 2021 17:39:02 +0200 Message-Id: <20210726153833.648811178@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210726153831.696295003@linuxfoundation.org> References: <20210726153831.696295003@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vincent Palatin [ Upstream commit f3a1a937f7b240be623d989c8553a6d01465d04f ] 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 Link: https://lore.kernel.org/r/20210721092516.2775971-1-vpalatin@chromium.org Fixes: 0bd860493f81 ("USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem") Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- 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 f6a6c54cba35..d97544fd339b 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -502,10 +502,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.30.2