Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp500774imm; Wed, 17 Oct 2018 03:53:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63vtQ+15lZlPl3aq4n0GS1icgC5vr0R3iPZ9CNP188H4AzdHajyTSZOyZB+xPjxK5AqkOyM X-Received: by 2002:a17:902:82cc:: with SMTP id u12-v6mr24595383plz.146.1539773616608; Wed, 17 Oct 2018 03:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539773616; cv=none; d=google.com; s=arc-20160816; b=d9THuQORnLva8ZhlAp96kg8CjYNCoWGwB/3TseHo3rLQox2Tg2Zm/94Uup4Ottn593 ga1rMamzTAFrm57WP/4GtcqXC/U/QuizVOfv+F8fTYHwYuHlBn1l7YD9ANb0rRR31tZd yWfzIMzEr09LmjdIuKxRSHqTpyxS5PxzfKyD6gohOI7BOZKF2a7TepbGUF3bIyDZ+KU1 xCFWzsDYe6zgdMdPMv9nEAwcxa3Yk8vamxFcI4bRqYb1pIu2/AtYipdYGgqOiB7GsoR1 G4k+8FombrFMG1ir8MHaEz9CMWwMscTY/IU/XkOMGw9b4rxE9m18grscxidsqLactwCq ZPjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=c02B095vNyfVeGJK0QyKUvaQztY6X2HC+UhuiUt4A94=; b=LCMQvS1XUvfycBvStC6zLC46MndiANkYRz+S1BiD9hj2Yd551ISCrs6p09tsecFzoe tQHDqLzluYXusoLI09oNFbz3szsIY9X9HRb8ZWJL2+3HfXQV28beTxxId3JknVZDlsap IJtGjyzFwECtiIFAFYLyW5/3Nat/X30bC1MZ508DSkAhdLqV7o3DKkieJiOWCqor60v6 RtF6fuYsKdyrv1J8fRppZKRvELF/+0rL3sAU8EeZq5O1iRGhwNkC5PZRYbKm55fWZbpA uB15CjRg7T3Fynfz8A0d51fZyCgyGcaIOklqU3Up8xN64aBsZ/6fqAireDlg+B0xDOkd lrHA== 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 a6-v6si19073879pln.78.2018.10.17.03.53.19; Wed, 17 Oct 2018 03:53:36 -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; 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 S1727214AbeJQSqZ (ORCPT + 99 others); Wed, 17 Oct 2018 14:46:25 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:53079 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726868AbeJQSqZ (ORCPT ); Wed, 17 Oct 2018 14:46:25 -0400 Received: from [192.168.178.69] ([109.104.44.135]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LcbEF-1fka0d1ItL-00k7BT; Wed, 17 Oct 2018 12:50:56 +0200 Received: from [192.168.178.69] ([109.104.44.135]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LcbEF-1fka0d1ItL-00k7BT; Wed, 17 Oct 2018 12:50:56 +0200 Subject: Re: [PATCH 0/7] staging: vc04_services: Some dead code removal To: Dave Stevenson , Eric Anholt Cc: tuomas.tynkkynen@iki.fi, Phil Elwell , devel@driverdev.osuosl.org, Greg KH , linux-kernel@vger.kernel.org, "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , Dan Carpenter References: <20181004093747.21750-1-tuomas.tynkkynen@iki.fi> <1715113043.52878.1538821118324@email.1und1.de> <87a7nf5gr9.fsf@anholt.net> From: Stefan Wahren Message-ID: <530d012b-50c3-ca03-a37e-fe62ac309e02@i2se.com> Date: Wed, 17 Oct 2018 12:50:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:hjvPuCvfNVRTTb1RCmWr5FlttXPKu9tKmoqkUWpn2QZ6FwpspiK +061o2yoWERWFC8f4qaqLkEybP9gyItzPaeFhIUk67LYVoHwz2Vd+vPGDiaiGJPQLdmxdNl ZeUTiWyUpa3C+RMHXRgytCygDyrzHmuy/CKikHks/z0N2EPAbqRTWcrPRCMv9jQn2o01lrP /MR8tniUjMWyD+V054DZQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:SaUGiqW4Fk0=:zDZV24LqlJwZTAart60GLG Yq5dxY90hBShiXbP8g0qXV+B2HH3/YPplO2IGFwc0GNIRe1cD0kV9HCktBomH/Z/tw3pJtKMP zPoZwKTy9nr2Kj3EaZHw8u1jW3lxVI4CqjZbdejhZF3jx1qM1uE0H7IvUdnvTxiQPlLXW0G+n kaFZHbMNUOR1pxRK4tmz1VKx+4XdYk5n3PJ+jQtDhhR4vww/rs1Mnt4e01d/31K0dXWawUEPB TOdWKJmPVAwrNq60Pr3ix/0iyQtpNAAsn55g3T+zWPLR3OgBJUT8O/U1pox+Ee1v4punjTA/s D7WGfJyeFD+SJzTw4ldF5mX880g4GEAarZeC3XyVj3bTy1rAFVSuwOJ8wTjSwZEHcGa5cOH2N y5Ks/SZwiZNdkj3k5DO5I0/53OQZfHYYWife+MaKm1nA+4t4teTopMBbe2hgcJvCOOM85hBTg Sk/YvztS+j+deIsA9i8PGu7pICPT1IMmwewjUND9xjF8s4f54Wi2/7IZXJDORlFVRJJflasBo Odepn/Xz1ZyAUOOC2Yo/jyWb6OmetzlUmm2g3uKvIhNPX5OF55R7hxjvR1jRNJQ/IosCicPkV U6jea1Eyrqbt4WYBi1uuc62GsRMUJv1B7ywBm0zYNnvvuB06F4ii++2pgzlxHXdtlSPsHZtl5 o6fsvHjRR7x5LhZhDewlAhAjNWs2rn3f2w6GF+KgeoL/LI9LgWIyuFP0Clh65jyw1ztEJ+QSU Dyw6M721CFjkK+Bl Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am 17.10.2018 um 11:55 schrieb Dave Stevenson: > On Mon, 15 Oct 2018 at 17:27, Eric Anholt wrote: >> Stefan Wahren writes: >> >>> Hi Tuomas, >>> >>>> Tuomas Tynkkynen hat am 4. Oktober 2018 um 11:37 geschrieben: >>>> >>>> >>>> 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'm happy enough to work around these changes. Once the change is in a > released kernel we can merge a modified version of vc_sm into the > downstream kernel branch. It's not as if it requires big changes. > >> I think the main concern would be if we removed things necessary for >> 6by9's new vcsm (the one that will let us do dma-buf sharing between >> media decode and DRM). > The new vcsm uses the same VCHI service as the existing downstream vc_sm driver. > The video codec driver don't use any VCHI functionality over and above > the camera. It goes via a slightly extended version of the > mmal-vchiq.c, which I have split out into a shared module. my statement about the old vc_sm based on assumption there wont be a user of this driver. In case the camera driver would use the new vc_sm driver, i would be happier to see this merged in staging than in downstream. Stefan > >> On the other hand, git revert is a thing, so it's not like we actually >> lose anything. > :-) > > Dave