Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3571161ybg; Mon, 28 Oct 2019 15:09:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB0jKb6vmMHciMU9LP9e4b0nv08E92pqikbc4FBOFtLq2og6O+c8XhTDdHR44Z5yiaRbZ2 X-Received: by 2002:a17:906:1f8b:: with SMTP id t11mr101356ejr.191.1572300593720; Mon, 28 Oct 2019 15:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572300593; cv=none; d=google.com; s=arc-20160816; b=XmP9NDK/UbhZuhBj2g6T1D5GDM1DM2v5P193tpcEuSH5AIIHLgzgzgDPpRrEVdKc9g GxSvZcfKyVYuIqDRUIOJrOyqDgM7/Z+ybobbWL9EJ+hfoikrDYYj4q1aPhHfKulDksOf 5FdRYDCH8Mtxj/5jFWTiHsVBUdDu1j5KleBOumtu6KJcbYf2d0r9GiHCSWYY0XJP1Y4G d65MvFcjPl1DEKze+FQsx507IFIYypfpDHLRNBTMGiYgwo38WQE5vgKvlFgPeudCKzen CfIIXJNzkQgK3hRKQ9vOzspRMJiq97eh2P6f5aAhmhuPefjWHAy8mL4LSdATOOe05tDt Q9yQ== 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=LlJXOfNrar9cSMwsMokP9HFTFFdfu93s0cpnQ48Gezs=; b=pT3z1lZCpuHttWp+rCt1TuyFDwcXl4IIFGerJm5OCRQxswuS70bsjjwW5ifTETs3Wb DD8jjd1ukBDK778sDqyjcJupIuyC9A7/X2eYu5KNQsfnjmZP3YGnnfjql6dwEGtEoTwU FvgffiXg7icfIjZogpGn7krQwB2Y/FInUs/I6Qt2UpkO5b7kOJ5sv9qWrK3ql9ajUyOU Ch+DvuWDw4j/EQoS6EToRmBD1KI5ZwuDp0vKNuWBP2YCc7PWE9lG5BNH2QoO4128ZF66 a8e37QGASFm+tdgBzgGWpu/isUpNuOQFaAmO672WsJcQSkI/NZuwaHB3iSsf1HfoCVNg Yc5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X1YV3b4J; 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 b27si2293648ede.48.2019.10.28.15.09.29; Mon, 28 Oct 2019 15:09:53 -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=X1YV3b4J; 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 S1727455AbfJ1UDS (ORCPT + 99 others); Mon, 28 Oct 2019 16:03:18 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:43792 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727096AbfJ1UDR (ORCPT ); Mon, 28 Oct 2019 16:03:17 -0400 Received: by mail-oi1-f194.google.com with SMTP id s5so6979230oie.10 for ; Mon, 28 Oct 2019 13:03:17 -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=LlJXOfNrar9cSMwsMokP9HFTFFdfu93s0cpnQ48Gezs=; b=X1YV3b4J8TxKUrgQ/8l0Q+Zyy4NSj2OyLTW8TY5W4OzAQC1RTbtjAOSKbCHdpa7PdV v9/cdxxYjFZNMLDHcqBF5fvXbCcpiWTOD9M12PJmlpAdzh4TtT0Y6k1HCaARZ++NGEe1 +PKEkOT979vbQsxeNGy/RVsXCvVa3Ab9QOG63dvf+dWGDwonJH/tOHg4tchxu08KelCk oS5pMjeLlrJ/t1zNr52xcnQP3TmhiehLueWB93/kha6bBwCWRQ/z/uFaLVtq/OL0TEpw lLrLCUeHFVuhKy++M+q8gFyNMVnJmGVKtA+KYQqqahdohNVuSOTbdwZe7tiR74+jnE0f pj6A== 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=LlJXOfNrar9cSMwsMokP9HFTFFdfu93s0cpnQ48Gezs=; b=tpdpDS/mL6v2mDsGPeK3NTGX7ihEvXfWqMOY5qFip0RAKs5ENc85028FEvuYYptwSq TzO4m60Hz4+HvWKZB7RTVbpvK0iiCMDn3eBltUXPcOTbzgMAkRehn2PK9vNX5WOwwKGC yIWA5/vLop6FmY1mrF4aNEs7NeWo+X2DcQOteisanH+q08evoH6lnlNaJ0s6+TbJOZ6z U01+0CVrSuwHjxViko7QrUSz0UmgLdnvufxia5bKGVVj2HSJNZT+euOmgFRRCP6qT9HA ZkH6F5KNSKA0Lo+wpByI7rRu9znVdVUX/wZQYkDhs/nhXcb4K/cpIzPFWZuU5AV6jm4d 20Og== X-Gm-Message-State: APjAAAUFbXrNFf3PWlzLY3ok40pFjJusZvmtZ8Rv5PfALFRxb1YKwAch YXZ1t4Q9wymR+fPp640uI31Xm5nu/QrQp3EBPBNyuQ== X-Received: by 2002:aca:58c2:: with SMTP id m185mr894309oib.128.1572292996724; Mon, 28 Oct 2019 13:03:16 -0700 (PDT) MIME-Version: 1.0 References: <20191025234834.28214-1-john.stultz@linaro.org> <20191025234834.28214-2-john.stultz@linaro.org> <20191028191231.GJ125958@google.com> In-Reply-To: <20191028191231.GJ125958@google.com> From: John Stultz Date: Mon, 28 Oct 2019 13:03:05 -0700 Message-ID: Subject: Re: [RFC][PATCH 1/2] mm: cma: Export cma symbols for cma heap as a module To: Sandeep Patil Cc: lkml , Laura Abbott , Benjamin Gaignard , Sumit Semwal , Liam Mark , Pratik Patel , Brian Starkey , Andrew Morton , Chenbo Feng , Hridya Valsaraju , dri-devel , "Andrew F . Davis" , Yue Hu , Mike Rapoport , Alistair Strachan 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 Mon, Oct 28, 2019 at 12:12 PM wrote: > On Fri, Oct 25, 2019 at 11:48:33PM +0000, John Stultz wrote: > > --- a/kernel/dma/contiguous.c > > +++ b/kernel/dma/contiguous.c > > @@ -31,6 +31,7 @@ > > #endif > > > > struct cma *dma_contiguous_default_area; > > +EXPORT_SYMBOL(dma_contiguous_default_area); > > I didn't need to do this for the (out-of-tree) ion cma heap [1]. > Any reason why you had to? Its likely due to the changes I made in the separate non-default-CMA-region patch set. Earlier I had gotten away with just your change, but in testing before I sent this series, I hit the build error and quickly added the export before sending. I'll revise and respin this. Mostly just wanting to get initial feedback on the dmabuf-heaps-as-modules bit, so I didn't take as much care as I should have with the exports here. thanks -john