From patchwork Tue Apr 18 18:27:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9686059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D3155601C2 for ; Tue, 18 Apr 2017 18:35:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C72ED2838E for ; Tue, 18 Apr 2017 18:35:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC0A7283F1; Tue, 18 Apr 2017 18:35:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3ABF62838E for ; Tue, 18 Apr 2017 18:35:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IJMS33JDm7GAQXtnQnp5UIOT5eYGVKyjcjSbcFkHzs0=; b=BegHgYkFgixSYw MlX/xkkfU73f/cTjtihTVRslZqRNHtB0sgcpJq4EoHYx5nXtE+zzaoKcR01A5hjrpLCfW36ECeXGl mFw3Dp3a0ST/uEU6TXS7sd9sQ40J8on4Fc7juNtx/gA3TuLNLmj6+78OmIxMv0YgUao31GNCS9k9W OfRN3We9gbwALrZd26cVy9RgcYsuiIjyPzKBFhrlOTlmQo08051NWWzNfnpWLjNp6iJZTni4xWFDq 4QEepRDP4gVEEjnL4IQ/nWGRx9UiKt+K76XU7raPGaDb7Rf1duhAt73/TBVLlvUMDpQFWhGKPS/zp fbmWc6/vLsh/ixtsZFPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d0Xya-00058n-9j; Tue, 18 Apr 2017 18:35:44 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0Xy0-0003uT-Hh for linux-arm-kernel@bombadil.infradead.org; Tue, 18 Apr 2017 18:35:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1pU8INfb6q9VWTxctl4fOrcZbdKVa8pPkWvPs+wObTk=; b=nA5cb9mpS76ZkyXC82/GE07+2n ZvVPyGva4YdyJdTYgCv1QiYrpULUPmiI+0j61Co5Vm3Jc42jpNkatohgrWAXe6B0ieW3g0uw8yLbE TgmiZKo8ffx0dQmwrS/mWhcltG7T5y6FWm3ezq4unwL7laW0dVNwz/6c+cXXdMChbtEM38dp7RVsY dlYEw98RrfUOaLqDWKK16mlZCkOwrzPMgEHQgcAeZ5gpPuV2eMNMHFhvy39jct58HFyBr13bm1mGY vdHtJ5sh24g/ll0u0iHnAbdd6SKFRF3uuIDYk7+a456xpTG0N3wl5sUa+dsoncXk9KAR/iLyeDfV0 vgzv3whQ==; Received: from mail-qt0-f173.google.com ([209.85.216.173]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0Xxz-0006GC-0s for linux-arm-kernel@lists.infradead.org; Tue, 18 Apr 2017 18:35:07 +0000 Received: by mail-qt0-f173.google.com with SMTP id c45so1312837qtb.1 for ; Tue, 18 Apr 2017 11:34:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1pU8INfb6q9VWTxctl4fOrcZbdKVa8pPkWvPs+wObTk=; b=i1tlc/wXP1SkBJiBjIqfuGItiYjZYyr/KCV+oWKo2XPV0xymxRpaF0raiSwhIeGG1G ww9KwHxkvyMMhuHvp2bWzXTNU7KAIaIWfhv1ZlnYwsCbpdCjXoIJ2JO1PGWy5DLd/CmB DUz/Kp3KpG/qS4jumckWYwEXiOZWRA2+i3h4iZtWQzyIopPkSgHBCr1MKU/xyf3p8qF9 vToKs9Lhr5tci9effXrIrUV4BL2NtGFYpE0hsnrcPK6PUV1W/GziX8oP8OGXDpxsSgEe WzTQmQltBQnp/2JDKcAkBts4lFN24+/IVY31Vj4PZCIiRo66JZMM8zcLbXtdZBxDzceV Bk3Q== X-Gm-Message-State: AN3rC/6d0xtBG3cbyzyk2Jwdjj2F1iGtYJMQvO21BccXa3gBQN3fjDjs gIX3wCeAahumIoFo X-Received: by 10.200.57.34 with SMTP id s31mr14802767qtb.281.1492540081844; Tue, 18 Apr 2017 11:28:01 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc::159c]) by smtp.gmail.com with ESMTPSA id q66sm10142381qkd.69.2017.04.18.11.27.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Apr 2017 11:28:00 -0700 (PDT) From: Laura Abbott To: Sumit Semwal , Riley Andrews , arve@android.com, Greg Kroah-Hartman Subject: [PATCHv4 12/12] staging/android: Update Ion TODO list Date: Tue, 18 Apr 2017 11:27:14 -0700 Message-Id: <1492540034-5466-13-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492540034-5466-1-git-send-email-labbott@redhat.com> References: <1492540034-5466-1-git-send-email-labbott@redhat.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170418_143507_125650_4905F79E X-CRM114-Status: GOOD ( 11.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, romlem@google.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, Mark Brown , Laurent Pinchart , Benjamin Gaignard , Daniel Vetter , Laura Abbott , Brian Starkey , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Most of the items have been taken care of by a clean up series. Remove the completed items and add a few new ones. Signed-off-by: Laura Abbott --- drivers/staging/android/TODO | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/drivers/staging/android/TODO b/drivers/staging/android/TODO index 8f3ac37..5f14247 100644 --- a/drivers/staging/android/TODO +++ b/drivers/staging/android/TODO @@ -7,23 +7,10 @@ TODO: ion/ - - Remove ION_IOC_SYNC: Flushing for devices should be purely a kernel internal - interface on top of dma-buf. flush_for_device needs to be added to dma-buf - first. - - Remove ION_IOC_CUSTOM: Atm used for cache flushing for cpu access in some - vendor trees. Should be replaced with an ioctl on the dma-buf to expose the - begin/end_cpu_access hooks to userspace. - - Clarify the tricks ion plays with explicitly managing coherency behind the - dma api's back (this is absolutely needed for high-perf gpu drivers): Add an - explicit coherency management mode to flush_for_device to be used by drivers - which want to manage caches themselves and which indicates whether cpu caches - need flushing. - - With those removed there's probably no use for ION_IOC_IMPORT anymore either - since ion would just be the central allocator for shared buffers. - - Add dt-binding to expose cma regions as ion heaps, with the rule that any - such cma regions must already be used by some device for dma. I.e. ion only - exposes existing cma regions and doesn't reserve unecessarily memory when - booting a system which doesn't use ion. + - Add dt-bindings for remaining heaps (chunk and carveout heaps). This would + involve putting appropriate bindings in a memory node for Ion to find. + - Split /dev/ion up into multiple nodes (e.g. /dev/ion/heap0) + - Better test framework (integration with VGEM was suggested) Please send patches to Greg Kroah-Hartman and Cc: Arve Hjønnevåg and Riley Andrews