Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp832644pja; Wed, 1 Apr 2020 09:31:16 -0700 (PDT) X-Google-Smtp-Source: APiQypJMFob6ddNr2ChVUs4ssn868/a213WO7E9uqMCSl6eJLMt5ow2SVjs9EQsKIM4ugNCfcIEh X-Received: by 2002:aca:c6ca:: with SMTP id w193mr3327234oif.165.1585758675873; Wed, 01 Apr 2020 09:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585758675; cv=none; d=google.com; s=arc-20160816; b=omZhWbGeMyYOL7sg2Me5LFwBT4ToR5SueoUVDTfYiWw6d1T5ghlQweuomEqkfqnAP7 gWkXOuPb1rlg1/b7l17KknZjo3M1EYLBMst8aFvxVqrhciGNiFt2RGKiozrhice3po8u KOcN1j3bVw3Zct4n/juBXr1sJAedstQlK7EtuByZm8AnJbf87/wll2Ad5x/EcwWNs+Kj nUH2ybGyO6E8cqpOAdOMQpJBLArOCu6NMK8XJXFdlmfRe1YjKKGhEiqgMq49BpovxIKe 4PXXUvQz2zIJEK9PlkmsQXNcHM3Ha/7ePm9BGusGekZt/2Du2BN6k/9UHQVi+/nqAfDu 3vgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Sy+4eaBgvn0SV1s8yTUWQLk3dgFhTHQC2UOtEZPnicg=; b=WQJOB7ns5YETdQq2eNLm1iNITDlye1P5pZavA6Gj0mBkK3yWMY9qbpOepzUn59oZVf v1MWmY8rT9BnZVhpk9O+ENcBwijrj/E/F4luLf9lVYnE5hNSHOTWwPlkSKPDTtC8sc5f CaGyVqWKXFE2pUXc1X6h0MLqAyB0knTyZ2PELtLdDbUOoGdfti0NhGidNXcoyjMgy/jA lUuVDzn1vuDxrOel6EnpQuNW1qOvxfPc9qUmT0L1lRaVU223NI0YpAQi5m5AKUuWA1uk lz88ZdfDiFAkn0W1ncZYApkoyWUjJnlM4C/M0fAYUUHe0MlgCExmlrRji6th00qZoZXd Vw8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a5yH9D76; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y123si1078612oia.141.2020.04.01.09.31.02; Wed, 01 Apr 2020 09:31:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a5yH9D76; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388260AbgDAQaN (ORCPT + 99 others); Wed, 1 Apr 2020 12:30:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:56060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388254AbgDAQaM (ORCPT ); Wed, 1 Apr 2020 12:30:12 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7446420658; Wed, 1 Apr 2020 16:30:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585758611; bh=1tX4S0+QPibSqEbZo24Qo6tnbpDV2afDLlug35vQ+dI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a5yH9D76J/MzEYqkbUsF8bZHl2zYwmW3rk3Q6hdBo3sFwuKhUQ6FsQhdrXJsgk/20 elCGWDBz0WlrbSbYtTVxnXTnmzrM9y0DQJYCvsy6Khxr+ZIjUuOaNcKcM3MWj0QK+k oBKa6JM1bHxSQColS6+b6wycnYZXPeyppkFc+rkw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, russianneuromancer@ya.ru, Hans de Goede Subject: [PATCH 4.4 09/91] usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters Date: Wed, 1 Apr 2020 18:17:05 +0200 Message-Id: <20200401161516.297886448@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200401161512.917494101@linuxfoundation.org> References: <20200401161512.917494101@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede commit 75d7676ead19b1fbb5e0ee934c9ccddcb666b68c upstream. We have been receiving bug reports that ethernet connections over RTL8153 based ethernet adapters stops working after a while with errors like these showing up in dmesg when the ethernet stops working: [12696.189484] r8152 6-1:1.0 enp10s0u1: Tx timeout [12702.333456] r8152 6-1:1.0 enp10s0u1: Tx timeout [12707.965422] r8152 6-1:1.0 enp10s0u1: Tx timeout This has been reported on Dell WD15 docks, Belkin USB-C Express Dock 3.1 docks and with generic USB to ethernet dongles using the RTL8153 chipsets. Some users have tried adding usbcore.quirks=0bda:8153:k to the kernel commandline and all users who have tried this report that this fixes this. Also note that we already have an existing NO_LPM quirk for the RTL8153 used in the Microsoft Surface Dock (where it uses a different usb-id). This commit adds a NO_LPM quirk for the generic Realtek RTL8153 0bda:8153 usb-id, fixing the Tx timeout errors on these devices. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=198931 Cc: stable@vger.kernel.org Cc: russianneuromancer@ya.ru Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20200313120708.100339-1-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -232,6 +232,9 @@ static const struct usb_device_id usb_qu /* Realtek hub in Dell WD19 (Type-C) */ { USB_DEVICE(0x0bda, 0x0487), .driver_info = USB_QUIRK_NO_LPM }, + /* Generic RTL8153 based ethernet adapters */ + { USB_DEVICE(0x0bda, 0x8153), .driver_info = USB_QUIRK_NO_LPM }, + /* Action Semiconductor flash disk */ { USB_DEVICE(0x10d6, 0x2200), .driver_info = USB_QUIRK_STRING_FETCH_255 },