Received: by 10.223.176.5 with SMTP id f5csp523166wra; Tue, 30 Jan 2018 15:27:00 -0800 (PST) X-Google-Smtp-Source: AH8x225nYXV4O3vkLGjP2F+ofvnRFpJrkW84QoVMz73PMJSTq7dC15X9USu1WFqjoVqJ7miNKWY0 X-Received: by 2002:a17:902:27e6:: with SMTP id i35-v6mr24233151plg.441.1517354820545; Tue, 30 Jan 2018 15:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517354820; cv=none; d=google.com; s=arc-20160816; b=ttQKn7y64L/zsB1nW91cks5Nd7sOko5k9GECxPCuttMmxk+dMKLlCqtgxkLXH33lLP jCSDzpkfNY8xJ+41LDXP4ub/RQB7gbVLqVff+Q8N/5fwaXSXl7M0Ru6Dj5Sb+2WS3Pbi xs/5ZHymXUE7Spv6foau1cDGl+gppMWw9oWnqRqB5H0gQrCfjmBrOFCA2I5sXNbICbPz mMagRHxctK4homdCse6sA97RkV0ZEOOeFq0m1eX5KB4aUhh3yFb5DxDXj/VfGgzYKi0c pLpIIGl075tcEzDDpb005lbZnXBE4kNdnKrQOEvU8BRaH0firrXPHjc2SfeZyWAecS3C Z2Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=vBFHm1oGPdN0+ikJKgGDEmKQpkN5ARPNGmZeRw5mUm4=; b=PX1PERoX52EtcPKo0aVFQdc1qCzMitKmZRcmn1q4LXwNJdLVDQ0nDHvyidF7CpZL4r OBSw/L/EXz5E7iZ6QAAagNthGDI+byG4KpfW7bsWs7AmXJIcCkRBjZaZcivU2UJWx1Hb 8/gzyCSmD825RasnhHV1oXoroHVTc0ez9RgglvHtn/lAPatcVMX62VMROXTAyqIR4Cet 5zUmfr8LDX88Pa4sTgTmuZj7U2CIyG4472tpJleaKLUJkMuYZW4FKNOyk39yapvrAv1c uqqixkjbfbEgB2O7IOfF5nMNwyO/AV2lDKd8pc/EsnH/HBoj8ylxyVlZAXSwE5M7FjjK LMyg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s70si10102315pgc.650.2018.01.30.15.26.45; Tue, 30 Jan 2018 15:27:00 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753046AbeA3WPF (ORCPT + 99 others); Tue, 30 Jan 2018 17:15:05 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59792 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727AbeA3WPE (ORCPT ); Tue, 30 Jan 2018 17:15:04 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A77A6D9B; Tue, 30 Jan 2018 22:15:03 +0000 (UTC) Date: Tue, 30 Jan 2018 23:15:01 +0100 From: Greg KH To: Alexey Skidanov Cc: devel@driverdev.osuosl.org, labbott@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap Message-ID: <20180130221501.GA6717@kroah.com> References: <1517344753-29021-1-git-send-email-alexey.skidanov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517344753-29021-1-git-send-email-alexey.skidanov@intel.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 30, 2018 at 10:39:13PM +0200, Alexey Skidanov wrote: > dma_buf_vmap and dma_buf_vunmap allow drivers to access buffers, created by ion. But why would anyone ever want to do that? What is wrong with the existing interfaces that drivers use to access buffers created by ion? What code uses this new interface? We need a bit more information please. thanks, greg k-h