From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:55227 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965294AbcKLN7z (ORCPT ); Sat, 12 Nov 2016 08:59:55 -0500 Date: Sat, 12 Nov 2016 11:59:26 -0200 From: Mauro Carvalho Chehab To: VDR User Cc: LMML Subject: Re: Question about 2 gp8psk patches I noticed, and possible bug. Message-ID: <20161112115926.49fcd6cf@vela.lan> In-Reply-To: References: <20161108155520.224229d5@vento.lan> <20161109073331.204b53c4@vento.lan> <20161109153521.232b0956@vento.lan> <20161110060717.221e8d88@vento.lan> <20161111104903.607428e5@vela.lan> <20161111195353.3b4ee8e0@vela.lan> <20161111201011.2ce05c47@vela.lan> <20161112061443.4c7cfd3b@vela.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Em Sat, 12 Nov 2016 02:20:37 -0800 VDR User escreveu: > Ok, I think I had too much patching going on (I switched from 4.8.4 > kernel drivers to media_build) so I started from scratch with a fresh > update to kernel 4.8.7. First I applied the dma stuff in this order: > > (from https://patchwork.linuxtv.org/patch/37395/raw/) > v2-18-31-gp8psk-don-t-do-DMA-on-stack.patch > (from https://patchwork.linuxtv.org/patch/37386/raw/) > v2-19-31-gp8psk-don-t-go-past-the-buffer-size.patch > (from https://patchwork.linuxtv.org/patch/37929/raw/) > media-gp8psk-fix-gp8psk_usb_in_op-logic.patch > > It works fine at this point but we still have the attach bug. Then I applied: > > (from https://patchwork.linuxtv.org/patch/38040/raw/) > Question-about-2-gp8psk-patches-I-noticed-and-possible-bug..patch > > Attach bug is fixed, tuning works, module unloads without crashing. > Everything seems ok! I think the gp8psk issues are resolved with the > above 4 patches. As you know, there are some other drivers which > attach the same way as gp8psk was. > > Thanks for your help & patience! Great! > > One quick question.. Shouldn't gp8psk_fe be listed in the "used by" > column of dvb_usb_gp8psk or the other dvb_* modules?: > > Module Size Used by > gp8psk_fe 3803 1 No, the way dvb_attach works don't list what modules use it. There were a pathset fixing it back in 2008 or something, but it were never applied upstream. > dvb_usb_gp8psk 7344 19 > dvb_usb 17495 1 dvb_usb_gp8psk > dvb_core 62327 1 dvb_usb Cheers, Mauro