Received: by 10.223.176.46 with SMTP id f43csp2654680wra; Mon, 22 Jan 2018 00:59:58 -0800 (PST) X-Google-Smtp-Source: AH8x2247oYZIpGY60b/sGhzwNvrfjKVCtaexwU99sSJhpfr0kbx5EZB7Ee5vuY8Pa9njI7b7YDYW X-Received: by 10.101.80.193 with SMTP id s1mr6858731pgp.417.1516611597913; Mon, 22 Jan 2018 00:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516611597; cv=none; d=google.com; s=arc-20160816; b=fEldOFrYTEXPjJaPVee0Cyaq86APOsybH7rMid9PGGx5cpSYTP+C7sQ3uRyOyC8UeK Kv9hiyJ8uudOU5laNEEr6XZnpMrOUQTPK1rxsPROvLjWXzKikvc+c+lsXxqJrjnrl+Q7 smQNCW+dhOno7M/Qs3Q4jLceKRLbQzXScnHnO7+GIrK7a04QpUfGPizRFs0vt7TW2BWH sGzbeONo78CdF4Jao5s309JPhON82s7MMM7nUCbqVuitjyPB+L5J0tBbdEjbxEgSXuC7 BDJCOBn58P38Kny01/uK6QsVzxijIitErBzhL6uzu5iyXnL+a64KFrT/toDT3Gpl2mBH FTXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=BautCved579d+GnehdeYL03km1q3ZU8E7iphq6GOb4c=; b=mmi7iwgxjNyGtMqSnv9XgNqHQVcj4SvQX5QMaov0DA8SWNYxPjrpADYRvBLOnrhwvj BSlbWY2gpL5V9mDUBM2ZCoSbTa4zfQ/nVKgcJf/hwv7GEy1NoLPAVRSqDL8u4xb24LQi OfS3wlZfbEEShzNFzMGXLBzOgaWAtinVCYfMHRYLkJSvwqffzuoAjCol4VB0RrHxiB9m 2CCVbR6k6Z5zeTuJBw1odFzuPaai535xns6nJmwgW/IQVWxLjpd5b+4fD5uF/f9iblAE zHDWsz2ZJE1nYP4twdoAxRfQ3fApwP7olhc1G3vWZmLhGDD0HYXhTOaYPB+iFvwIoW0X ms7g== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 87si12006740pfl.300.2018.01.22.00.59.43; Mon, 22 Jan 2018 00:59:57 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753792AbeAVI6x (ORCPT + 99 others); Mon, 22 Jan 2018 03:58:53 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:34130 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753682AbeAVIyE (ORCPT ); Mon, 22 Jan 2018 03:54:04 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3CD5EF00; Mon, 22 Jan 2018 08:54:03 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maxime Ripard , Arnd Bergmann Subject: [PATCH 4.14 58/89] ARM: sunxi_defconfig: Enable CMA Date: Mon, 22 Jan 2018 09:45:38 +0100 Message-Id: <20180122084000.500983699@linuxfoundation.org> X-Mailer: git-send-email 2.16.0 In-Reply-To: <20180122083954.683903493@linuxfoundation.org> References: <20180122083954.683903493@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 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 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Maxime Ripard commit c13e7f313da33d1488355440f1a10feb1897480a upstream. The DRM driver most notably, but also out of tree drivers (for now) like the VPU or GPU drivers, are quite big consumers of large, contiguous memory buffers. However, the sunxi_defconfig doesn't enable CMA in order to mitigate that, which makes them almost unusable. Enable it to make sure it somewhat works. Signed-off-by: Maxime Ripard Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -10,6 +10,7 @@ CONFIG_SMP=y CONFIG_NR_CPUS=8 CONFIG_AEABI=y CONFIG_HIGHMEM=y +CONFIG_CMA=y CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_CPU_FREQ=y @@ -33,6 +34,7 @@ CONFIG_CAN_SUN4I=y # CONFIG_WIRELESS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_DMA_CMA=y CONFIG_BLK_DEV_SD=y CONFIG_ATA=y CONFIG_AHCI_SUNXI=y