Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp893000imm; Wed, 17 Oct 2018 09:52:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV636nkknrxAh1GRXa0T4b2gh6enPAu/1DsxEfabqvrO2ooqq6VYjOgJlFMx2j8FbqG8B8tDw X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr2528338plb.6.1539795143472; Wed, 17 Oct 2018 09:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539795143; cv=none; d=google.com; s=arc-20160816; b=vkvBgjTcVAymqzu0tOc+osXidFh4xqJ5pLtcyb1SlL/meNakVKNDUjEpdp/W8Sz7qr UF1aBkw3CZTRi30Z+wqZ+8gPWmnI4RxNMBzTIJuUOwyRm3cqAkEpBr5AjENtrrWnNMGT UTZ0pc8YaWbFDElq3mz+CJbYwikJcSt6WqoMGwoQhjqYKxELMQ4MBGWp/qVKFKzyES/P pzdp08wpI/o0nUVJfZ1UQ8kEGN53boaUSxJoWbru5ROYYB/VwID7NgYr2pvYftENMU+V 9bAdiDmnPQZMaCfzJajurjP/oQ2fbZxmYVXZU76MqI1PNDlYeFOWxaNudifEackldv8J 4poA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qD2o9cmZz1jmzArJMVT5xubFcFRB++jYEz/m2rEDk+4=; b=MCuS5DOz5hosCkPT3/Io7+8hYwEC/xIhfP0MvKP9zCpLUuv6T7T4xUoELte4qFcepo ySHs95Lf/IF/pTE2EWbnA/1mkR/ddrxH6pD+5ztEL4TZ4OauL+OPayJ7S8p3qDCwB3ao wLuVfgAKAVDzF5xyuxJEMEOjkK2+cG93+goy80PHrfNuL+F3ymie//P8QLQU2RaZi5lG U89D4xA8lkbeppOrHOhe0ziv7adRiaUYDTQMR3rRCzJLkbnq8A5dLsX5ryPeecn93AhC HT3ixInDqNksIZpKwVCsSSjya6IHesmMArwCHuRkyhCz9ksj91EymMi3MM6xFqH1Tpja 4zfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qXZx6aQ4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7-v6si19073483pgl.345.2018.10.17.09.52.07; Wed, 17 Oct 2018 09:52:23 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qXZx6aQ4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727408AbeJRAr6 (ORCPT + 99 others); Wed, 17 Oct 2018 20:47:58 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42765 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727053AbeJRAr6 (ORCPT ); Wed, 17 Oct 2018 20:47:58 -0400 Received: by mail-wr1-f66.google.com with SMTP id g15-v6so30482644wru.9 for ; Wed, 17 Oct 2018 09:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qD2o9cmZz1jmzArJMVT5xubFcFRB++jYEz/m2rEDk+4=; b=qXZx6aQ4HRSAzKelDC/jAbJRiaEGkxp9kH3ucfusUmnpa606agug64k1kzVQz2Ifvw Wjbr5tpiLtfKSHgDZrMgzUDTKHZ+sGICg6UlqVdR2odjtCUEEaU/kmDDkICgwoACaW8r Ryl8JBykXc5qnAjQEh3G0gssyWFk2+pN4DcEerExQUrJHbELIGRq5FyOXb0mKaB26kOi vEiPyC404BDXIroCSGnIJGsOfoOuW6PB6Nd2tbCqZDaqgGDW081QU4dYwijvGjLiON33 1UQGSiOHcCK2tCyxxlogJKG1pfZSUwD+07e5+li9Uo3s3+sinHYb76eIRqQj2BZraMkc Pemw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qD2o9cmZz1jmzArJMVT5xubFcFRB++jYEz/m2rEDk+4=; b=KqQMsvkM/4vXe25ZeOBcXK2y3KpDJ5kf8EE8YjIrWo0EotvyaFfCwMTXsxaMzegOyX 0i2Iffm78UXN77yTwUfa44XaneDVIBU2KGzwEcZN+vlQ4jcCftrMJly6WFencRcp4150 RktlVCelsWME7a79H7iLBFYeLWQCcYp+z2+53aCvF6UwK/Dz2LbdjwMF4ZYGE9QQ3Wwm 2TzDnxkpV9WBP3BAfx3GS//12hM0lyJQm07MYI/dYXh4N3kQYctk3k8em7YXIvAdO25z e73hTsdy+hpvr0PFSGvxUR+R5suN9YORA3vshsZJbC1tjHZaziRSXdAwoNw6zLn+8EJD Ssbg== X-Gm-Message-State: ABuFfogSo1LP+cVcXPUd2O6lW77Q1Tok7gpxtLPAHc6c4A4sDU/yDgk9 7Lr+ol6TMKGJMGv2rvg4fQAt0z0vfW5qWiz5AJc= X-Received: by 2002:adf:fd83:: with SMTP id d3-v6mr24198586wrr.25.1539795084337; Wed, 17 Oct 2018 09:51:24 -0700 (PDT) MIME-Version: 1.0 References: <20181004093747.21750-1-tuomas.tynkkynen@iki.fi> <1715113043.52878.1538821118324@email.1und1.de> <20181017101831.b5kvh5jw3sqqhbat@mwanda> <87bm7stwhv.fsf@anholt.net> In-Reply-To: <87bm7stwhv.fsf@anholt.net> From: Peter Robinson Date: Wed, 17 Oct 2018 17:51:11 +0100 Message-ID: Subject: Re: [PATCH 0/7] staging: vc04_services: Some dead code removal To: eric@anholt.net Cc: dan.carpenter@oracle.com, stefan.wahren@i2se.com, devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, tuomas.tynkkynen@iki.fi, linux-rpi-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >> > Drop various pieces of dead code from here and there to get rid of > >> > the remaining users of VCHI_CONNECTION_T. After that we get to drop > >> > entire header files worth of unused code. > >> > > >> > I've tested on a Raspberry Pi Model B (bcm2835_defconfig) that > >> > snd-bcm2835 can still play analog audio just fine. > >> > > >> > >> thanks and i'm fine with your patch series: > >> > >> Acked-by: Stefan Wahren > >> > >> Unfortunately this would break compilation of the downstream vchi > >> drivers like vcsm [1]. Personally i don't want to maintain another > >> one, because i cannot see the gain of the resulting effort. > >> > >> [1] - https://github.com/raspberrypi/linux/tree/rpi-4.14.y/drivers/char/broadcom/vc_sm > > > > > > I feel like everyone else already knows the answer but why don't we just > > merge that code into staging? > > Dave's been working on a new VCSM service where the firmware can call > back into Linux to allocate (instead of just having a permanent carveout > of system memory that the firmware allocates from), and lets us make > dma-bufs out of those buffers. That driver makes a no-copies v4l2 media > decode driver possible, which would then let Kodi and similar projects > switch from downstream kernels with closed graphics to upstream kernels > with open graphics. > > Given that the new VCSM service is a rewrite, it's not clear to me that > importing the old VCSM driver is a win. But maybe we should go raid > https://github.com/6by9/linux/tree/rpi-4.14.y-codecs-push-pt2a and grab > the new drivers. Upstreaming the VCHI audio driver to staging has > clearly been a win for it, so maybe other eyes on the new v4l2 codec > could help Dave along in stabilizing it. I think that makes sense as long as the firmware side changes are in place so it can actually be used. Peter