Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2997915ybx; Sun, 3 Nov 2019 08:28:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzIbfN3oLtSNRoHv29hSmFJRavkdZXB8HGjX+3JFRaeDSS+9mIuczUKtyHP2dULFt8Na1U+ X-Received: by 2002:a50:b795:: with SMTP id h21mr24073220ede.225.1572798483095; Sun, 03 Nov 2019 08:28:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572798483; cv=none; d=google.com; s=arc-20160816; b=xyn/FDXJWpc71dOekkznlot3MEyjaUafhTNLDP/jLgfWUkqKnCMVnRpQOAU87jSHla 7CvNCBUjCNMhA5B5sSu/H2wEtFmNTnTt9gDJ0aYRfOIhebBJ2jNN1ujiBJE901isJ7Uu /gtu0yH7NH6PYxztn1L/mm2ODSVwECIHASl6+30JiYQ6B1g+xcBm8mxX0G5U8B8xCzZX /caJHSB2PB7yZp64/R040BhA0jUJGpAD+2121ZJHy3EWOTEAGMvdUMfpR8sdqomib63Y z1cyRFNEqESa37p9MXLID3yru4hC+kmh1OTpql/MhlS29YCrZ7iLVUx+VzPcATK1TeXv Z8wg== 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:dkim-signature; bh=j2lriok88KfgLjsrKyDIkNuRgg5g4CfcKHQtO8a84EQ=; b=Dwos35LqYTraQ0DaUn73FNEM3FtSGk9xMWcH7PUi5jZaKgEIdFSMEJOFlTLAnoLVmk 6JgroHh7b5pZnpZJ7H7ca7UxJ1pCHbacGUlOTdxCk4Ky5QkH+DVlIX3rKbzDifOWsMfT OXp5psIVCjQP0RlKp0JtBi6MgwRYY7fNEXJDcWe3vUwZOtyT88NSdaUltZlvfByixuip TVIZHDCcJI2n/n6Upcc8rHayNI+kqOOgoFg/W/bCs3bSNEYsrQ6vXgH0ONTi/q5J2wcC Y3GzlTM+pTWUmt3t3QqHsc/6qdqMd42d5sR/AVSfnuNqqCcu0gb9Gm8iBvutnp7qOS50 8uHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=Khdriynl; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qq17si4841341ejb.33.2019.11.03.08.27.39; Sun, 03 Nov 2019 08:28:03 -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; dkim=pass header.i=@android.com header.s=20161025 header.b=Khdriynl; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727859AbfKCQXF (ORCPT + 99 others); Sun, 3 Nov 2019 11:23:05 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46819 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727733AbfKCQXE (ORCPT ); Sun, 3 Nov 2019 11:23:04 -0500 Received: by mail-pg1-f194.google.com with SMTP id f19so9651480pgn.13 for ; Sun, 03 Nov 2019 08:23:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=j2lriok88KfgLjsrKyDIkNuRgg5g4CfcKHQtO8a84EQ=; b=KhdriynlfZww++sMZQBTRRKI6N29ArSpOXaWi7TpJOjUSWEbvKWqVKwVUUWH6jZI2a eT6mOCzL4LmE1FOUAdbruEhjwHIqnbj+c6eZcFyhO7nbORLMMMKonyFzDSSaWYpdjfD2 au4dpF/TBnnwyOCh/nAB1aXfUk7yc+ST1x8hmb0rNXqrnc5HG462C/SnYew/hyRecDXc 2qCRU2dY+Bc0FiSfFT1zrFE5qSTJZjiTYXm6fbwegNUno1czU/j8/tyJbICHmAUF8kGE y43ABDKWq/ffzZPzjwe5NKrArlLRnhMaMMpBx7pcB8G8JJhb/6lD2iy9oWj3FMfXbcf5 0CGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=j2lriok88KfgLjsrKyDIkNuRgg5g4CfcKHQtO8a84EQ=; b=YXdJascb90dZ3BbcvKIU9qJJzZHyWGsmN5A/jxgL+F96oZ9YX9RzZLL0Wn/aVeiXKw 0Qj0lR46uq7hKSgZyD3TrCyeWV2TlsDqfrP3tZr+Po6Bm+tmKTJxKcPBtjwzwJjlQH0w 7upKXtcjoM7egWh1vtde2LjG120K7W9TSWGuw4h3E1brIcFS/4S+Z4jagjfrLJMyfWtC xijeCKctCVPEXCoc8z4UUb7d7GPAUQa1dtSjHLCBXe0M2CAe3Hu4ZklgrELZrc9ZUFXQ P8/4/6v+NARrajP6M1E05SrzJSxE0sSr3sjzl3nky5j5x6m7Kof7DnGpzft9EEEgxXre sRWw== X-Gm-Message-State: APjAAAVSAk7TUqFRKyxQj+YbvJY5sId6sbdPX470649zp6cayVn4VYLF Bw1mywryROVmbEqzz4F/AdFCfQ== X-Received: by 2002:a63:3812:: with SMTP id f18mr25459581pga.320.1572798182825; Sun, 03 Nov 2019 08:23:02 -0800 (PST) Received: from localhost ([66.167.121.235]) by smtp.gmail.com with ESMTPSA id p7sm15612699pjp.4.2019.11.03.08.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Nov 2019 08:23:02 -0800 (PST) Date: Sun, 3 Nov 2019 08:22:58 -0800 From: Sandeep Patil To: John Stultz Cc: lkml , Laura Abbott , Benjamin Gaignard , Sumit Semwal , Liam Mark , Pratik Patel , Brian Starkey , Vincent Donnefort , Sudipto Paul , "Andrew F . Davis" , Christoph Hellwig , Chenbo Feng , Alistair Strachan , Hridya Valsaraju , Hillf Danton , Dave Airlie , dri-devel@lists.freedesktop.org Subject: Re: [PATCH v14 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps Message-ID: <20191103162258.GA116247@google.com> References: <20191101214238.78015-1-john.stultz@linaro.org> <20191101214238.78015-5-john.stultz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191101214238.78015-5-john.stultz@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 01, 2019 at 09:42:37PM +0000, John Stultz wrote: > This adds a CMA heap, which allows userspace to allocate > a dma-buf of contiguous memory out of a CMA region. > > This code is an evolution of the Android ION implementation, so > thanks to its original author and maintainters: > Benjamin Gaignard, Laura Abbott, and others! > > NOTE: This patch only adds the default CMA heap. We will enable > selectively adding other CMA memory regions to the dmabuf heaps > interface with a later patch (which requires a dt binding) > > Cc: Laura Abbott > Cc: Benjamin Gaignard > Cc: Sumit Semwal > Cc: Liam Mark > Cc: Pratik Patel > Cc: Brian Starkey > Cc: Vincent Donnefort > Cc: Sudipto Paul > Cc: Andrew F. Davis > Cc: Christoph Hellwig > Cc: Chenbo Feng > Cc: Alistair Strachan > Cc: Hridya Valsaraju > Cc: Sandeep Patil > Cc: Hillf Danton > Cc: Dave Airlie > Cc: dri-devel@lists.freedesktop.org > Reviewed-by: Benjamin Gaignard > Reviewed-by: Brian Starkey > Acked-by: Laura Abbott > Tested-by: Ayan Kumar Halder > Signed-off-by: John Stultz Acked-by: Sandeep Patil