From patchwork Fri Jan 19 13:32:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 125162 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp293382ljf; Fri, 19 Jan 2018 05:32:13 -0800 (PST) X-Google-Smtp-Source: ACJfBoturFQuBc15F9D+VU6zIaAVevoce23aV3ILkoP5pMIqhYUU8Bj/GwuYjky4LtmbgIQ7vfKN X-Received: by 10.98.56.150 with SMTP id f144mr22042557pfa.167.1516368733067; Fri, 19 Jan 2018 05:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516368733; cv=none; d=google.com; s=arc-20160816; b=MAhgUIF7clyaPLynzAFQVHU+EvgaXI7TQRzbhxBB/fW8K7NC1DTl8PNeyEs9lDV5Wx 24J//Y6qOAZ8Cpu7ISXABak4GSJlO3qM1CNuUXaiKWDgoU8lMqQ4UgUaXJxyiTGcdTp/ y32kwffcLc9nVLebLUIN8G3b7Hf6jwJ9zzde+geJd3T2xGMd35Li9Zo5HJD3DFkmn6Pe Rc5DjoUCWGKtEP2clREldlpQZE+MmwM4zclSjYghn+K0iZy24tuqr8OsBLdZTXlqemd2 ph3JjIYorM0S8oJGiHlOIh03Qs0HsV9mi3CUITLGZSqZHvOG23dTCfjzUuW0B5fcYeDX uG9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=PKAlt/G4EUl06oY26RJ3jZnZCd6cTRWzDRIHbE8nqmk=; b=avz7NhlnLk/Sw7IhgMR5AbwtkK1qPebjscXQeJhqYhQV2UJsN0zaZP2iRYXpCmjKal oicexHWFQbhooDjDiNcZKq+S3xo8B9l1cvdEE81FaZ802oWRlX4ERe0OHBoYH/hMg55O SckENCSxRyqLQXeEQ5mdY+XdYU9e3R1lBtwEuHayQ4fkM2FV9OarMiOUZPsVfuCot3uL ArndgaT060PQlx032AQ5gKxpOD8cFCTFKhA+fENGQy/y9KZmBKFsnOsUBNQkmH6mZFiq aiP7gPFEJ4ogh6n5aItPyUdl57asXOYOpmwZs5bdrxxp8hhLTzCo8V9TMxtjb+e0PJIO z9Sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 o68si9210406pfk.327.2018.01.19.05.32.12; Fri, 19 Jan 2018 05:32:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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 stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754440AbeASNcM (ORCPT + 10 others); Fri, 19 Jan 2018 08:32:12 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:40968 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754104AbeASNcL (ORCPT ); Fri, 19 Jan 2018 08:32:11 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 79788208D3; Fri, 19 Jan 2018 14:32:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 50377208CD; Fri, 19 Jan 2018 14:32:10 +0100 (CET) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org Subject: [PATCH] ARM: sunxi_defconfig: Enable CMA Date: Fri, 19 Jan 2018 14:32:08 +0100 Message-Id: <20180119133208.12873-1-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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. Cc: Signed-off-by: Maxime Ripard --- Hi Arnd, Olof, Could you queue that patch as a fix? Thanks! Maxime arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.14.3 diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 5caaf971fb50..df433abfcb02 100644 --- 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