Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1766022ybg; Sat, 19 Oct 2019 02:04:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwonHh/Q2hwtapHPslQ+f6hdougO6pPCmglj3HcUxQ6xgLpnI40OaTlAgnAJAjLC3IfKMC9 X-Received: by 2002:a17:906:f75a:: with SMTP id jp26mr12558710ejb.191.1571475848769; Sat, 19 Oct 2019 02:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571475848; cv=none; d=google.com; s=arc-20160816; b=s2MVUGiZ6CGeFSaa3REb9UZz5CSM0MP7G8WgJsRdaVe9TRSGKa1hj049NXlSBvQ+mp 6bKcRbgcRic4KMIHoj+R5BGZX43iZYvDSdRuMUWTZzSV/iBKXlY50s2nRSFd6NcDyqIB D8i7RB803v362AfMbf595WkY2nggKg/yHt2/NbeXjGtlv4pK/VO0Ek023SIHC/DOMax9 euLv42/9UI/5k8FRDH/ax6bGF0Pu4scXiZi+SoNLWN4gac4OYpkFKklpHqSycd6YVCYs sMQgnLb9gfRgk5VahiA5ANt4T4+SLicYiS+otENmfJzqiLNopsyJfiVcxVkCRDex4mpp +/kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lO2StNiS2UHCj8+9SsvqSbVKFte3Dujsk2JYdGhstd0=; b=gGsh5WcA6uSbGT+gZm3fX9eVlh+9LrwXgJh9oYkZ4Mgy25wv8nmp1Uavzah3HuzguM b4pdHku5xxAuAhNyLOflYpO6h9GruIHr3kL35ZVIV4LJsHr6fkDTB/WStOd1nSo9z47V ChUCAikqZW5IylmZBbL/hHahWH8SpnSWte7GkICng3aWakcL9Jwcd8ZLCPHofF9olwL5 j+GDqQ/G6eKaWwbgxMfyhEWj2PtZaKU8Kf3YFHY69o0A4AjNTP+eSbnbF/MLT0iBcaHD h9jnO1Oe74tDuMbjFaVMFN4QlIToTIlLC5HNF9/HIAlNqp3fWDOEItPdvWhImCRXtI0c xpfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mCSqmO2X; 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 m10si4703344ejc.337.2019.10.19.02.03.44; Sat, 19 Oct 2019 02:04:08 -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=mCSqmO2X; 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 S2502742AbfJRS1G (ORCPT + 99 others); Fri, 18 Oct 2019 14:27:06 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:46602 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502485AbfJRS1G (ORCPT ); Fri, 18 Oct 2019 14:27:06 -0400 Received: by mail-wr1-f66.google.com with SMTP id o18so7219481wrv.13 for ; Fri, 18 Oct 2019 11:27:05 -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; bh=lO2StNiS2UHCj8+9SsvqSbVKFte3Dujsk2JYdGhstd0=; b=mCSqmO2XSWm/BFp+YC0O5sy6vJ4J9PotAhn5xpwkgbLUAOKLOjfiuMwaNP4IM5w77D 1S15TG8+HjOpw2soOliWnJE23GXyYl2TXYvWNZArL9GbV9beblrMKFHKZdicosRbE4fq yp47axUjsA6baFIHyOPPi3/rWce8BrLV6v0ZzfuMzwDU7prEK6y90itiERMCUMZV/lMu m9sJHdbbrS7aaHwvAfm2Uk4/Y36IHrBd+TkMqVp8Kgr9XjSui6C2usRZeEb1khK3depA U8LSiLkppE1IwqCCKIY5Nt4HDOBkjfuqMc4CQnwdfb+Grr1qOSqeYO3yF2hjUZY/LLGH TFjg== 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; bh=lO2StNiS2UHCj8+9SsvqSbVKFte3Dujsk2JYdGhstd0=; b=Yfj/kkZXH4tIxu8rwwx1aSnupf38Rl/6Jy4p73fybz7jTtxE9x4KyAaT0MWJqM1iXj BsJ5DhUXiKHCs1+xoktxYCcq29L6HlPmqDTL6aQ/Vc9P3qXGF28gsAw1UcExSGjvXXiX YbCjGEiGNdl+3EtZ5DO0lvqw//5UOsriHrlpszeZRHEPaXhHUmAXWN2M4Dm+6c2Q4avt Jc/TrzVpI5pKwYUFt0uyqB02G9XLfdDczNJbVDqISZWg/e+Xk/1LqFpEycgliTIfP1EA DV0/NIigViaDCB5T8f4lBop3H9H4Np0Yn3kp3LWZsntJPiT8a+Rvxwm5mOtP4iPHxuZB T6Sw== X-Gm-Message-State: APjAAAU3/dJAjlzTBxCkOr/Er7f8C9QZrefbOlOdWhzRU1794p1IN35v QgIOc1ku+ZoZJ3GxCbPYOhHZBBqhwlmYub7WuQO5pg== X-Received: by 2002:adf:fb0b:: with SMTP id c11mr9338121wrr.50.1571423224434; Fri, 18 Oct 2019 11:27:04 -0700 (PDT) MIME-Version: 1.0 References: <20191018052323.21659-1-john.stultz@linaro.org> <20191018052323.21659-2-john.stultz@linaro.org> <20191018111832.o7wx3x54jm3ic6cq@DESKTOP-E1NTVVP.localdomain> In-Reply-To: <20191018111832.o7wx3x54jm3ic6cq@DESKTOP-E1NTVVP.localdomain> From: John Stultz Date: Fri, 18 Oct 2019 11:26:52 -0700 Message-ID: Subject: Re: [PATCH v12 1/5] dma-buf: Add dma-buf heaps framework To: Brian Starkey Cc: lkml , "Andrew F. Davis" , Laura Abbott , Benjamin Gaignard , Sumit Semwal , Liam Mark , Pratik Patel , Vincent Donnefort , Sudipto Paul , Christoph Hellwig , Chenbo Feng , Alistair Strachan , Hridya Valsaraju , Hillf Danton , "dri-devel@lists.freedesktop.org" , nd Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 4:18 AM Brian Starkey wrote: > On Fri, Oct 18, 2019 at 05:23:19AM +0000, John Stultz wrote: > > As in v3: > > * Avoid EXPORT_SYMBOL until we finalize modules (suggested by > Brian) Heh. I guess it has been awhile. :) > Did something change in that regard? I still think letting modules > register heaps without a way to remove them is a recipe for issues. So yea, in recent months, work around Android with their GKI effort has made it necessary for ION heaps to be loadable from modules. I had some patches in WIP tree to enable this, and in the rework I did yesterday for the CMA module trivially collided with parts, and forgetting the discussion back in v3, I figured I'd just fold those bits in before I resubmitted for v12. If it's an issue, I can pull it out, but I'm going to be submitting module enablement for review as soon as the core bits are queued, as its going to be important to support for Android to switch to this from ION. thanks -john