Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3662586pxv; Mon, 26 Jul 2021 08:57:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFnAD1UPFaurxCU7G4L7twDRHcv40Xf7A4srO0pyeCPdq//vkXS1k7OWa33NwhlmiMiGH/ X-Received: by 2002:a05:6e02:12a8:: with SMTP id f8mr13595571ilr.82.1627315073632; Mon, 26 Jul 2021 08:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627315073; cv=none; d=google.com; s=arc-20160816; b=GNdGys46hrWLVNv6NLrO38rL4M4u2D4xJ5bESG13/+fp5qwT4ntla6EdkUKzs+Bh6o /bVvD5HH3P3HNIK1NPtMPQAlZBhL+phw2qGWEm+kGMuKhuuOBKJESTe8S6obfVV5pdbD yhXLAW4BqxI09TLs4E8IRgSZKxH2TgJ33NodiXThE0OKpgWVCOircWFIwgYNCx49GFt2 gvzOuMLCb9abdkcAfIPEb7YWh3LUVsVqC1KxTM509VCKyCJ6FH636akSMeRp6k7r//Ne 31CCbMsTpEvFysbYGpRV5f3ECpGGra5o+0FpSPa1halU2ytHq2VU/hJ4d2kXpMR3t4n2 ME+Q== 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=xLP8yVfpBy8WbUmDIqWJV3pb1fg2aj+2ereAbRmAk8A=; b=HrIF5qfZEVNDpFZ9sz/kO5289ad/LDJi0/SbJfvJxX9M1Xfibc1dI/zNsoSB0zOOiw EVI4AMv5XuOqlpqT8Saqw1UKc3IYeziyuc3ZCdXN7MNOyD5576XJ93GitQ5cl8hp9CL9 3ueFFrB3qy/a2HAbPx1oiGtKmBmoKzCpv95Otqz6CYzjhTlhYxmRVdUMtvoMjCJL7vUh YsFiNy4V2N895I9DPcEgf02IfYirdd/Pj38Nho8SWHhdR5uVS/zymaliirn5ADms3fYG YsGHL14IgjemycCppuBjTb2fAYECMQv2U8Q/098WG6APTcqRgoNtU/PZpnwU1nKZOTba KEvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tArY0jGM; 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 f4si205643ilu.143.2021.07.26.08.57.41; Mon, 26 Jul 2021 08:57:53 -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=tArY0jGM; 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 S237484AbhGZPPv (ORCPT + 99 others); Mon, 26 Jul 2021 11:15:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:48546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235942AbhGZPHU (ORCPT ); Mon, 26 Jul 2021 11:07:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6051F60F92; Mon, 26 Jul 2021 15:47:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627314469; bh=X7710NCHpz6oUxDg0kBLlkL9tSb+vJeb/1o2FpZRwpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tArY0jGMsvRWpuRvif3tGCJ+8sac4+Iqpdy9a2RZdQGA182ZLStZvFEtfFtMSUC5a CYCwdZbPIx5eKxooGoSWhdBjVsu31XvWtICKWqEb3dbQFAn92wLKrZJ2h6cmJ3WLDi YaJ/PtgvyKaat7Q5QNDkT5dF1+n5ytYg406w7WGA= 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.14 57/82] Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" Date: Mon, 26 Jul 2021 17:38:57 +0200 Message-Id: <20210726153830.027791559@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210726153828.144714469@linuxfoundation.org> References: <20210726153828.144714469@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 3dfd584a1ef3..2ca6ed207e26 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -325,10 +325,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