Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1364838pxf; Fri, 19 Mar 2021 05:49:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYP/s4ZtMAG55+bHFOQEEQ+VugMqmjF/BiYC4RPj8Ue8KarpmmN0HA9TTT4R1hGpVBvBnr X-Received: by 2002:a17:906:b2d6:: with SMTP id cf22mr4104053ejb.321.1616158173273; Fri, 19 Mar 2021 05:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616158173; cv=none; d=google.com; s=arc-20160816; b=xgC3FG3pPRpzVi5gKyF0YAre8+UANUoKAQLqyyZjyv8LWAnjeSiPPb6TbMHgS26ptS AMZGMo3HvbcLLedraf81uFlDVt3FAdE0oXpGV84Vbv1DNRtPFoxHPbk2oTvUGAw5qUo4 1wXnEvrOjCylcsVvZgsWh0Df8OlARX+l0rGiiBp4d/O4d8c/noZDXUgmqTd8/SfQh2BP O0pyv4k5M3TLFvbTuuVllNVc11KXvEYd2uV1GjEf1o9WWOfavX3HdArQdYiNEa9ZxLNE i4PHiZMFYzwSc1L1G4tjbdhWXKtGXqIwmw8sCuNbUU7i+E7wETYx/qZ15oxSm8N8ZNBJ fL7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IE3kb1rl77acKmUSLIWnjLCfSHxiy9IgMN+TT6TYALI=; b=MP6QySztB6PoUZBnhhy6MQ3B+EWiVQAqWqitiKnss+bysxbOXG2KThS/TwpOEYeno6 OTqP5UM2xGPXQ6pEizTl7PmMl2NLduKvd77XSpgrzAFAFKsj40JJbz4BDFdpIg7Bx4zh Y/uNQD0SXgwXPhfUfSOMDkFyRJe7DxUZqS6rAKZE9dHWupswl7qgl76bhztdwak4vUK2 NPoLPUZt01+R1N+P/kVFKWpNISNjLodTGHfMAF/rd7e7439lxmmF06bn+NKyvXJdtpa/ xqMIYKpd4i48RQ/oeS3WsHSgwauuIdknVsOjUReSX0NO8Wj6hN3PtQ+ZQFzy889kOs3h WYKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="CWY/ekvW"; 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 qt26si4141129ejb.216.2021.03.19.05.49.09; Fri, 19 Mar 2021 05:49:33 -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="CWY/ekvW"; 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 S230107AbhCSMp7 (ORCPT + 99 others); Fri, 19 Mar 2021 08:45:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbhCSMpb (ORCPT ); Fri, 19 Mar 2021 08:45:31 -0400 Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4F0C06174A for ; Fri, 19 Mar 2021 05:45:31 -0700 (PDT) Received: by mail-ua1-x92e.google.com with SMTP id w16so1700507uan.9 for ; Fri, 19 Mar 2021 05:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IE3kb1rl77acKmUSLIWnjLCfSHxiy9IgMN+TT6TYALI=; b=CWY/ekvWIi695h++8vRnOc/Ti0ZcUUG14tiDuxLd0lwLvmGdXAxyqjroP7wvrJHHG8 wbv1+tI0yqASImcGQEZ68Yq/QTNJS3lrLsB6YScGZYbK3ZT+fwYCOU7K0rIDIIUL3rMZ erw2Dx3EZXvcSGvTqIFpd48pUhCOsTvUC3E6c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IE3kb1rl77acKmUSLIWnjLCfSHxiy9IgMN+TT6TYALI=; b=oudYpRFRmJzokk49wqnIYNBLi/sW/5Cg/R6gfKQ6BZs0tdPoRkzhRv4ERZOlt0yoPS jloTdHq5DwgAOpAB+46NkZNyAulkbz4Tt5D94yAWnoJ57mPctrN+OTjU0UXKbfQ19M0U njdDhWMcvXT7L8mBoW7KWtxEfoD2ECgeBLmev2NfbZDxEtVba3hx+hG4/tVrOVXak2tQ yHJs0ooXVji1V7hDCkUhmIHjKyZ3WvI8Q14OpMVt74EnEmopMPquU9l/hR1Km4aCmgXP BCxVqWb/AY2MF93feRNsWB08XbrqrwlEEs6ASpaTGxsoDQ6i8nPDaJrP1W+nKjIjDkV3 CFPQ== X-Gm-Message-State: AOAM5322BO3Ycg2CuR9hW5pJV0D/NrEyRaJrUiMycHRWinJFX+Vk+Jy5 58CPPDnAYP7imWOwf/7J+bZoCcp3831MR7y3auDkcbNmt9g= X-Received: by 2002:ab0:7c6c:: with SMTP id h12mr5014914uax.102.1616157930210; Fri, 19 Mar 2021 05:45:30 -0700 (PDT) MIME-Version: 1.0 References: <20210319124140.2314640-1-vpalatin@chromium.org> In-Reply-To: <20210319124140.2314640-1-vpalatin@chromium.org> From: Vincent Palatin Date: Fri, 19 Mar 2021 13:45:17 +0100 Message-ID: Subject: Re: [PATCH] USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem To: linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , LKML , Johan Hovold Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 1:41 PM Vincent Palatin wrote: > > This LTE modem (M.2 card) has a bug in its power managment: > there is some kind of race condition for U3 wake-up between the host and > the device. The modem firmware sometimes crashes/locks when both events > happen at the same time and the modem fully drops off the USB bus (and > sometimes re-enumerates, sometimes just gets stuck until the next > reboot). > > Tested with the modem wired to the XHCI controller on an AMD 3015Ce > platform. Without the patch, the modem dropped of the USB bus 5 times in > 3 days. With the quirk, it stayed connected for a week while the > 'runtime_suspended_time' counter incremented as excepted. Forgot the sign-off-by I will re-send > --- > drivers/usb/core/quirks.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c > index 6ade3daf7858..76ac5d6555ae 100644 > --- a/drivers/usb/core/quirks.c > +++ b/drivers/usb/core/quirks.c > @@ -498,6 +498,10 @@ 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.31.0.rc2.261.g7f71774620-goog >