Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3163199rwb; Sun, 25 Sep 2022 01:14:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7DDPHpQuLKp6vKbx+m7sjfqN+xOZjeD+yocTrvPq5AkehyvhDGyW4I1JJd8wKurevE6xko X-Received: by 2002:a17:902:d58d:b0:176:da94:e6f7 with SMTP id k13-20020a170902d58d00b00176da94e6f7mr16791114plh.11.1664093679272; Sun, 25 Sep 2022 01:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664093679; cv=none; d=google.com; s=arc-20160816; b=etKr288vuh8kgfAovXwWu8O3jixVWNzrz1qVwr+OXMhCDS2r4ZDYEthrnNHBhG/6WT 6U5Vz9igjDUs+TWkUBQonT5eja3G942DdXXPyWGmtQpEdnvW56di6TnZEWAYAbeeZYPE D0lXme7AcJnZQi1UGR+d7S1/V7CwzGi/Onk0xo0nfJlJEY+lHueaQ0m20COyZvblW760 btUvW/utf62FgFVQcALy4IjsC+y08SRvwF00bRUuEzQae6CwYoyDfVugqU/XRK2LPiwl GsqBtl5FIONaUdHdxifoG+TQaRVhvz3ldjaf1nHdn6fErcreh6FdnbLA8l29+EZXM89y MpzA== 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:reply-to:references:in-reply-to:message-id:date:cc :subject:to:from; bh=A9qKM0mKHiYivKU/B6LVoyUqqYumRXypJHiDjIKmpgw=; b=aVrcBX+4RfbqIJU7nKyS8Mb+Lmi7o8Fj74V+8LrtVMKy1tOIGpSLaEZOD0mcDLIYSB KjxQCl/aDTPmXT+7GGNKW2iQ+qjvCG2HkVX6X9YBYtcfICmM+iZquqJxORW2dRuOhcFM pRhFmhL0VtR4TYTOJDVvgSGRL3ju/ZN1Xl2J8bBq+/h56grm8SEwwihgKKEmevEat8QK IAt0mpI3WfTeiGLlBWejPEEXvah4ioujQkVGm5Vg9WiZ4z7+2lXwfAxA5tbQvLvs1j1m bAzpuPAGWC3OqaoF4nJMr1UzAXrisgjBZFPpm5hZKIlHtod5RmCJh5aMKwjKx2m1IK7H sSzg== 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 g32-20020a635660000000b00439e6a52bb4si165932pgm.620.2022.09.25.01.14.20; Sun, 25 Sep 2022 01:14:39 -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 S229672AbiIYHvC convert rfc822-to-8bit (ORCPT + 99 others); Sun, 25 Sep 2022 03:51:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbiIYHu7 (ORCPT ); Sun, 25 Sep 2022 03:50:59 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5148539121; Sun, 25 Sep 2022 00:50:56 -0700 (PDT) Received: from [192.168.0.108] ([91.64.235.177]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7sYM-1oYWvD334c-0053mu; Sun, 25 Sep 2022 09:50:49 +0200 From: "Jens Glathe" To: "Greg KH" Subject: Re[2]: [PATCH v2] fix: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Date: Sun, 25 Sep 2022 07:50:48 +0000 Message-Id: In-Reply-To: References: Reply-To: "Jens Glathe" User-Agent: eM_Client/9.1.2109.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K1:52rf65inMBMmyrIZ+seb/zigRzsdSHf/6hANlgtHpAKAtAQfis8 IIn1uXix7qRGjSdFR8+tAnjr2d5Cxkdz+BhykgQkuJm/YYGmyHkuaLei+yPlf2lzAGldrXA EF+c4KvJw88it43dI0fgTCozsoOYW7gta41bszCImEJtx1UwpH7BGiScIrhYtBPDgXbgOqX pXa0AzE1JFDNmWYkyYXDg== X-UI-Out-Filterresults: notjunk:1;V03:K0:RZLZFZIuoGE=:8JYpD2qzRGyZRHP9buRo3A 44o0Ed3t0lRWehmwhhppJZOU023Men4FI/fpLtrKM32/jQUFtCaSmjL5cAP3EpTL0Ng4S/2mL Af/2E97kww8XOaZ6lruSwDnibNLxU3Yj0SSTewVuCnMaJ50y6gczeydcX4eofG6MW0CBTBDNc OsKT4n4o4Aq+G2LmHa12/LrVW39UMUsb6kAZuxiH8KN4FBGpCOslgpM94FJpEmFgUS0MVo4nH mYdFrLRh6NhTAUbv+e7c43XLrKFEskTgzOMqMj/ql9Xv3WEJS2NLPYvBvPSgpz+vDWa3dBHvK 3oyoSXGWQZd3SDABckw27WBEHqwF2Y+an1m2JIGMRcEmcVjOcpJeDdwIU9OHg+Pb0OcXL0xMA 6m8xYHtAGkEGn8NrrPYD7w9lSAxwfZnRHqZHz9NrIjqSEwO14svIYC0oMg5xLXTZouSxBaATO KSDwsxB5HzwkqEAbT1ZylS480uwtDDxnb0mQZ9FJ40UUF3zjU6jIEvJYmkxfWfNsl0/htxjdU ObJKMrpP6449iZmHI8nQb+dhIzkMrxz/6x4uMOOchlokvKwvrgeYqDzqZbreTMZ29SxaZ1c6h uv7MQtj4VrqTO0KbpoeGX5gknu9+tdq6PTHoDk7Lg9y6igP6m3+VYvXWiTAinPS9+av7LYOw6 aeM4KMWHmY4DRIMVgKZ4AhoTQ+5Z8iO21Xq/FpPjtEb/1SUs20omO/zC+7f+tHFxgYgEmSFBG ufcyZ7YvDI9twqLM7l0gWzp9ImI/jNQEp0eRN6YVuA7FqE/WYieykIS2VYQR7VZiDozqATk4k 2XffQ0ZflMF7c9KFLxThqJtrboNcA== 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 Hi there, I'm a bit at a loss here. This is a three-line change, and I get loads of warnings regarding "please, no spaces at beginning of lines". I also got some about proper indentation... what now? Anyway. I have reformatted the whole section that replaces the three lines, all tab indents. Script/bot doesn't really like it, but looks proper to me as a coder. Anyway, the issue at hand is a bit bigger. I installed mutt and git-mail on the dev machine, and it actually works. But guess what, when I want to mail out the patch to the maintainers, it gets rejected by the mailer daemon (not on my machine, some MTA on the way) because 1und1 (my isp where the email address I use is registered) has a low reputation and gets blacklisted. So I go and use the eMClient on my Windows machine and attach the patch file... I could do an uuencode and copy/paste the text, maybe next time. Also, I happen to not understand this patch and patch resend business, apparrently. I tried to fix all check errors of scripts/checkpatch.pl, and amended my commit in my branch (apparrently this). So this is still one commit... and the patch is one patch that should go into an upstream commit... and that should be it. To conclude, - I tried to fix the format - I can't fix the other MTA (and I won't go out and get employed at intel or something to have a respectable email address) - I don't understand this resubmit business. Can you please help? In the meantime I will re-read "The canonical patch format" for further insight. with best regards Jens Glathe ------ Originalnachricht ------ Von "Greg KH" An "Jens Glathe" Cc mathias.nyman@intel.com; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org Datum 24.09.2022 10:47:48 Betreff Re: [PATCH v2] fix: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller >On Sat, Sep 24, 2022 at 08:16:34AM +0000, Jens Glathe wrote: >>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 errors with a r8152 (Realtek 8153a) USB3 enthernet adapter. Additionally setting 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 > >>From ffb3a70a48b91b79943a0131ddd470e5f09c0f41 Mon Sep 17 00:00:00 2001 >>From: Jens Glathe >>Date: Sun, 28 Aug 2022 16:23:41 +0200 >>Subject: [PATCH] fix: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a >> V0.96 controller >> >>only if it reports as a V0.96 XHCI controller. Appears to fix the errors >>"xhci_hcd
; ERROR Transfer event TRB DMA ptr not part of >>current TD ep_index 2 comp_code 13" that appear spuriously (or pretty >>often) when using a r8152 USB3 ethernet adapter with integrated hub. >> >>Signed-off-by: Jens Glathe >>--- >> drivers/usb/host/xhci-pci.c | 10 +++++++--- >> 1 file changed, 7 insertions(+), 3 deletions(-) >> >>diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c >>index dce6c0ec8d34..f8b3b34d257e 100644 >>--- a/drivers/usb/host/xhci-pci.c >>+++ b/drivers/usb/host/xhci-pci.c >>@@ -305,9 +305,13 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) >> xhci->quirks |= XHCI_EP_CTX_BROKEN_DCS; >> } >> - if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && >>- pdev->device == PCI_DEVICE_ID_ASMEDIA_1042_XHCI) >>- xhci->quirks |= XHCI_BROKEN_STREAMS; >>+ if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && >>+ pdev->device == PCI_DEVICE_ID_ASMEDIA_1042_XHCI) { >>+ /* try to tame the ASMedia 1042 controller which is 0.96 */ >>+ if (xhci->hci_version == 0x96) >>+ xhci->quirks |= XHCI_SPURIOUS_SUCCESS; >>+ xhci->quirks |= XHCI_BROKEN_STREAMS; >>+ } >> if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && >> pdev->device == PCI_DEVICE_ID_ASMEDIA_1042A_XHCI) { >> xhci->quirks |= XHCI_TRUST_TX_LENGTH; >>-- 2.25.1 >> > >Hi, > >This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him >a patch that has triggered this response. He used to manually respond >to these common problems, but in order to save his sanity (he kept >writing the same thing over and over, yet to different people), I was >created. Hopefully you will not take offence and will fix the problem >in your patch and resubmit it so that it can be accepted into the Linux >kernel tree. > >You are receiving this message because of the following common error(s) >as indicated below: > >- Your patch contains warnings and/or errors noticed by the > scripts/checkpatch.pl tool. > >- Your patch was attached, please place it inline so that it can be > applied directly from the email message itself. > >- This looks like a new version of a previously submitted patch, but you > did not list below the --- line any changes from the previous version. > Please read the section entitled "The canonical patch format" in the > kernel file, Documentation/SubmittingPatches for what needs to be done > here to properly describe this. > >If you wish to discuss this problem further, or you have questions about >how to resolve this issue, please feel free to respond to this email and >Greg will reply once he has dug out from the pending patches received >from other developers. > >thanks, > >greg k-h's patch email bot