From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753652AbdIDLqZ convert rfc822-to-8bit (ORCPT ); Mon, 4 Sep 2017 07:46:25 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:54510 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753449AbdIDLqX (ORCPT ); Mon, 4 Sep 2017 07:46:23 -0400 Date: Mon, 4 Sep 2017 08:46:16 -0300 From: Mauro Carvalho Chehab To: Honza =?UTF-8?B?UGV0cm91xaE=?= Cc: Linux Doc Mailing List , Linux Media Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap Message-ID: <20170904084309.7382864a@recife.lan> In-Reply-To: References: <20170903215404.425af4aa@vento.lan> <20170904060629.2f8feeab@vento.lan> Organization: Samsung X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, 4 Sep 2017 11:40:59 +0200 Honza Petrouš escreveu: > > So, IMHO, the interface is broken by design. Perhaps that's > > the reason why no upstream driver uses it. > > I have the same feeling regarding brokenness. > > > > > What seems to be a much better design would be to use the demux > > set filter ioctls and route the PIDs to the right CA. > > > > I don't have access to any programmer reference documentation > for any modern DVB-enabled SoC, but I see two possible scenario > of connecting descramblers to the demuxes (most of modern SoCs > have more then one demux) - static one, when every demux has > predefined descramblers already connected to it and dynamic ones, > when any descrambler can be connected to the any demux. I don't have access to the documentation either, but I know some designs that have multiple demods that are dynamically set. Some hardware even allow to dynamically change the maximum amount of filters per demod at runtime. > From that reason I vote to have some descrambler specific ioctl, > which allow more flexibility then if we add it to the filter set ioctl. I suspect that doing it at the demod does a lot more sense. Anyway, someone should come with a driver requiring it upstream for us to discuss and find the better alternatives to support. Thanks, Mauro