From patchwork Tue May 19 02:24:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 48727 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A6E7C21411 for ; Tue, 19 May 2015 02:24:44 +0000 (UTC) Received: by wivs14 with SMTP id s14sf1509648wiv.1 for ; Mon, 18 May 2015 19:24:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=DFoWj2FJz9kSrNSDWDEd6SYUiufCQUojXNNJhIh9Hys=; b=UI+L3J+Zh5jxV0f71iNPzF72f7ItfSXJYHi+xWEnoxyWNejot0uvtcCEwiAXwZ0erb GL/enQ8+peZOvzF8lr0ceqmzrehk0SaEfGagigiK7HRR3hQpz1MAUBXVfIfz0mUHHbj3 E0xSm9WsXsZZnNmdRvMZ9D1Du9cSVs0OuJ0Vo5czgLKPXr14pcQelfy83h9cpbA7HeCr j1B03ffBSiCrfZy/sUQpfetWcod8UYpJ2D7ygfMJF5BMctqFJOfkbntHrG8MdkX2gV6z fLNw5ND/ZdTVQA9AYOi2EWquB8G7xKApRhJrjW2S49dR9ppJuGXH4UrZ6rG13NGVVQG3 pD9g== X-Gm-Message-State: ALoCoQmO3urrf/M0K2qoJKwxnOz4oSx1xgK2pY704JTz1LkaKGM3a9ZQprAHSr0rEStYtYJ0fFdX X-Received: by 10.194.5.229 with SMTP id v5mr20206368wjv.0.1432002283977; Mon, 18 May 2015 19:24:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.3 with SMTP id bc3ls749lab.22.gmail; Mon, 18 May 2015 19:24:43 -0700 (PDT) X-Received: by 10.152.29.138 with SMTP id k10mr19624798lah.114.1432002283669; Mon, 18 May 2015 19:24:43 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id i4si7850817lbc.22.2015.05.18.19.24.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2015 19:24:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labbd9 with SMTP id bd9so2036914lab.2 for ; Mon, 18 May 2015 19:24:43 -0700 (PDT) X-Received: by 10.152.9.66 with SMTP id x2mr19551957laa.36.1432002283205; Mon, 18 May 2015 19:24:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp464548lbb; Mon, 18 May 2015 19:24:42 -0700 (PDT) X-Received: by 10.42.185.12 with SMTP id cm12mr33399862icb.0.1432002281851; Mon, 18 May 2015 19:24:41 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id q7si10434310icp.66.2015.05.18.19.24.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 May 2015 19:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YuXCo-0000OK-7E; Tue, 19 May 2015 02:24:30 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YuXCm-0000OC-Vb for edk2-devel@lists.sourceforge.net; Tue, 19 May 2015 02:24:28 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.220.48 as permitted sender) client-ip=209.85.220.48; envelope-from=heyi.guo@linaro.org; helo=mail-pa0-f48.google.com; Received: from mail-pa0-f48.google.com ([209.85.220.48]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YuXCm-0002Kf-2Q for edk2-devel@lists.sourceforge.net; Tue, 19 May 2015 02:24:28 +0000 Received: by padbw4 with SMTP id bw4so2626829pad.0 for ; Mon, 18 May 2015 19:24:22 -0700 (PDT) X-Received: by 10.70.43.176 with SMTP id x16mr49016929pdl.83.1432002262044; Mon, 18 May 2015 19:24:22 -0700 (PDT) Received: from localhost.localdomain ([180.150.148.224]) by mx.google.com with ESMTPSA id pu1sm11333754pdb.33.2015.05.18.19.24.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 May 2015 19:24:20 -0700 (PDT) From: Heyi Guo To: olivier.martin@arm.com Date: Tue, 19 May 2015 10:24:09 +0800 Message-Id: <1432002249-5713-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.1.4 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1YuXCm-0002Kf-2Q Cc: edk2-devel@lists.sourceforge.net, ilias.biris@linaro.org Subject: [edk2] [PATCH] ArmPkg: Expand AArch64 address width to 48 bits X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: heyi.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The VA address space has a maximum address width of 48 bits in AArch64 state; 48 bits address width limit will provide better compatibility than 40 bits for future CPU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo --- ArmPkg/Include/Chipset/AArch64Mmu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Include/Chipset/AArch64Mmu.h b/ArmPkg/Include/Chipset/AArch64Mmu.h index 77a96ec..2398ba2 100644 --- a/ArmPkg/Include/Chipset/AArch64Mmu.h +++ b/ArmPkg/Include/Chipset/AArch64Mmu.h @@ -51,8 +51,8 @@ #define TT_ALIGNMENT_BLOCK_ENTRY BIT12 #define TT_ALIGNMENT_DESCRIPTION_TABLE BIT12 -#define TT_ADDRESS_MASK_BLOCK_ENTRY (0xFFFFFFFULL << 12) -#define TT_ADDRESS_MASK_DESCRIPTION_TABLE (0xFFFFFFFULL << 12) +#define TT_ADDRESS_MASK_BLOCK_ENTRY (0xFFFFFFFFFULL << 12) +#define TT_ADDRESS_MASK_DESCRIPTION_TABLE (0xFFFFFFFFFULL << 12) #define TT_TYPE_MASK 0x3 #define TT_TYPE_TABLE_ENTRY 0x3