From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x224TRUqnJgDqFg0o8PQ1y3bz2pNnd6yuBxRlaZSen9Uwd8AZHFd2fpU2qmh6TlfeYS4Kv+nJ ARC-Seal: i=1; a=rsa-sha256; t=1516611245; cv=none; d=google.com; s=arc-20160816; b=CPYKyTnCIZM1naKA+etS6ezgmsabV5Ro8tthmVU33gUsHTwuxrpxQ8Ojeh4PEWlwC7 Paer1s45UYu01wAOBE/5Hk2zL2hF8Yo5T0kn4lcOvfmRuKkpiKCNyY3bLIJD/r26KGBS eil4ApDvLkKxXZ1oZlN2rI8nJsL9DR2HJuJzOPo+OVDDofd25PVya8y6lh2Qwh/x3WqR LdHepub/RW1KuK8m1z2cgxMBKMZ1gvPXY8vLsd2hQskz76h/a+epck3vV9xtbgqahrnM QGiZJOTDxVPydZyxMM2Qfe4KV0uTXjBSq1B8PbgnHh6G+KFqdbPryI0xEyOqVZVL0Wqs 3otA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=BautCved579d+GnehdeYL03km1q3ZU8E7iphq6GOb4c=; b=j2phKj5IknDIcAPrXyoz590v7QnyTrAw/tHEyOExhHhGpGNZcDRqlotP/+fo6wPjWB QdKxOFXd4MayFrKFICwjk8EGtrtmOJZUWtSlyC0pqXUO3Gh//6WUBwkbxa/cDzYX3lmQ aU3CdOmUCLZCoRfLgjnkW+ViwbbWqf1vaEWEMXmbbL/fKAN6Sx3aP6jsjs4rred1q1X1 CZs/2glyfCbCNyhhm04p7L3aVD4JhtdMTX8UCnvSUsAx6eLnscID63BGNgxIXWsfSP0p XEZdGJHseJ0egd/+PToIDkC3sE6DDmHOAIEkh747IgFcDjuQwxyACBV18uGlDrSnuBLH BKqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-LABELS: =?utf-8?b?IlxcU2VudCI=?= X-GMAIL-THRID: =?utf-8?q?1590281814727655303?= X-GMAIL-MSGID: =?utf-8?q?1590282152513955571?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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