From patchwork Thu Aug 11 13:36:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 73826 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp356791qga; Thu, 11 Aug 2016 16:38:22 -0700 (PDT) X-Received: by 10.194.222.194 with SMTP id qo2mr14228810wjc.109.1470958701910; Thu, 11 Aug 2016 16:38:21 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id cn10si4548792wjb.185.2016.08.11.16.38.21; Thu, 11 Aug 2016 16:38:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A4804A7673; Fri, 12 Aug 2016 01:38:20 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V6mDJq51fvJI; Fri, 12 Aug 2016 01:38:20 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 671ADA767F; Fri, 12 Aug 2016 00:36:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 274654B801 for ; Thu, 11 Aug 2016 15:38:01 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I5ttS9_5IXN8 for ; Thu, 11 Aug 2016 15:37:56 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 614764B71E for ; Thu, 11 Aug 2016 15:37:43 +0200 (CEST) Received: from grover.sesame (FL1-119-242-215-193.osk.mesh.ad.jp [119.242.215.193]) (authenticated) by conuserg-07.nifty.com with ESMTP id u7BDapkg016332; Thu, 11 Aug 2016 22:36:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u7BDapkg016332 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1470922615; bh=vIeDlkD6Fzi8B45fHpClV9Ao+ka2+JxtyZvfFzGSxIc=; h=From:To:Cc:Subject:Date:From; b=BO3GkgTLEBGbo5f7Epynavs9M+WbLK9+ZldMG6KZQaG2OEaEPYXUX7GZD4P5YTMvS D/j9StoD+4hMcrh84bpJQLtg3MRWIqL+RqoCe20FBSfIpWyKvtg6m2rWeRjzy9aD3I vAb247dGyLjy3Jcmd0pG+pQpWS/bu4gA6dX5d0/qx+Cm5Ivrve4CGxzS5Vbh5NbPDL 0U44GpUGfZ2/O5eS4q4Ne3lhcrxR3HSZ7celKGyWWimA3D4gy5kB5GvN05JkdmJfjt nDuSw8RtV4w9YMKZHFRcpJysdBAY2sj9K37wuXUqAmPNZmMITox8JQbxTK6gmAB/qk 7cZgcFbKoiXJA== X-Nifty-SrcIP: [119.242.215.193] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 11 Aug 2016 22:36:45 +0900 Message-Id: <1470922605-27803-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Cc: Tom Rini , Stephen Warren Subject: [U-Boot] [PATCH] ARM: make ARMV7_LPAE select PHYS_64BIT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As you see in arch/arm/include/asm/types.h, CONFIG_PHYS_64BIT determines the size of phys_addr_t. The ARM Large Physical Address Extension allows CPUs to access a physical address space larger than 4GB, so the physical address may not fit in 32bit long phys_addr_t. Signed-off-by: Masahiro Yamada --- I did Buildman test, but not run-time test. Looks like bcm283x (RPI) is the only arch that selects ARMV7_LPAE, so I hope Stephen will check this patch. arch/arm/cpu/armv7/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig index 0560178..1697e61 100644 --- a/arch/arm/cpu/armv7/Kconfig +++ b/arch/arm/cpu/armv7/Kconfig @@ -45,6 +45,7 @@ config ARMV7_PSCI_NR_CPUS config ARMV7_LPAE boolean "Use LPAE page table format" if EXPERT depends on CPU_V7 + select PHYS_64BIT default n ---help--- Say Y here to use the long descriptor page table format. This is