From patchwork Tue Aug 1 09:55:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Huang X-Patchwork-Id: 9874031 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 81E7D60365 for ; Tue, 1 Aug 2017 09:58:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68AE32860A for ; Tue, 1 Aug 2017 09:58:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D87E28689; Tue, 1 Aug 2017 09:58:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E8A1A2860A for ; Tue, 1 Aug 2017 09:58:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=8/6jbUSX5z5Bzgot7yG4w8IO9/umQSrsB/QtCF1COII=; b=tj9 7XpnQ34lI0pPkuPR9K1gp7gUOkfMh4Pl9nHhQ1FTLqfQWqgPlzljW/1IoIDDLo1bChsCT2/yzeTBg rl9xG4Aw4K0UBbmKeOF+0mDGiFmSJasbtWWl/wAgAsX0+PH6R/6sQpb+G1B8V6JwMNg1lPF41HOMT AOI8ouQ22KF87gsLYza1VLzys9GlnbXX5pZGz63+7kmmduWLwIZzo1yvXz1Q/oBZLMvmPM/dFWUTo lmLJe0FhTM6sM7X7KCgIwbu2RD8QQ9lzJntUO/W2WqdMfWWhu7fowlsujew9CRcPnPm9wlVYfhRgD HiAiE1KoSa2bPK90PI8qPPm4MgwZLDg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcTwH-0001CS-5S; Tue, 01 Aug 2017 09:58:09 +0000 Received: from regular1.263xmail.com ([211.150.99.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcTvp-0000WQ-CR; Tue, 01 Aug 2017 09:57:45 +0000 Received: from huangtao?rock-chips.com (unknown [192.168.165.103]) by regular1.263xmail.com (Postfix) with ESMTP id DE8D98D25; Tue, 1 Aug 2017 17:57:10 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from smtp.263.net (sg-smtp01.263.net [54.255.195.220]) by smtp.263.net (Postfix) with ESMTP id C54343FB; Tue, 1 Aug 2017 17:57:10 +0800 (CST) Received: from huangtao (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 436A8DF30E; Tue, 1 Aug 2017 17:56:59 +0800 (CST) X-RL-SENDER: huangtao@rock-chips.com X-FST-TO: huangtao@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: huangtao@rock-chips.com X-UNIQUE-TAG: <5e1ed76d555cf27a469224ea2e06801f> X-ATTACHMENT-NUM: 0 X-SENDER: huangtao@rock-chips.com X-DNS-TYPE: 0 Received: from huangtao (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 678310Z38W; Tue, 01 Aug 2017 17:57:02 +0800 (CST) From: Tao Huang To: Heiko Stuebner Subject: [PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE Date: Tue, 1 Aug 2017 17:55:55 +0800 Message-Id: <1501581355-3538-1-git-send-email-huangtao@rock-chips.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170801_025742_331420_D81B63C7 X-CRM114-Status: UNSURE ( 4.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tao Huang , linux-rockchip@lists.infradead.org, Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Rockchip RK3288 has some 64-bit capable DMA and therefore needs dma_addr_t to be a 64-bit size. One user is the Mali GPU. Signed-off-by: Tao Huang --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 9ad84cd01ba0..240354963158 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -3,6 +3,7 @@ config ARCH_ROCKCHIP depends on ARCH_MULTI_V7 select PINCTRL select PINCTRL_ROCKCHIP + select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE select ARCH_HAS_RESET_CONTROLLER select ARM_AMBA select ARM_GIC