Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4420980rwe; Tue, 30 Aug 2022 09:46:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Mowk8S5tXlIdeh+l1Q9iNpC0ObZJ4HXc1w+3Vh5sRwLA90KvMt3JtjJ1fGjJU0yXzMuh8 X-Received: by 2002:a17:90b:1c8a:b0:1fe:1536:5617 with SMTP id oo10-20020a17090b1c8a00b001fe15365617mr2652137pjb.246.1661877972010; Tue, 30 Aug 2022 09:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661877972; cv=none; d=google.com; s=arc-20160816; b=gzcPSr1nXE1G5GUnn+iJS8lCpQIL+Y/Ck4CtVZ62xqLnbXndxmh/J1rTg1OKyK8v6+ iU3cQUC8FBKZnSkF6R8dt5SUijOq99gxJApvibbEtTD/YO1vzDTFNXtu9j8Y9tzbu0/O +4BeuN2Wpjt4Jn4blQxuRC5Z5LTAfDw2mbJbeBaKc+qNPf4bQtc7SOK5tK7EoR2Tdlp0 sP1gWvvYTun92rrMgcY+vGMPABl9x/E7S+aB/PGTsVSwAO9PAGB+synsgijZCb5KtbU8 DcoUpJhodj+I6nWT2yjhczd7cQlqkKjKI38mhKA/E0eaZ+BpdtXjAM9FDc6ZNw/xj1tZ X0OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:reply-to:message-id:date :cc:subject:to:from; bh=j7EzxCXYoIFldj1gkvDsc6JThw+sE+42voX1pnfbiPM=; b=v5nuNh6/zLnF29pnXdhi2O9A95KopLNmnOdbbuwZ6gwVJJJ85SdIz+JOVyInp9CG9Q HDtBfh/0T26hQQ9uDDSvF6fwAImVX4lzks0BXWoHRW3q7Odr+AGYlnKmd4TBnAFSTfLq 4Pk3J759+dOSG0/TzlJ10w4PRXx+69haR8QNDIniN8Qnu58Lhpi9kmZVWoCqPjLk3g7r uisTReE+aIDGXUfhDP35UN29kqZEr7ppK+ujMMMEwSaLydInyr/5eVJFwn3LfbAmaZaS A60DsNd9aIF0moHMY7WLSh8evNewiRmfXwNdAi7v+gEicTVc+sdDa84zs3IRSOM1NfpK wMIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n5-20020a638f05000000b0042b438eeee1si2495129pgd.148.2022.08.30.09.46.00; Tue, 30 Aug 2022 09:46:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbiH3Qb7 (ORCPT + 99 others); Tue, 30 Aug 2022 12:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiH3Qb5 (ORCPT ); Tue, 30 Aug 2022 12:31:57 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A60B8B980; Tue, 30 Aug 2022 09:31:54 -0700 (PDT) Received: from [192.168.0.74] ([91.64.235.177]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mj8Vx-1p5xjd0PHJ-00fCHk; Tue, 30 Aug 2022 18:31:48 +0200 From: "Jens Glathe" To: mathias.nyman@intel.com Subject: [PATCH] fix: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 30 Aug 2022 16:31:47 +0000 Message-Id: Reply-To: "Jens Glathe" User-Agent: eM_Client/9.1.2109.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------=_MB3241BCED-BD68-41C7-BA37-E3D7783F0573" X-Antivirus: Avast (VPS 220830-6, 30.8.2022), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V03:K1:06BnlqnG/Q1vMM+tYaQjtE+/EPWOxCcUeMYUonqvD1llIz9ZNbH OR1yJNab236L7Jzf8y8knJbfR8e16B1nv0/JXRL8QED6YjNvgIWaQ99fL7Kvqv8ttO4eejE DohW2pBGGg5beePDEBNp+JTyKt0/5ovl1WEHPLD6ge3xkNdLovio+h3zvsOa3ZiPHoCVnbO 4HxMO8J+N/rWQ9LMn88jQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:2KGciDdT2wc=:ct5ZKgbBHpmYjwhpkOVLK7 iEcr+HA9Z2b8SFqfgkP4gIXozO9+Cogf9b2K/XDau+PONNdF7pud51q4pCo6F1np8yQZx5P3g YH6OPN+RlCcAegv72oubPRVCdYXH51zOH/MgAqIpPIaCt0iKVrChM/2GC7kOE6hXgzaZxjkTS ke3QRMtxWWuOCUTeaIn97p4+diVFFmy5Lz+RBAS0Oj2GcQObHesoSLBRgYzG4EFExs4zEAUfl 5VZh3QyzZ7eBWAzgyubnMph3/ESQzxlUyNluX/B+qSW5vb3+D2M0/pMe6Mhaj6cbCAnZHJ2Bl dGuuHAKteSd744nsfgT4LbPj2aMi0mguXHLFIEi9BBHYKqkPw7xOu2lomvNZ0RSPXGNq+k3tC jYHbAFuV0pG+p2r2WAjzQBxftytACgMgjEpWKVFxK9jRiilsciEeEP33icOVNxM3ffJvMVMgP cZX/yBn3onDQM1OfeII+MYEVeHBHV6XPP3qgKCIqS+10QPRt3Bw6QQgCnYyLVIrB18mq+TO0D PDYB0mbvQAOd+zwGpEzaIm6pjR2yv54Ia5y2adXXw1dVdtEsBMwwxPO+CQgAL09xDTA6Px79w eEXmVuZZdPWgEYFAM8IJzNZl57mR5cywmHDks+l9L3t0X/2rGH1VjcEhB2p/t5GBUwms96Y7q T4TBe78JqyULGXdJRNkyru6GHcDN1ajXNwUtV/oUX1Vd6DEsF1+vo59lg3nYHOhuLJNE/ACqX jEyPM6I8r1oIzYIf9YeL1dk0q5CNDP2xefhPYnwQRFSnSsOuviHnZbmROmQ= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --------=_MB3241BCED-BD68-41C7-BA37-E3D7783F0573 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi there, first try at a patch which was an actual pain with my Lenovo T500=20 notebook, augmented with an USB3 PCMCIA card that has an ASM1042 chip.=20 Inspired by this email thread:=20 https://markmail.org/thread/7vzqbe7t6du6qsw3 ASM1042 identifies as a 0x96 XHCI host, brings spurious transfer event=20 errors with a r8152 (Realtek 8153a) USB3 enthernet adapter. Additionally=20 setting quirk XHCI_SPURIOUS_SUCCESS seems to resolve this issue in this=20 case. wiith best regards Jens Glathe --------=_MB3241BCED-BD68-41C7-BA37-E3D7783F0573 Content-Type: text/plain; name=0001-fix-add-XHCI_SPURIOUS_SUCCESS-to-ASM1042-despite-bei.patch; charset=iso-8859-1 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-fix-add-XHCI_SPURIOUS_SUCCESS-to-ASM1042-despite-bei.patch RnJvbSBlYWMzNDEwZWVhZjAzYzExMWFkZDRkY2UyNDdjNDAwMmZjNThiYTVkIE1vbiBTZXAgMTcg MDA6MD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