From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Cyrus-Session-Id: sloti22d1t05-3581720-1516995496-2-5893957964073856072 X-Sieve: CMU Sieve 3.0 X-Spam-known-sender: no X-Spam-score: 0.0 X-Spam-hits: BAYES_00 -1.9, HEADER_FROM_DIFFERENT_DOMAINS 0.001, ME_NOAUTH 0.01, RCVD_IN_DNSWL_HI -5, T_RP_MATCHES_RCVD -0.01, LANGUAGES en, BAYES_USED global, SA_VERSION 3.4.0 X-Spam-source: IP='209.132.180.67', Host='vger.kernel.org', Country='US', FromHeader='com', MailFrom='org' X-Spam-charsets: plain='US-ASCII' X-Resolved-to: greg@kroah.com X-Delivered-to: greg@kroah.com X-Mail-from: linux-usb-owner@vger.kernel.org ARC-Seal: i=1; a=rsa-sha256; cv=none; d=messagingengine.com; s=arctest; t=1516995495; b=mcUmeu5ej1x1u4AISAfDAyLNVovDGAvAn55KvUt9WILow7Z Knz6w5cO2HKTaYzLVgJTNz2G6jwsatGWK29BY35+7hH5y20jaeyZiz3YeCdHJhws c7aLagw1UZSLxMlvRqik0HJtqmBTe3DtcNEBQWMmyHpJpXGe0LWPbqdp3kHaUli6 dFv/NxzDkaHNSa0emKRP2ExCqR6sXXUqYIc8A7+/0kcf8QzN64GP2sD08Qg96J9S ZATvEZoHEkK3hZpAv+dV157WMd6psuC16k+X7g4kdxki9X1+b4w2r7DSUwrJGQQ9 /2RiJ2JCrG7PAQ7GlOLYgZf/aHs0T0LOBSp49rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:list-id; s=arctest; t= 1516995495; bh=DjoKi47k5FVuUsij+MjLEw/Btzb6vK9L6cOKXgV9ZPY=; b=R ziNnRxDpy8bKc7RjnCUssvsTnE9k84cietvWR9gDeIVMn9zt21cnVgHEUvJ+YuKY jXDli5HCDKY3k1nwtogAic3ELKI50Ipch6mNA8q0m8lME3O/9Zbmi9jU0ABvvxx8 uqgqe5152NzJJdCbD6E3L7Tn7cRG1O3YqSITJm2GMqSi0vlwTY6r7RFRyd1oC6i4 BUpcjMFNqq/lwWeL0LR10+rDfcq/zCL343M3fpMKJMWzGnzTo3cW/0lukodzYuMN c8d2f5P1V1PdoZnnJ6Br9ZA6+eN9yTkRUwKvPpsSGbDXLYb41xZhP65U96isVLLY Ctg7NpjBECgAEw4ZaEChQ== ARC-Authentication-Results: i=1; mx5.messagingengine.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=none (p=none,has-list-id=yes,d=none) header.from=s-opensource.com; iprev=pass policy.iprev=209.132.180.67 (vger.kernel.org); spf=none smtp.mailfrom=linux-usb-owner@vger.kernel.org smtp.helo=vger.kernel.org; x-aligned-from=fail; x-ptr=pass x-ptr-helo=vger.kernel.org x-ptr-lookup=vger.kernel.org; x-return-mx=pass smtp.domain=vger.kernel.org smtp.result=pass smtp_org.domain=kernel.org smtp_org.result=pass smtp_is_org_domain=no header.domain=s-opensource.com header.result=pass header_is_org_domain=yes Authentication-Results: mx5.messagingengine.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=none (p=none,has-list-id=yes,d=none) header.from=s-opensource.com; iprev=pass policy.iprev=209.132.180.67 (vger.kernel.org); spf=none smtp.mailfrom=linux-usb-owner@vger.kernel.org smtp.helo=vger.kernel.org; x-aligned-from=fail; x-ptr=pass x-ptr-helo=vger.kernel.org x-ptr-lookup=vger.kernel.org; x-return-mx=pass smtp.domain=vger.kernel.org smtp.result=pass smtp_org.domain=kernel.org smtp_org.result=pass smtp_is_org_domain=no header.domain=s-opensource.com header.result=pass header_is_org_domain=yes Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581AbeAZTh7 (ORCPT ); Fri, 26 Jan 2018 14:37:59 -0500 Received: from osg.samsung.com ([64.30.133.232]:37880 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751212AbeAZTh5 (ORCPT ); Fri, 26 Jan 2018 14:37:57 -0500 Date: Fri, 26 Jan 2018 17:37:39 -0200 From: Mauro Carvalho Chehab To: Alan Stern Cc: Linus Torvalds , Ingo Molnar , Josef Griebichler , Greg Kroah-Hartman , USB list , Eric Dumazet , Rik van Riel , Paolo Abeni , Hannes Frederic Sowa , Jesper Dangaard Brouer , linux-kernel , netdev , Jonathan Corbet , LMML , Peter Zijlstra , David Miller , John Youn , Felipe Balbi , Grigor Tovmasyan Subject: Re: dvb usb issues since kernel 4.9 Message-ID: <20180126173739.5f581a21@vela.lan> In-Reply-To: <20180126121737.70710f02@vela.lan> References: <20180126121737.70710f02@vela.lan> Organization: Samsung X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-usb-owner@vger.kernel.org X-Mailing-List: linux-usb@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-Mailing-List: linux-kernel@vger.kernel.org List-ID: Em Fri, 26 Jan 2018 12:17:37 -0200 Mauro Carvalho Chehab escreveu: > Hi Alan, > > Em Mon, 8 Jan 2018 14:15:35 -0500 (EST) > Alan Stern escreveu: > > > On Mon, 8 Jan 2018, Linus Torvalds wrote: > > > > > Can somebody tell which softirq it is that dvb/usb cares about? > > > > I don't know about the DVB part. The USB part is a little difficult to > > analyze, mostly because the bug reports I've seen are mostly from > > people running non-vanilla kernels. > > I suspect that the main reason for people not using non-vanilla Kernels > is that, among other bugs, the dwc2 upstream driver has serious troubles > handling ISOCH traffic. > > Using Kernel 4.15-rc7 from this git tree: > https://git.linuxtv.org/mchehab/experimental.git/log/?h=softirq_fixup > > (e. g. with the softirq bug partially reverted with Linux patch, and > the DWC2 deferred probe fixed) > > With a PCTV 461e device, with uses em28xx driver + Montage frontend > (with is the same used on dvbsky hardware - except for em28xx). > > This device doesn't support bulk for DVB, just ISOCH. The drivers work > fine on x86. > > Using a test signal at the bit rate of 56698,4 Kbits/s, that's what > happens, when capturing less than one second of data: > > $ dvbv5-zap -c ~/dvb_channel.conf "tv brasil" -l universal -X 100 -m -t2dvbv5-zap -c ~/dvb_channel.conf "tv brasil" -l universal -X 100 -m -t2 > Using LNBf UNIVERSAL > Universal, Europe > Freqs : 10800 to 11800 MHz, LO: 9750 MHz > Freqs : 11600 to 12700 MHz, LO: 10600 MHz > using demux 'dvb0.demux0' > reading channels from file '/home/mchehab/dvb_channel.conf' > tuning to 11468000 Hz > (0x00) Signal= -33.90dBm > Lock (0x1f) Signal= -33.90dBm C/N= 30.28dB postBER= 2.33x10^-6 > dvb_dev_set_bufsize: buffer set to 6160384 > dvb_set_pesfilter to 0x2000 > 354.08s: Starting capture > 354.73s: only read 59220 bytes > 354.73s: Stopping capture > > [ 354.000827] dwc2 3f980000.usb: DWC OTG HCD EP DISABLE: bEndpointAddress=0x84, ep->hcpriv=116f41b2 > [ 354.000859] dwc2 3f980000.usb: DWC OTG HCD EP RESET: bEndpointAddress=0x84 > [ 354.010744] dwc2 3f980000.usb: --Host Channel 5 Interrupt: Frame Overrun-- > ... (hundreds of thousands of Frame Overrun messages) > [ 354.660857] dwc2 3f980000.usb: --Host Channel 5 Interrupt: Frame Overrun-- > [ 354.660935] dwc2 3f980000.usb: DWC OTG HCD URB Dequeue > [ 354.660959] dwc2 3f980000.usb: Called usb_hcd_giveback_urb() > [ 354.660966] dwc2 3f980000.usb: urb->status = 0 > [ 354.660992] dwc2 3f980000.usb: DWC OTG HCD URB Dequeue > [ 354.661001] dwc2 3f980000.usb: Called usb_hcd_giveback_urb() > [ 354.661008] dwc2 3f980000.usb: urb->status = 0 > [ 354.661054] dwc2 3f980000.usb: DWC OTG HCD URB Dequeue > [ 354.661065] dwc2 3f980000.usb: Called usb_hcd_giveback_urb() > [ 354.661072] dwc2 3f980000.usb: urb->status = 0 > [ 354.661107] dwc2 3f980000.usb: DWC OTG HCD URB Dequeue > [ 354.661120] dwc2 3f980000.usb: Called usb_hcd_giveback_urb() > [ 354.661127] dwc2 3f980000.usb: urb->status = 0 > [ 354.661146] dwc2 3f980000.usb: DWC OTG HCD URB Dequeue > [ 354.661158] dwc2 3f980000.usb: Called usb_hcd_giveback_urb() > [ 354.661165] dwc2 3f980000.usb: urb->status = 0 Btw, Just in case, I also applied all recent pending dwc2 patches I found at linux-usb (even trivial unrelated ones) at: https://git.linuxtv.org/mchehab/experimental.git/log/?h=dwc2_patches No differences. ISOCH is still broken. If anyone wants to see the full logs, it is there: https://pastebin.com/XJYyTwPv Cheers, Mauro