Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp594521pxa; Thu, 27 Aug 2020 10:18:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmRR5LEuVhUkIEvi0KKFEjaejI9mZ8UcLx+8NZHOxMA7LvBT69poXrSPRTOdCsGN/Ej3h6 X-Received: by 2002:a05:6402:2062:: with SMTP id bd2mr21751201edb.101.1598548711044; Thu, 27 Aug 2020 10:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598548711; cv=none; d=google.com; s=arc-20160816; b=ioZEySMsdpC3xs2FLybXXmvMpMKhS/rgjGv5SRDpy2rdQNDWyrLc2apzWj1efGYbBX PchMTJYLoF0WU4V/335geo1LagVwiXUQ4OyJ5EIoaoCk5tLOi2OivVeuRRDBZSDahcgh ciU4fsIsQ2/+mwPisMa1QwbbB7HUMyMdoXckO5LZ7Wqmb9rJ9UjubZqsYyKWlzzKdgj3 ZMcNxkWIOqNgQB1wqkjyBRFBHIBxJb3vHa/MMj8NqRIA7wA4KuhC/yT6zv69mUQ00aEo gKxh39iU1S2BSTyP9157iztEmIDv9WoGzzjx3412M7FI0FD8uCim5Uuu8wXsBmGKsMgT o9ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DHy8P9nfckhaWSMGbYH2EO935iviEOoc3mxkAPbGzgM=; b=UybvI8eGv08EwPfeO0Dd+/VrvAylt6YC8Ffwg4vAgYNMq7hDcGTkjVlcpOYyBbtSy+ +RpPgQAbNJVjXJU1beW1LEs7UcxFgYlWQfGdggCpPHLdNWv5VIVYMEgKzT6I1dBzYSSS 7v11XyowXweiAp6h2S+aZR17gA4K9LWEvLw26n6HVuGtEovJawUhLr+HPUW/P/rMhpc1 kJX4ESmKXwAYgCXSNDtO5zKp/M6cSP6+TOA7lMQfVSw0s2d7vbG4exunWl8GYO1OHiLP lON+F9AL36SfsvC0ajahD9+bNCbZcuN04/EwYwuPcb1Bs2BcxA7bHlgCAApwx/K16CUw kZJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qQxS8ZMZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si1679041eje.669.2020.08.27.10.18.08; Thu, 27 Aug 2020 10:18:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qQxS8ZMZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726924AbgH0RRf (ORCPT + 99 others); Thu, 27 Aug 2020 13:17:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:38936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgH0RRd (ORCPT ); Thu, 27 Aug 2020 13:17:33 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 29A452087C; Thu, 27 Aug 2020 17:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598548652; bh=PltBLwlOgKxxGKPfhP0kyIlXe7QOuvH340zu37AK8pU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qQxS8ZMZsnBv7N611D2Tho2iEQbWLST2pzCypEmgeZ4yEWmdmyTFXZpme3ML7zC/u +RNWjiZbFgVSthur1Fyuze+ggvQMEI/K0cncNdNotb0NFxNM3Tk+uU1mjftss79ar6 7C3vglXoXWoOtYTmN94LSLymGwYwxgH7qzotbOlo= Date: Thu, 27 Aug 2020 19:17:45 +0200 From: Greg Kroah-Hartman To: Amit Pundir Cc: "open list:ANDROID DRIVERS" , Christoph Hellwig , Android Kernel Team , Todd Kjos , Martijn Coenen , lkml , dri-devel , Christian =?iso-8859-1?Q?K=F6nig?= , linaro-mm-sig@lists.linaro.org, Joel Fernandes , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , John Stultz , Suren Baghdasaryan , Hridya Valsaraju , Laura Abbott , Shuah Khan , Sumit Semwal , Christian Brauner Subject: Re: [PATCH] staging: ion: remove from the tree Message-ID: <20200827171745.GA701089@kroah.com> References: <20200827123627.538189-1-gregkh@linuxfoundation.org> <3d8de519-65b3-123b-8ace-e820982884e0@labbott.name> <20200827160506.GC684514@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 27, 2020 at 10:31:41PM +0530, Amit Pundir wrote: > On Thu, 27 Aug 2020 at 21:34, Greg Kroah-Hartman > wrote: > > > > On Thu, Aug 27, 2020 at 09:31:27AM -0400, Laura Abbott wrote: > > > On 8/27/20 8:36 AM, Greg Kroah-Hartman wrote: > > > > The ION android code has long been marked to be removed, now that we > > > > dma-buf support merged into the real part of the kernel. > > > > > > > > It was thought that we could wait to remove the ion kernel at a later > > > > time, but as the out-of-tree Android fork of the ion code has diverged > > > > quite a bit, and any Android device using the ion interface uses that > > > > forked version and not this in-tree version, the in-tree copy of the > > > > code is abandonded and not used by anyone. > > > > > > > > Combine this abandoned codebase with the need to make changes to it in > > > > order to keep the kernel building properly, which then causes merge > > > > issues when merging those changes into the out-of-tree Android code, and > > > > you end up with two different groups of people (the in-kernel-tree > > > > developers, and the Android kernel developers) who are both annoyed at > > > > the current situation. Because of this problem, just drop the in-kernel > > > > copy of the ion code now, as it's not used, and is only causing problems > > > > for everyone involved. > > > > > > > > Cc: "Arve Hj?nnev?g" > > > > Cc: "Christian K?nig" > > > > Cc: Christian Brauner > > > > Cc: Christoph Hellwig > > > > Cc: Hridya Valsaraju > > > > Cc: Joel Fernandes > > > > Cc: John Stultz > > > > Cc: Laura Abbott > > > > Cc: Martijn Coenen > > > > Cc: Shuah Khan > > > > Cc: Sumit Semwal > > > > Cc: Suren Baghdasaryan > > > > Cc: Todd Kjos > > > > Cc: devel@driverdev.osuosl.org > > > > Cc: dri-devel@lists.freedesktop.org > > > > Cc: linaro-mm-sig@lists.linaro.org > > > > Signed-off-by: Greg Kroah-Hartman > > > > > > We discussed this at the Android MC on Monday and the plan was to > > > remove it after the next LTS release. > > > > I know it was discussed, my point is that it is actually causing > > problems now (with developers who want to change the internal kernel api > > hitting issues, and newbies trying to clean up code in ways that isn't > > exactly optimal wasting maintainer cycles), and that anyone who uses > > this code, is not actually using this version of the code. Everyone who > > relies on ion right now, is using the version that is in the Android > > common kernel tree, which has diverged from this in-kernel way quite a > > bit now for the reason that we didn't want to take any of those new > > features in the in-kernel version. > > > > So this is a problem that we have caused by just wanting to wait, no one > > is using this code, combined with it causing problems for the upstream > > developers. > > > > There is nothing "magic" about the last kernel of the year that requires > > this code to sit here until then. At that point in time, all users > > will, again, be using the forked Android kernel version, and if we > > delete this now here, that fork can remain just fine, with the added > > benifit of it reducing developer workloads here in-kernel. > > > > So why wait? > > Hi, > > I don't know what is the right thing to do here. I just want to > highlight that AOSP's audio (codec2) HAL depends on the ION system > heap and it will break AOSP for people who boot mainline on their > devices, even for just testing purpose like we do in Linaro. Right now > we need only 1 (Android specific out-of-tree) patch to boot AOSP with > mainline and Sumit is already trying to upstream that vma naming > patch. Removal of in-kernel ION, will just add more to that delta. As AOSP will continue to rely on ION after December of this year, all you are doing is postponing the inevitable a few more months. Push back on the Android team to fix up the code to not use ION, they know this needs to happen. thanks, greg k-h