Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3712975pxv; Mon, 26 Jul 2021 10:02:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsShBKWBCqLOV9osDvBTTjU062JXKiKondNqhTB2cN+wBwPgThiCCTZFSCkz28UtWlLsqm X-Received: by 2002:a92:d344:: with SMTP id a4mr12824190ilh.230.1627318939639; Mon, 26 Jul 2021 10:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627318939; cv=none; d=google.com; s=arc-20160816; b=0HIUI1wB6aK//8eso11GtEUUhDLubwhb1TG2CmcVTYQwrUYMc0cCp/GEqyE5FnS7Gw 69TvGBAaPtpoxQivlA69Uhcf8J6oLEy78/DyKDbTmDJAmiaJ7D9xKVA6JUsZU9NZ5yKY TlQxF21SW1VAtdO1Yiy/Z54bN9amYEp1FxIfTbCkpDA6GpsgNcS22JU3wH369+NoKNER 164TCZDdAKtUEo6LH41TR0pI8MdZzJWi1Ldmdc6YhUIme4sRhRJx3XgFvqU6IDORqj2D mW32VjcrHhzOTs1h4XhSxGZkc1S+sCbshEbkkUJoDfeJnxSQjir2bTXqyoQIPHZAksHB YZVw== 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=QruPrMYX3MkROHnoVvtJTcS1liN/r3YV4j5uNgGpNvbuJZIjlUX3qOqe6ukUoK8uJo uvFKBRYCLgYELjmp7xJk8GoKHLyyg+jv8qrfJzYlC7uYRD2W15ErADMHDhjK2q04dDmM vtodLoivsfpMl8NHY33PUrzk43GSq220H6GSGrah76jTjJ8FTwsVcdDWw9PcI+TziawI nVkfF+2v4hBQg7SiyP5WRZBrtjYbLCLm/7JADGDMx+Cm+lvU5BrXZr1fqqLI5UAtOSE6 J2auaOtKw2QOf2Tw7nOwH5wKpI2ET2ST1CvziDubMXZNcKyqx7oHR9SmaUwcMie+9gd2 rmTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R50T2jgN; 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 y26si396312iod.1.2021.07.26.10.02.06; Mon, 26 Jul 2021 10:02:19 -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=R50T2jgN; 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 S238270AbhGZPj2 (ORCPT + 99 others); Mon, 26 Jul 2021 11:39:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:36996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237285AbhGZPWX (ORCPT ); Mon, 26 Jul 2021 11:22:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68A8660F93; Mon, 26 Jul 2021 15:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627314768; bh=MNJU0L+q1hKxulz/tW3QH2Fq+OigmEg6BfIJcrXGKtg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R50T2jgNr90r9F9BsbOOYiZ6sphnpHl2YtJUJuXXQO92dapLswTSk/zQvj/R+cfYq dxaV1i+57ESQc8CwD6xr42RHeSk58i9fFqzJrGTVN1LEj9/TQ6oegTibc/bQMeTqpi zCi0fgCzykcogL9G7K/dArfZzLSzBWs+6Da6VSYs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vincent Palatin , Sasha Levin Subject: [PATCH 4.19 085/120] Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" Date: Mon, 26 Jul 2021 17:38:57 +0200 Message-Id: <20210726153835.107426588@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210726153832.339431936@linuxfoundation.org> References: <20210726153832.339431936@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