From patchwork Wed Sep 20 18:01:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 113165 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1065601qgf; Wed, 20 Sep 2017 11:03:35 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAPUi+sj4hk+tpSyzEh74ViN3vR3uqhDOAx26fO8Wlfx/VDMa5J+xByFvNcsv1IvmAYeZ1W X-Received: by 10.101.75.81 with SMTP id k17mr2941331pgt.369.1505930615306; Wed, 20 Sep 2017 11:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505930615; cv=none; d=google.com; s=arc-20160816; b=hLpkIkTFgprD9GnAn5AK6dcbVKs5B7EuUYobVFvmFWaaDjDeyFsnAhXp+9u3lCEXcY Sjc49j5Cv+Bx17aSgwRlHUHPn8LgKz6OxFR3Fapzj18qfJO3KTwLjFLQoYal1YjJV6hj D0VjzF4ZL18hWC+FvuPtxF+nsde8IQS7CaS5em3wUZwj/uPS5ilXdWrLfVVYROU2nJEk IuP30xSR49NhgkAaX1R/UVI2Tdl/9rn99eJ8njLz82Ua337k/xcCk01GovilZAyd9m5y 3TzwNtJLlPsS+D7fSfefqwpj8RxI9/+qk8UT9vOFjK9CplXBx8RTNqaZ4Ao6qf/9cYPA I3Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=nDiwp714CUV50rQHSi73owoqowfWFvxHhAtn647m+TY=; b=ZM6AydxUUoppuqNH757ZYfSSFwOo7YH8GcAZILoJ4Y4cVStUQSEL9ONGI+NyQLksny /v80HU/STAXz8WKiq73uhRPGQLofa5SFV5272mOD1nz2bTEBkDRjUW94KTzCfIDpM0/l 15QYr7rF4Fa5EqD+cPoD+ya+T/8nwyuvkeT2VFjpKg/NfqG0H3KQbJ+tqypUmyUfUdD5 XRPFVS0fl2gVtihTK5Wx37JwvpMPNXT8aPwpTC/YfFsMzewIi3aBwhsas+Af/9f5scDt 2BTgERwyaK9bOcoXeoxB1YDyvDc3BkdfJy24hpk7I8GSXK/N6qd8QQJCiWuT75ezGtGh EE1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hSk6MUQs; 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 n12si3443241pfb.207.2017.09.20.11.03.34; Wed, 20 Sep 2017 11:03:35 -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 header.s=ti-com-17Q1 header.b=hSk6MUQs; 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 S1751621AbdITSDc (ORCPT + 26 others); Wed, 20 Sep 2017 14:03:32 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:26806 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbdITSDb (ORCPT ); Wed, 20 Sep 2017 14:03:31 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8KI1gRp011741; Wed, 20 Sep 2017 13:01:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1505930502; bh=Fg6BnfPWr4SCi58hC3h9sLhvdkvj3iVgK5KsCtmmJFQ=; h=From:To:CC:Subject:Date; b=hSk6MUQsWaSCRxvg3S6BaCsnK2nW4z1u+vDKP0ZJt+0hCG6457JG1eJ4+P1vvZUtd Q5ls/w71ihLUColN3va5FoDu3YVrwagjaEISisi92QDXKvzIm/nzDsSZkm8Myl6TzQ G0l375vuFgO2EBBhhR9uFtK2ZzjJ272BepbGJD6I= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8KI1bvl020694; Wed, 20 Sep 2017 13:01:37 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 20 Sep 2017 13:01:37 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Wed, 20 Sep 2017 13:01:37 -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 v8KI1bNb029178; Wed, 20 Sep 2017 13:01:37 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v8KI1a312910; Wed, 20 Sep 2017 13:01:36 -0500 (CDT) From: Suman Anna To: Sekhar Nori CC: Bartosz Golaszewski , David Lechner , , , Suman Anna Subject: [PATCH] ARM: davinci_all_defconfig: enable CMA options Date: Wed, 20 Sep 2017 13:01:32 -0500 Message-ID: <20170920180132.4373-1-s-anna@ti.com> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the CMA and DMA_CMA Kconfig options by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig. Signed-off-by: Suman Anna --- Hi Sekhar, Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch. regards Suman arch/arm/configs/davinci_all_defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.1 diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index 4d432cf1ee79..bd0cf22f9ceb 100644 --- a/arch/arm/configs/davinci_all_defconfig +++ b/arch/arm/configs/davinci_all_defconfig @@ -34,6 +34,7 @@ CONFIG_DAVINCI_MUX_WARNINGS=y CONFIG_DAVINCI_RESET_CLOCKS=y CONFIG_PREEMPT=y CONFIG_AEABI=y +CONFIG_CMA=y CONFIG_SECCOMP=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 @@ -56,6 +57,7 @@ CONFIG_NETFILTER=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not set +CONFIG_DMA_CMA=y CONFIG_DA8XX_MSTPRI=y CONFIG_MTD=m CONFIG_MTD_TESTS=m