Received: by 10.223.176.5 with SMTP id f5csp4400wra; Tue, 6 Feb 2018 15:57:35 -0800 (PST) X-Google-Smtp-Source: AH8x227MKh70l4y3QPnXkaGJAL90H4iR7gDwMHvLfMYQ6cs22Sg1GYEVfmIJ+106IXSB2S7Y3Hf6 X-Received: by 2002:a17:902:8f8a:: with SMTP id z10-v6mr3893411plo.395.1517961455513; Tue, 06 Feb 2018 15:57:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517961455; cv=none; d=google.com; s=arc-20160816; b=bvw3CWCx7z5ueVUOdJD8nbf67akqw9aBsKKz/R35G+kDEbLk2t0/R4fmwmmY06FZi/ i/T7/mSWIepyEw2YVfpXHrJN02sQmlSm2xJuWiBJak8IGGBr6qS+wCx4XNziEexzHV/c j0J1Jr9lM4NVD9j6U5GnL37+ZSzlosf/QL/0SkKnm4vEHtCujBd6loSFLQeV4Ox8uGvq 0EPzRqH2uMZ6ruePovUkgtp1pyL+yiXIEcLluWi43t5bzOUqKVZ6E9g8s8dUnYKRaCvh mFK4pL88dmsLDrtegd+bTUJpvxNJV/9VCD1dBMpTKRPMwBhOmh+5/Qf8tUCr7VhERggX C5xQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=DuOCBYvkOrfBEWHmQzlD2Rz3hkeBxuQ3L/4MRc1vZA0=; b=IPml/7zrDN0MMh7kKQPRy9nJmn6GhJKl0qFQRrJ/TgTC7ED2zGbpaHXXuvJCPJ+EV+ 2qWRWiqMTdazOeLJwNVwGH6XD8fViLUKN37duiEC/oZP6wyWB4IhfqyJHJl4urupNO1d Ej44L8ZuwqgOv+LtWw025RXKt1rK9UvK7Y6WitCJ9NQsCzjdRZz9z1okURg6tjoAhoVk EIVm69HA1BYN+ujLv58Z21UttVy8Klw5CBaoQZn76ORpjsGx4jdhjkF706MHLggtcrfA jWsWjyt+CdBg34okRv4HilMXKz6xilIqf8cF8OAVEbexGIiapGbpKvexB0T+GR4z3Y7g u+Yw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j69si141798pfk.405.2018.02.06.15.57.21; Tue, 06 Feb 2018 15:57:35 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754200AbeBFX4c (ORCPT + 99 others); Tue, 6 Feb 2018 18:56:32 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:45820 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754095AbeBFX4b (ORCPT ); Tue, 6 Feb 2018 18:56:31 -0500 Received: by mail-oi0-f65.google.com with SMTP id c189so2709634oib.12 for ; Tue, 06 Feb 2018 15:56:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DuOCBYvkOrfBEWHmQzlD2Rz3hkeBxuQ3L/4MRc1vZA0=; b=TTN2QEtdnKo158pHZX3AOe1mtoI/NNqd1oIVoSzuCFhvGCQ6HdD+p++241Ns1pjSUK oQEHqMuZwkpVL3y3Qz4+wOxhg4gm3ZyqTj8FnGgH8ZDTkdGNzslegEhvqDPzgmDmStHD NKXqDZEhaOzK6ffuv5o2cnWBUBzG71pOvd8EQUN74KjPsJ73qo2hOB92N7s0GJXHsUcA ux6yl0+oa5W3N+eaIFCnu6sgPq8BtzSsU3XvKlBeEXvG/YDWWyHKcglMwun/IAvyujHf HO9N+3WmoQMVnsr9OPqUVLI3/LJw/2zOd1K6YKZOfIPbV39FJ4+23rvL27n2G0MaJqJy Bg1g== X-Gm-Message-State: APf1xPBOe6btxqYqD+diUxI70PZFBKgii8MpO/q2TobN2iwHclp4Ud9w EUmuCdBmSX1e1A/1fcRueksBxw== X-Received: by 10.84.78.17 with SMTP id a17mr2664379oiy.281.1517961390715; Tue, 06 Feb 2018 15:56:30 -0800 (PST) Received: from ?IPv6:2601:602:9802:a8dc::f21a? ([2601:602:9802:a8dc::f21a]) by smtp.gmail.com with ESMTPSA id m22sm111792otf.18.2018.02.06.15.56.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 15:56:29 -0800 (PST) Subject: Re: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap To: Alexey Skidanov , Greg KH Cc: devel@driverdev.osuosl.org, tkjos@android.com, rve@android.com, linux-kernel@vger.kernel.org, maco@android.com, sumit.semwal@linaro.org References: <1517400222-2854-1-git-send-email-alexey.skidanov@intel.com> <20180131130047.GA22917@kroah.com> <89be45dd-ac0e-4efb-2b21-e6c07b0cd66e@intel.com> From: Laura Abbott Message-ID: Date: Tue, 6 Feb 2018 15:56:28 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <89be45dd-ac0e-4efb-2b21-e6c07b0cd66e@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/31/2018 10:10 PM, Alexey Skidanov wrote: > > On 01/31/2018 03:00 PM, Greg KH wrote: >> On Wed, Jan 31, 2018 at 02:03:42PM +0200, Alexey Skidanov wrote: >>> Any driver may access shared buffers, created by ion, using dma_buf_vmap and >>> dma_buf_vunmap dma-buf API that maps/unmaps previosuly allocated buffers into >>> the kernel virtual address space. The implementation of these API is missing in >>> the current ion implementation. >>> >>> Signed-off-by: Alexey Skidanov >>> --- >> >> No review from any other Intel developers? :( > Will add. >> >> Anyway, what in-tree driver needs access to these functions? > I'm not sure that there are the in-tree drivers using these functions and ion as> buffer exporter because they are not implemented in ion :) But there are some in-tre> drivers using these APIs (gpu drivers) with other buffer exporters. It's still not clear why you need to implement these APIs. Are you planning to use Ion with GPU drivers? I'm especially interested in this if you have a non-Android use case. Thanks, Laura