From patchwork Wed Feb 5 05:36:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3584461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0DD3A9F2E9 for ; Wed, 5 Feb 2014 05:35:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F05BA20170 for ; Wed, 5 Feb 2014 05:35:55 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D62A02016C for ; Wed, 5 Feb 2014 05:35:54 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAv9H-0003o9-PU; Wed, 05 Feb 2014 05:35:47 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAv9F-0007FC-CK; Wed, 05 Feb 2014 05:35:45 +0000 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAv9C-0007Eu-I6 for linux-arm-kernel@lists.infradead.org; Wed, 05 Feb 2014 05:35:43 +0000 Received: by mail-pb0-f44.google.com with SMTP id rq2so9426606pbb.17 for ; Tue, 04 Feb 2014 21:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=V8EmYXMUELrFs8CQhmBD4ps5jAQp9ggtYcPiKVUMCLY=; b=d00R2wEqF7GpKyVdV/h2cssJaSD+vu5au09XnJ+ZmKIkLAbE0bFSfLHXwlJZIhMT0K rd55/nhuYQJqBbh0zyFxOUKqP6HsUOO1o3EGzRjCFbjjcg+9YE65DN1swBU8RCRnanCV B8MuIQmseD83bJGBcK+NmmFBVsfeCYHXH7wX0qD/1z0ZFdqsRCZuFPmLmtVjEGA9P1Sx qLycgrASc862Vgn+lLTBLgCf46utTQ3IKjHAMo6Fs9F15bL8gmrrAJLOvs7gQXqMI97G k/iuoZAX4Qo5tkS1dvoa9IvUnvcGbQvn+hvexeLlxAHLfEhT5O58FdgRKzHCq098qDC/ ki+Q== X-Received: by 10.66.241.73 with SMTP id wg9mr49244802pac.69.1391578518137; Tue, 04 Feb 2014 21:35:18 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id qq5sm72221013pbb.24.2014.02.04.21.35.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Feb 2014 21:35:16 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 05 Feb 2014 14:36:28 +0900 Message-Id: <20140205053628.29078.92360.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140205_003542_716080_C44E4270 X-CRM114-Status: UNSURE ( 7.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: horms@verge.net.au, Magnus Damm , laurent.pinchart@ideasonboard.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Some on-chip devices on r8a7790 and r8a7791 can do bus mastering and access more than 32-bits of address space. Select ARCH_DMA_ADDR_T_64BIT when LPAE is set in case of multiplatform and legacy SoC support. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 3 +++ 1 file changed, 3 insertions(+) --- 0001/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2014-02-04 17:04:53.000000000 +0900 @@ -13,6 +13,7 @@ config ARCH_SHMOBILE_MULTI select ARM_GIC select MIGHT_HAVE_CACHE_L2X0 select MIGHT_HAVE_PCI + select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE select NO_IOPORT select PINCTRL select ARCH_REQUIRE_GPIOLIB @@ -126,6 +127,7 @@ config ARCH_R8A7790 select MIGHT_HAVE_PCI select SH_CLK_CPG select RENESAS_IRQC + select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE config ARCH_R8A7791 bool "R-Car M2 (R8A77910)" @@ -135,6 +137,7 @@ config ARCH_R8A7791 select MIGHT_HAVE_PCI select SH_CLK_CPG select RENESAS_IRQC + select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE config ARCH_EMEV2 bool "Emma Mobile EV2"