Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp802433imc; Sun, 10 Mar 2019 22:50:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9p90v+ZYyEShCiHYXe4hfj2nbNJWp5o1WABkMNCLhbqUsrPKdD9HK1gcOWTKsNAdGGUhu X-Received: by 2002:a62:1854:: with SMTP id 81mr31230754pfy.223.1552283414597; Sun, 10 Mar 2019 22:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552283414; cv=none; d=google.com; s=arc-20160816; b=SoIt+gcp59IuF3xdfe6e0LOx2mz6mMqtv8gViHZobA3QQhGgCszf7VpqXorag681Hw xHBYeYvbzP129Lo+3eSwkFtczNX5HxE057nqUdnQyy1Ca3DymMmmsL1Vfrj9V3GprfVw u3AGQLFAGLMd9+SC2V6NNwsUNrRuZ5eDPInKf0PUc0v63nxlTIPEUs+f+7pqIPFCilfw wIESuh0EEJmkVW23eHXTFxXNmdMQ8hlchQPDOwa/VLPaQMyNmxiMKG3Ny4NmJULzd/Ok NeHI94DnSmrVd0RDjUKCn+2ffsGjjXHN3JZkeK+df1qmZkoE2nkg9KfiaUZRLLafmzeY MKfA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ayKaE9kQB/6iWO2ETu56kVQWHz54VyHzvVNedzJQ4Fs=; b=j37kCX6HI5Xo/aILXnbFYFVK9xWiA48DsngmGbSQEAH+fQfOjBfVdQpPYj31fYFabF 6seva4RMwHg//UnIjUUwbRYoC4fEAlpSxnsJSXcy0wH/AScWtM0+tIytLRHPWLaRWZw1 NWDPjS+/sOX7e0B0vqYcTXbIliVwHitL/Ky9h3S+0NT1Mc1xNG5iKt7hgcW1IfI2HDm9 g8L/3ZUsxZNx8jYByCYcjuYQgPnNBo/p+8YuLDKH3qqUPQyk1o1XOcvNGi30emNQR10n UBppf5YXNBhEzPh18QOF3i+jGg4+7HPdGlGa1gS62JtYyi+qTL4v1y5npSgzeXfJKTil Hhnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tcnIwPYH; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si4408175pgc.362.2019.03.10.22.49.58; Sun, 10 Mar 2019 22:50:14 -0700 (PDT) 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=@linaro.org header.s=google header.b=tcnIwPYH; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726155AbfCKFtA (ORCPT + 99 others); Mon, 11 Mar 2019 01:49:00 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42398 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbfCKFtA (ORCPT ); Mon, 11 Mar 2019 01:49:00 -0400 Received: by mail-wr1-f68.google.com with SMTP id o9so3579666wrv.9 for ; Sun, 10 Mar 2019 22:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ayKaE9kQB/6iWO2ETu56kVQWHz54VyHzvVNedzJQ4Fs=; b=tcnIwPYHnFbian0qH/0CiIgKHkpOjmvuaasgwROsY5h3XNtiG3M667cXhaOCVen2aH nrytxOkQRZ5OV6qGXlai85Dd9R9eKerj5IFTE/eXYDnn9ZzikYqMGrve5Xtr0scqx7AL UPfnzpiWuS8pdO6wNSdb20Ysz7s92vrDGAv2PJy2XSx8nCSbOoE4CkgLGxw5zt+K4hij iB+CSlc/gD5Uqyejozuzb+I587X2diWf1jHIzstM09o+JghGM5I2keZRpEks2blg4BCi COqOAjV1jOfb9RgFRGksZAE8sd+HWjnjJz4oOI2F/1dIHWr+suzJ3sTSFWnKdlmSaUrC bdIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ayKaE9kQB/6iWO2ETu56kVQWHz54VyHzvVNedzJQ4Fs=; b=sxBscHLFAbKhy8Pryp5hu5Y5xllcE8cCghBQEcyPJsKeDECmPtRgqkVLGfiYSvJ+UW MaVJo+nAhJEvbP1tVh78ocpgq/zJbC33u/Ghk1QS1tktfEGgJEd7xWCx8eHVQJ6piJTl nxUONN2zzPGS/2Ke10e0nFzxeopr46twi6nRUbKatq408n/24UvojkJiXYcwJfkB8+Zw QMNrE0BzlMXYWoeJ2mB0MUSGVdsroIR6sOGiRQgiz4cU+FeJIMHp96VQO/fm57tkiMXN pFdiXcaY0DgRU5VTAetbD8WxxschkWHbgTSI9dzUtQ3FetuvtzJQ2w9gyJ9aqMhaRrYN S0vQ== X-Gm-Message-State: APjAAAUB4maCOxXk5bRteMgGoCuR+WKQyJI2jS7fP1aSqVuXWpQYKcgL bzI8a5ihRtfL57q6bPZZtJWIJ7bOGVnSCjcskwVrSw== X-Received: by 2002:adf:e78d:: with SMTP id n13mr11953286wrm.75.1552283338292; Sun, 10 Mar 2019 22:48:58 -0700 (PDT) MIME-Version: 1.0 References: <1551819273-640-1-git-send-email-john.stultz@linaro.org> <1551819273-640-4-git-send-email-john.stultz@linaro.org> In-Reply-To: From: John Stultz Date: Sun, 10 Mar 2019 22:48:47 -0700 Message-ID: Subject: Re: [RFC][PATCH 3/5 v2] dma-buf: heaps: Add system heap to dmabuf heaps To: Benjamin Gaignard Cc: lkml , Laura Abbott , Greg KH , Sumit Semwal , Liam Mark , Brian Starkey , "Andrew F . Davis" , Chenbo Feng , Alistair Strachan , ML dri-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 6, 2019 at 8:01 AM Benjamin Gaignard wrote: > > Le mar. 5 mars 2019 =C3=A0 21:54, John Stultz a = =C3=A9crit : > > > > This patch adds system heap to the dma-buf heaps framework. > > > > This allows applications to get a page-allocator backed dma-buf > > for non-contiguous memory. > > > > This code is an evolution of the Android ION implementation, so > > thanks to its original authors and maintainters: > > Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others! > > > > Cc: Laura Abbott > > Cc: Benjamin Gaignard > > Cc: Greg KH > > Cc: Sumit Semwal > > Cc: Liam Mark > > Cc: Brian Starkey > > Cc: Andrew F. Davis > > Cc: Chenbo Feng > > Cc: Alistair Strachan > > Cc: dri-devel@lists.freedesktop.org > > Signed-off-by: John Stultz > > --- > > v2: > > * Switch allocate to return dmabuf fd > > * Simplify init code > > * Checkpatch fixups > > * Droped dead system-contig code > > just few blank lines to remove. > > Reveiwed-by: Benjamin Gaignard Done! Thanks so much for the review! -john