Received: by 10.223.176.46 with SMTP id f43csp1087147wra; Fri, 26 Jan 2018 11:38:55 -0800 (PST) X-Google-Smtp-Source: AH8x227C9ax3cg3SrTZ8K9dZZt58dNiMvP51M8U513G2U61SaZLdbXb1CLBsGWFz0Ea0uiaVxVPx X-Received: by 10.98.160.25 with SMTP id r25mr20174781pfe.218.1516995535880; Fri, 26 Jan 2018 11:38:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516995535; cv=none; d=google.com; s=arc-20160816; b=XIaVFUVdGuMRLqghIZhZww17l68ycZ/f3lRxp/7Kd6VTrQJpqNWfSTrNE54W/ia7dA uYSO64tC9XaOUJBRGAWhmdgFYUWjcIzYzCn6VqI03AexaPHTspA6Zla7QVhc1joL963O Mm7mw1dT5pg6MNC1B7Cg+Q28pWV2a2rcAnxsyX8u+GSieHhTBSp9ADldJeqHGocLDCMO nhSyrp/oA/Fb39pnkptQhTUYiTLfuLjZc0V6YTpsIuR7S888QqDsVs5jStEHSWfLPL91 oGuPPtP537+Mx38ly0ytw3LjKC3uXmeWgrc411w6yXEzgm6pX8ngwwDq7lekH3lQbEkz nefw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=i96sUPfoSRumbe9VIhV494MDzTgOT9PnLDb1EqMKagg=; b=Y7jBArKCqb5pyAK0v6bKhtdr+D2gkmjIxRCOXGjvEuvcCY3p0KIW7g2oH90Zgau8eA jZBt2F5GchwOgK/EWV+XHTvY4N3puMqGjEejNdhLCCHrh74fSpO5RkkVJ6sFTla4pduk teNN1THnmaW7gzvYSHYXyIwsBn7eO/QlNg4tPL4W5TV3+oSi6lWldIedUtx8XvYYrY9+ g3NQSLDVYYI5jkC+7ZyBUQ4oynZtgCyOAz7+FcV+sWnoignrBHO05qfjKc73k115GA9O IW8HR/PJXUzV7FvhJ8ObWoLgDVzC8UbrLbYwy3L8rGR7QZHwletyHx5AlrNregijGgPW 7YRA== ARC-Authentication-Results: i=1; mx.google.com; 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 u4-v6si4145901plj.501.2018.01.26.11.38.31; Fri, 26 Jan 2018 11:38:55 -0800 (PST) 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; 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 S1751814AbeAZTh7 (ORCPT + 99 others); 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 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 994AB1AA80; Fri, 26 Jan 2018 11:37:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1BnJJxe5YDjQ; Fri, 26 Jan 2018 11:37:48 -0800 (PST) Received: from vela.lan (177.205.67.155.dynamic.adsl.gvt.net.br [177.205.67.155]) by osg.samsung.com (Postfix) with ESMTPSA id 49C921AA76; Fri, 26 Jan 2018 11:37:43 -0800 (PST) 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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