Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp584961pxa; Thu, 27 Aug 2020 10:05:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBquRbVlWmo3E+Hi1V7nbVsLTVNC54RAyoVXtBjr1zJ/Of24gmwsPbbOxGebEbV1yVXDwV X-Received: by 2002:a17:906:a84f:: with SMTP id dx15mr21453311ejb.377.1598547910770; Thu, 27 Aug 2020 10:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598547910; cv=none; d=google.com; s=arc-20160816; b=zxqNWrZW9s/gqF3CF0fbYfaVaIxk0rjbswLMGyG/4hQ53hIuko0vWDau9U1wXY9YmQ 8R/Luf0GTgtkWkPRyclQSX7qHlEWF5NgAmtc7O1xO54D1/PWfXGjXjYx4dQg3oaBdooD 9vK7nCOpF8kcUqVLO4rbQCm10XlZ/Ft9QP/vkhvR7Qm9XMmmC7hSfeMxL7ppqsHcJbII W4VrwL4P7furwSUi+5OtkCrZWXnKt1MdH5Jj59E+iLAX5QfZci0DGu/T/G7d5PxdEgVw cULKb0UdLoMxr+e7oPaaIr1kaXnuiGxutRERyd8+O8oVMzSKvTwOidFcgXgcNVdvBRel KtSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=iaDJiDThZeeDEzVlzU4moTVS3qRE8PjuLAm4ANV0fPA=; b=wKoEZDWTRIFMfsNTIDqf7nfPvSNOtCMnCudzBq36XPnSvgINgrbYj0ESoR11zTWDfJ X0+HPX7wABYBvenLl8O3qtPxWKKsJsPOpXi/wqFDoyOkfT3UoCzUBCeLB1jCOYUx1Wq8 DvDsbvPR5So3auEA+4aQG90ojpASjy+iwFDVosPqN5rX2Y4jMq6NBXEWA/4/An5xEEm8 09s49yZiKxDiNdCfec14755mbv++NtRtUaquCovtQEHCHXV76lK0U+5MbY3DQKZtA4yP Hw8RWMtaf2eRTJalV99WCVr1CEAaFUOvEaZXAIxpUww4M4Mxuq+T72iPwxOSJ8Ofw0IM iFNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QJdS2QFB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si2144483edx.142.2020.08.27.10.04.48; Thu, 27 Aug 2020 10:05:10 -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=@linaro.org header.s=google header.b=QJdS2QFB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726322AbgH0RCV (ORCPT + 99 others); Thu, 27 Aug 2020 13:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbgH0RCT (ORCPT ); Thu, 27 Aug 2020 13:02:19 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4353CC061264 for ; Thu, 27 Aug 2020 10:02:19 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id w13so6060232wrk.5 for ; Thu, 27 Aug 2020 10:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=iaDJiDThZeeDEzVlzU4moTVS3qRE8PjuLAm4ANV0fPA=; b=QJdS2QFBX5yromQSOgok4Hu/Nj+uS0RxjYDbQ8Ks5RYDnERghNSeoKkMDULiCKRwKg AWfhg93e3wtc5bzAU7Oo/RdIFgF70toIKidKT6KxIYu2BYpPw/s/L+ciMfc2Deq5zoR+ W+sPNlrl/U8NbcydIyjiYuZVlRQnpQooKHV39pSp1gEHTbkm3zWcF8tr95xOUAmRXP06 uVJnybjpBL8V3c0f7/zNK20dyhF7zpYQf7H5VhEduk1wZ77gcjLHSSZgUWAhhLdddDn6 Gpi/cic/sDPjxY/5rqFmak/ZIFYW54WjvCeF5+VXTh/NXAzF8msIjTE3hfGwr2hz9sRd C/tQ== 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:content-transfer-encoding; bh=iaDJiDThZeeDEzVlzU4moTVS3qRE8PjuLAm4ANV0fPA=; b=g87M6t92HrHONRtIqmGWPWHqTEI7KajuadZbadwh2VyXTduYuaga2zYrnP/A3r0jhq 4Cr84ZGQE67B0564zsu7FY3VYW/fi8p26XGLiKlZ7F9e10Y9BOGmv9gt39uZdPLTIDVp blEgCcik8OHcJcrwkjKFgZnnbeFKeVMNl6Dh8vJWXsqOenjJwMKhqrYvyoN1gcuUdQ14 fz4FqOLpwzgix5JEvTBA3mvgazJVugLDOXNs1t7iuUsvrc9MIz0KEE5B1+/pyH02DJ8z lEHzy5/gtTz3FVT99OgO5EJSeTZ9ZOdN9gN6QJMiYtHINqFGWA3UFsTJvPHvOSIjnA2E AAaQ== X-Gm-Message-State: AOAM533Phlv/owEQMnj10+8u99KrXRGfer96Ui+jb1haEhCuI7D/uuCQ Wr35W+bRXUzo3VkCw8giqfGXwrQRxGGqOCkCigIS2g== X-Received: by 2002:adf:9ec1:: with SMTP id b1mr20983425wrf.171.1598547737864; Thu, 27 Aug 2020 10:02:17 -0700 (PDT) MIME-Version: 1.0 References: <20200827123627.538189-1-gregkh@linuxfoundation.org> <3d8de519-65b3-123b-8ace-e820982884e0@labbott.name> <20200827160506.GC684514@kroah.com> In-Reply-To: <20200827160506.GC684514@kroah.com> From: Amit Pundir Date: Thu, 27 Aug 2020 22:31:41 +0530 Message-ID: Subject: Re: [PATCH] staging: ion: remove from the tree To: Greg Kroah-Hartman Cc: Laura Abbott , Sumit Semwal , John Stultz , "open list:ANDROID DRIVERS" , linaro-mm-sig@lists.linaro.org, Shuah Khan , Todd Kjos , Martijn Coenen , lkml , dri-devel , Suren Baghdasaryan , Christoph Hellwig , Joel Fernandes , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Hridya Valsaraju , Android Kernel Team , =?UTF-8?Q?Christian_K=C3=B6nig?= , Christian Brauner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 diverge= d > > > 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 i= n > > > 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 a= t > > > the current situation. Because of this problem, just drop the in-ker= nel > > > copy of the ion code now, as it's not used, and is only causing probl= ems > > > for everyone involved. > > > > > > Cc: "Arve Hj=C3=B8nnev=C3=A5g" > > > Cc: "Christian K=C3=B6nig" > > > 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. Regards, Amit Pundir > > thanks, > > greg k-h