Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1021202pxa; Fri, 28 Aug 2020 01:07:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLSXbY4X+AzOE+q2SiYUItKL9n4sAQvFnVaBAUh8dkQNjgNjN23cNTZH0IAh4I6H6ZtLrG X-Received: by 2002:a17:906:f107:: with SMTP id gv7mr529622ejb.519.1598602020135; Fri, 28 Aug 2020 01:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598602020; cv=none; d=google.com; s=arc-20160816; b=tfP4CHNlcy1+tJTjI4DTc7AXzmMACX8tWl6Kx9rzS3rIkw4FiHq+mf1n8zQ+YO+7TG wohblVgw1XfmM81WZdL0xLzbgAw0A4LEgvL6F7ZHn/hZPzjPK5cycS/OJYw/i84RbnLu y8pHplnlqMGnSFh+RDfPvO8Hnsy5bLyQRV61zCxO3guOSdZztsBNIxwCXLEwuJ6uxzKO k/7gROcIhoZpMMWBjl65KRVSxNcS89yy16oUhhjwJFf7ig0hMD4+BG4/ZKWpFWfx3ayB MXmpimQmsMOCi6lvyDXqBmVZALu7S6G2vhVNiDtfz8ZoZ0MaBjO64zy+vGJ0Qs5oBkHB QjqA== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=izjFJ/QnTk0TxK3Qj+o4PSCr739d1VaCucnPiE0gG8c=; b=0T/xhj1rqA8tukERYjeh9m7H/a7EJY4llTVnyEIEkfx9TItF20T5/OulWzlumXXvzn 46edu1byi0x0JTLSZayViwQpYC7p6eMQv4aKvjPmXS4Q3Fvca1G31SadiK4eNHrmfqBP mH6uEroZ6Zw85Boi4URuJadZLOXoJE6GxgobV8eJe0VtTAa7Cw0ucOu9FnMzcWYy8C6c Fso0h0FnjVgh4qepXTNMqZ/CyKcFlBQZTf2BgQqIr54WXnuzU8YY+VdWj9NvJbvgDvEM xv+zYveZAnwBEWC1n7UdN7FcyTT5dCv0b+QvqWkbJ1FONioWmX9VPnWC1jNlCH59wmHx xKDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c9rdK0xQ; 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 i10si118930edu.323.2020.08.28.01.06.37; Fri, 28 Aug 2020 01:07:00 -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=c9rdK0xQ; 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 S1728501AbgH1IFV (ORCPT + 99 others); Fri, 28 Aug 2020 04:05:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:48040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727911AbgH1IFQ (ORCPT ); Fri, 28 Aug 2020 04:05:16 -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 D511E2098B; Fri, 28 Aug 2020 08:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598601915; bh=vMJRZMz2Pa5rB3iLaOPsspQW2sADe0DrKt54oiW5pUI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c9rdK0xQA5nY/JkJ1bHSkXeUVMBdLLLADhXIk2SZaMlOVoZbY5UpfCP4avwBIH4nY hnLfwqc/dQBU08288LRom/l+e2DtNDNfqPkOVFF2kEL7kwBKiAU1yrUwkSSM4vswhS nuwdhbSf1poDOQn+W3m7zKRAMSze9tYqn5BBNz60= Date: Fri, 28 Aug 2020 10:05:27 +0200 From: Greg Kroah-Hartman To: John Stultz Cc: Amit Pundir , "open list:ANDROID DRIVERS" , Christoph Hellwig , Android Kernel Team , Todd Kjos , Martijn Coenen , lkml , dri-devel , Christian =?iso-8859-1?Q?K=F6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Joel Fernandes , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Suren Baghdasaryan , Hridya Valsaraju , Laura Abbott , Shuah Khan , Sumit Semwal , Christian Brauner Subject: Re: [PATCH] staging: ion: remove from the tree Message-ID: <20200828080527.GA1005274@kroah.com> References: <20200827123627.538189-1-gregkh@linuxfoundation.org> <3d8de519-65b3-123b-8ace-e820982884e0@labbott.name> <20200827160506.GC684514@kroah.com> <20200827171745.GA701089@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 11:54:12AM -0700, John Stultz wrote: > On Thu, Aug 27, 2020 at 10:17 AM Greg Kroah-Hartman > wrote: > > On Thu, Aug 27, 2020 at 10:31:41PM +0530, Amit Pundir wrote: > > > 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. > > The point though, is your main premise that no one is using this isn't true. They are using the version of ion in the Android kernel tree, yes, as it has new features that many people are relying on. The version that is currently in the kernel tree is crippled, and maybe works for some use cases, but not the majority, right? > I'm actively working with Hridya and folks on the codec2 HAL side to > transition this on the userland side: > https://android-review.googlesource.com/c/platform/frameworks/av/+/1368918/3 > > I'd like AOSP to not use ION after September (though being external I > can't promise anything), much less continuing after December. The android team has said they will be dropping ION use for the "next" Android release, which is sometime next year from what I recall. December is probably not going to happen :) > I want this migration to happen as much as anyone. But I'd prefer to > keep ION in staging until after the LTS is announced. Having both > around helps development for the transition, which helps us have a > reliable solution, which helps vendors to migrate and be able to do > comparative performance testing. I don't understand what having this in the "next" kernel helps us with here. And I would really really prefer to NOT have an outdated version of this code in a kernel tree that I am going to have to support for the next X number of years, when no one is using that version of the driver. What is this LTS fixation to keep this code around for? Who does it help? > I do appreciate that keeping it isn't free, but I also don't feel the > chaos-monkey approach here is really motivational in the way you > intend. I don't see it helping anyone to leave this around, except to cause merge issues for me, and development issues for other developers. Anyone who really wants this code, can easily revert the deletion and move on and grab the AOSP copy of the code. That's what they did when we deleted other Android features that are still relied on. Given that the "isn't free" is causing _me_ real pain, and not the actual users of this code, I am leaning toward wanting to move that pain/cost to those users, for obvious reasons. thanks, greg k-h