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: 9874029 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 CD0EA60365 for ; Tue, 1 Aug 2017 09:57:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3F712860A for ; Tue, 1 Aug 2017 09:57:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A87F428689; Tue, 1 Aug 2017 09:57:55 +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 5758C2860A for ; Tue, 1 Aug 2017 09:57:55 +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=ERlj8TPnNJz0MHm4YOXNiZDne92o8yjRSPk5ODYUiDE=; b=rbe r+GvB/C/risJdSHKjuaNsp1AVC0MvYSAcyjV8UxtXcC0wiyybocwKKdJNCoR/YzMxZkB2fkSKXzZ1 NNK5DruPvIvPVc2HRnWEVur3cWbJoweqIkwBg9wiRNiD0UhKtRh/6JfhKNjRYMg+jpIqAu5F0RfdE I3INO7VDN4lhiJXHZRywaDDg4pbRfKOqXguMJXCuXpSplWCI1aZMLuUHbBCbGCuPbeJdXggeTDZtk vrwIlDPG2Qqnl/K5rqMBGejtsjfNKojocJRqP9uR7jheyZJ1B8M5CJifvgZt4Jx4uL5sdxObxLY1P UjmGzjW79XG3o5uBcjQzRS5oPU7bfvw==; 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 1dcTw0-0000rp-QI; Tue, 01 Aug 2017 09:57:52 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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