From patchwork Thu May 18 22:08:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 100141 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp44977qge; Thu, 18 May 2017 15:09:52 -0700 (PDT) X-Received: by 10.99.109.9 with SMTP id i9mr6659955pgc.56.1495145392584; Thu, 18 May 2017 15:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495145392; cv=none; d=google.com; s=arc-20160816; b=TsdmOFtmnifXPLIgksscCPyQ3cmbrAf9fd8fCm1VSFDcHnxqG40tkkTu/75OwzIhBh vFfEIpjO2X3Y1k1AYoBCe4kw76DVAVtK/+pxlv0JNuBB1LMEpTNgmydrmHTWWKBXiQ6+ DF8BkuSmU67Z2sZPDWAP6fNWJnIzQgkp6zqIJOngkfJvNXCfkZMNbzM7BRJ3Gl9c0h7G UoBXiKUHc5utBJYruPBTjBadwi/XWW7lNWloCdaTC6d6X5DI3XEdNwa8xtM/8TiG+SyR 31DWluEzeB6R7ymALy5hx0KGLFfKuZSUrSrIZflLUQ8rbH1JqtEzhDqIEVzCtw1BLb3a /kjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=iH487NHJxNRUH2i1v4L1he4ZsTYQ86WncpfnnaMAEhU=; b=DAS72SjcpH+IY4kWAucDxPg6hKcvQOmlMF9fHrAq3DIaQsMTT16+CNv2au4dMUYyhW CoPh3KlV4QF+/Toyj9yHjU0zLlOfv6dVAaR+cVT68AJVAeYadUBDIadMvzyV+k6BkO2R c6MqbuQx3DH6VYsxcxlryEOimD+pKaK1f/cM8xbCu4/pNJbrfOVRV2RE6jA6OD+4Akw1 88quK8lGQOJOU3EnRpjpzGk4tKvNC6RTlXi80r2xtFsm2rtitu1O7t19LQfi/8m8ocuS H6RQ3IMx8V4zJ6YtHOQYVSW7KGTKVHm9p/bBh1MBWf81LAFDytTEIys1QxzZIBbEGOBL fayA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y133si6394390pfg.257.2017.05.18.15.09.52; Thu, 18 May 2017 15:09:52 -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=@ti.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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932386AbdERWJg (ORCPT + 25 others); Thu, 18 May 2017 18:09:36 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:19343 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932325AbdERWJc (ORCPT ); Thu, 18 May 2017 18:09:32 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v4IM94gd028488; Thu, 18 May 2017 17:09:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1495145344; bh=Aeu5gcGz3/ndZqNYwNDOBNuSIlT4jM/Pql1soH0O2g4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FzQGzzOwBZ99gIoXrT2ZhXw1gBHC3+KRBaqtzDAtiqZxpRqBa/wIUOfUvvssdIeRy wnCMi1STj+X53r67pKS8WcfNGi/s60ByzrMtpQEN19ROS00Qd2IIwhX+stIX82r2uH SSXQgZm5jxOosKfE9Z9PQWMw5jIWO3bFZXxHMH50= Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4IM94qv008783; Thu, 18 May 2017 17:09:04 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Thu, 18 May 2017 17:09:04 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4IM943F023203; Thu, 18 May 2017 17:09:04 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.167]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v4IM93323047; Thu, 18 May 2017 17:09:03 -0500 (CDT) From: Suman Anna To: Bjorn Andersson CC: , Sekhar Nori , Robert Tivy , , , Suman Anna , Arnd Bergmann Subject: [PATCH 1/4] remoteproc/davinci: Update Kconfig to depend on DMA_CMA Date: Thu, 18 May 2017 17:08:59 -0500 Message-ID: <20170518220902.2846-2-s-anna@ti.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170518220902.2846-1-s-anna@ti.com> References: <20170518220902.2846-1-s-anna@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The davinci remoteproc driver requires a CMA pool for allocating memory for virtio vrings/buffers and other sections of the firmware image. The allocations are done using the DMA API. The CMA option is currently selected automatically on systems with MMU when davinci remoteproc is enabled, switch this to a saner depends on dependency convention. The dependency is also updated to use the DMA_CMA kconfig symbol that is used for CMA allocations using the DMA API, the CMA dependency is inherited implicitly. Cc: Arnd Bergmann Signed-off-by: Suman Anna --- drivers/remoteproc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.12.0 diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index faad69a1a597..0aafb0d0e9fd 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -52,7 +52,7 @@ config DA8XX_REMOTEPROC tristate "DA8xx/OMAP-L13x remoteproc support" depends on ARCH_DAVINCI_DA8XX depends on REMOTEPROC - select CMA if MMU + depends on DMA_CMA select RPMSG_VIRTIO help Say y here to support DA8xx/OMAP-L13x remote processors via the