Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2048762rwb; Sat, 24 Sep 2022 01:58:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7U7kYKk8Sem93OkjNvmo6RG22LNsLLohHf1KfYNUu3vZKiQ/UCSPEaWapC0gC1jicDMpO3 X-Received: by 2002:aa7:d693:0:b0:456:e6ba:ecf6 with SMTP id d19-20020aa7d693000000b00456e6baecf6mr3670084edr.201.1664009883054; Sat, 24 Sep 2022 01:58:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664009883; cv=none; d=google.com; s=arc-20160816; b=pTb49TIgn+Kh6lDWn+8HQNRGtrJT/XAfyVXruRWD2Pu3/sIti28nlWwpSt9eHZkEwl ysRiks5KEEC2qHZKdvodq9dZ6g8NI5UFCk/1pTMAtIYgeG32A1RnvTqJ4NdgNrIaoBlP f8wDk4r+F55ceA99WmU6zesKQPtIzCWTVygdwltHo8u6RGIZaWt36zvyVwos6MJrQ+BF d127a58gevWuU+EJm3sWEkdyMISbzQrHIrwAcSYvdQ7yvHSa0QFX9EdaOTMXk07A3sqB mM0jMWykjuxtaajsIRCKfJxKD24YwwGxhAFHThq0TzFBLinDyqumXVAUFuShg6tDzSwz nfOw== 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=tQpi4kzdPD5EuhIi5cM8ck3MwcTjdVSJj8cohh2UjWQ=; b=QQH23619xcofukX+ypfy4bKdIqMCa6n3t3XFwsknluCj11piZHGvwnT//KdGoMDdYo +LiSznEM58KJEj9nEOwx5EsNMJaKscCn8zeum/Fyg0/u8YZvkGYIrDLvUPjpr4w2l37w 6360qvU7V9bjBjDbjmoNc6paSVx8oWbW0hJ3t8ZQ/jjmAkbn6HrdZdSEDJ6CY6H8SEdO TeMEn19+f5tjtWcGNBOTeCmOqSvROhXaBtgXF/taIGQ/O0xyV1kpSpgi63h1go9QjQuJ DZXtiJAArXiaRgyNLOTTuxG8OQvGZB/PJikGZo6GrvvArY5PSFHm4mqIb6eYxkrBYQL5 hvCg== 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 ds4-20020a0564021cc400b00446b76abb29si9264024edb.540.2022.09.24.01.57.38; Sat, 24 Sep 2022 01:58:03 -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 S233952AbiIXITG (ORCPT + 99 others); Sat, 24 Sep 2022 04:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233949AbiIXISc (ORCPT ); Sat, 24 Sep 2022 04:18:32 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D07E220FC; Sat, 24 Sep 2022 01:17:12 -0700 (PDT) Received: from [192.168.0.74] ([84.175.93.28]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MIbzB-1oWj0Z08jl-00EcnP; Sat, 24 Sep 2022 10:16:34 +0200 From: "Jens Glathe" To: mathias.nyman@intel.com Subject: [PATCH v2] 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: Sat, 24 Sep 2022 08:16:34 +0000 Message-Id: Reply-To: "Jens Glathe" User-Agent: eM_Client/9.1.2109.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------=_MB532E2D77-72CD-4502-83A0-2E7D4BF8CAEA" X-Antivirus: Avast (VPS 220923-4, 23.9.2022), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V03:K1:j/CgaF6gU18/AcFhUknKikKnBu+yAZ48N2wNrAkx2SvBu4RXOPC irE21aSuxaAISjZ40nLpitJ7UXFcep/vcuPKm/CkPNP4WmC4v6sdcLMeB8w+Br/StOE/rFW FS6MR71Fakfj8ww0yhh871FGILgkSbSd+VUIZK1e2T//z4sO0Koqmm9VrodM5B11+1x308l 0evbaHvgLLV5WuKTt4nsw== X-UI-Out-Filterresults: notjunk:1;V03:K0:kDHwy07K4eU=:bDS06RWxE4m6Bwlz5sA+v8 9OOEu6bOOxz928GOog/RN1LDgd0aIsHIZyiaVgaAeM2/cSusyBX06pDu7vpxkqxIZZsnugDx+ otZmqDeX7kTcHuo5ojUJOiuRB7FYEZRUICGOieG34IjdC3b3ByNXUTD9W9BJ4zFs+DJ8XuXL4 HkpJMsSwPIoP5ipWItzBCzGdwMfenbfp5f+00hmPQx/CmAXepLVm76Oo4g9GM1VlOqG4WAlqH ov+UoRl0ogpL/GYs+A42S74zH2MVb3iJI1gofzdpy1loEofN1WNQg3m/BmoVNyECmhDlx487t bNIcvjdYQZcpR8CY16hTiojeDrTbjbFnt59+jqO1CwMtsXF0IXc/X5oOmC/28hOomYg4Pm3pl gv30U6FMUU83eIG/PBXO2BVGl0WrWGYyId1XQOIHRg04IkyUH7UwiF70cHZ9iY7xeszCMiks5 292YCN79GpZ83nPlvyk3ry0KG7r0gRV5A0PbAskmKKbSQxUaf8y7zBFHlHuEKo/u25VBQahR/ ru3m0jI6p/ptETvafDbfTqk67ajHDKZCSbmGg2FNoFRExQZlNEp8atLZWnZF7gziJIR7tIQYO S6NZviNXjO3pPVxuQBClBcTpg3k+8MC4toLmgbfOTN+iN4Ur/AEd0vj3htT2jqcmd9Oec3Alf 1TlT8kJ42f2P03zJ2l74afVLG1OLIHTJXPtMkqgNK/mFfKLzPUi9L3rq/nP/WR3zzRmKKcBlK U8JULpJT2xbTGUVgMnadPVLs67T8eY7VZS0l+46n5k8/qmzLdsZT0zqZlwkm70lKLL9EEfTee bnenRJ9uCYBpxA6ZCx1xNU3VWDslw== 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 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 --------=_MB532E2D77-72CD-4502-83A0-2E7D4BF8CAEA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi there, second try at a patch which was an actual pain with my Lenovo T500 notebook= , augmented with an USB3 PCMCIA card that has an ASM1042 chip. Inspired by= this email thread: https://markmail.org/thread/7vzqbe7t6du6qsw3 ASM1042 identifies as a 0x96 XHCI host, brings spurious transfer event erro= rs with a r8152 (Realtek 8153a) USB3 enthernet adapter. Additionally settin= g quirk XHCI_SPURIOUS_SUCCESS seems to resolve this issue in this case. with best regards Jens Glathe --- v1->v2 intensive use of scripts/checkpatch.pl, reformatted the code reformatted the commit text for line wraps --------=_MB532E2D77-72CD-4502-83A0-2E7D4BF8CAEA 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 RnJvbSBmZmIzYTcwYTQ4YjkxYjc5OTQzYTAxMzFkZGQ0NzBlNWYwOWMwZjQxIE1vbi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