From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.1.74; helo=eur01-ve1-obe.outbound.protection.outlook.com; envelope-from=evan.lloyd@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0074.outbound.protection.outlook.com [104.47.1.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 061782228352E for ; Wed, 14 Mar 2018 12:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HW0V2nelAl3IxVD6c03fbJPmDtchTbHA0lkMjufgTeg=; b=NTLv2laHZMdqdxLlKz8C5cskof/tP1p+UO2lrC+uLCH87mxPQt5eWkKAF73Oh2Au5EIlhYcTTFKTA8mbo54KxAs0qmTbFqKBguCBqf805I+YakeBxTiGF8/YKpMBTRuu9kF+GKWV0UEGQN4Jtg1eH5EVyH6pL1VXDflBTthjRio= Received: from HE1PR0801MB1771.eurprd08.prod.outlook.com (10.168.150.14) by HE1PR0801MB1673.eurprd08.prod.outlook.com (10.168.149.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Wed, 14 Mar 2018 19:34:32 +0000 Received: from HE1PR0801MB1771.eurprd08.prod.outlook.com ([fe80::1925:dd6f:e583:faaf]) by HE1PR0801MB1771.eurprd08.prod.outlook.com ([fe80::1925:dd6f:e583:faaf%15]) with mapi id 15.20.0548.021; Wed, 14 Mar 2018 19:34:32 +0000 From: Evan Lloyd To: Ard Biesheuvel , "edk2-devel@lists.01.org" CC: "\"Matteo.Carlini@arm.com\"@arm.com" <"Matteo.Carlini@arm.com"@arm.com>, "\"leif.lindholm@linaro.org\"@arm.com" <"leif.lindholm@linaro.org"@arm.com>, "\"nd@arm.com\"@arm.com" <"nd@arm.com"@arm.com>, Girish Pathak , Sami Mujawar , Dong Wei , Mitch Ishihara Thread-Topic: AARCH64:Use of EFI_MEMORY_XP Thread-Index: AdO7y3jiRPjv52MgTNWk8/M13Vt53A== Date: Wed, 14 Mar 2018 19:34:32 +0000 Message-ID: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Evan.Lloyd@arm.com; x-originating-ip: [217.140.96.140] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0801MB1673; 7:WA+71XQbs0R6aeK6Bz8/pClFPuHvGJh1IZ3Octmy3r5M1Q1b6bqGtHQckkkpzEQlCkoM0RpzMqkoJQWA9OJ5b+zBY+ozOM9sxmh78f9dBDJfvK9dnSb1PtXeIduI2bvYgBDQDHfUdkrLl9mYAS/uDItNKraTAORg4LEGtey252ynmlpzyDB/rApD6T0thYrOq2Jc3966TwiBM2X1qupLlQBPU7CM7rdyaWtjhk7sCY98pViEFxVIv1qb2vD0S5EN x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4852cff5-02d4-49b5-1a5f-08d589e29c76 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0801MB1673; x-ms-traffictypediagnostic: HE1PR0801MB1673: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(162533806227266)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231221)(944501244)(52105095)(6055026)(6041310)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR0801MB1673; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1673; x-forefront-prvs: 0611A21987 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(366004)(39860400002)(376002)(39380400002)(478694002)(189003)(57704003)(40434004)(199004)(13464003)(105586002)(4326008)(33656002)(5660300001)(25786009)(2906002)(316002)(74316002)(53936002)(110136005)(7736002)(102836004)(3280700002)(305945005)(478600001)(55016002)(97736004)(59450400001)(86362001)(6506007)(66066001)(68736007)(53546011)(9686003)(6436002)(6116002)(81166006)(8936002)(8676002)(81156014)(3846002)(14454004)(2501003)(72206003)(106356001)(186003)(99286004)(7696005)(2900100001)(26005)(5250100002)(5890100001)(3660700001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1673; H:HE1PR0801MB1771.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: sKERxhV/+8dGpm4i0VFKjQa8esoQUbxvI8vV+VVYPzqVHBNzb6gNCD4nX30xwgjQa1QBn5Jb9d2I1hokcqNCcuVbyZ1ua3BFoeEqLMKLEkuIbIYTbzYhLgh/QIPBaroAP+HPAkcOo8BX8+XRnI2R5k2LrEyVQQ6jvgWcp6xF/Fx1CpHHnkaUgfhhkuTwx41X6WN3axJJe2fa1T7VoyN1FH2tWRD0R9z6P9TfoqIgOUgKu66bzdm5pok+q+EvEHTgsA/cMSy2MGBJNrBHM8jwJ2wWxMC3DpY+/JWg9gmAIxLoXPe4x+/4RixtRHpORPYrtg1ONWPYFe5UFe3IOADq1Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4852cff5-02d4-49b5-1a5f-08d589e29c76 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2018 19:34:32.1986 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1673 Subject: AARCH64:Use of EFI_MEMORY_XP X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 19:28:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Ard. We still have a minor problem in that the spec disqualifies EFI_MEMORY_XP f= or AARCH64. Do you have any thoughts on this? How should we proceed here? I assume the specification statement was a con= sidered decision. Do we need to get it changed, or is EFI_MEMORY_XP unnecessary? Regards, Evan > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Evan Lloyd > Sent: 08 January 2018 18:51 > To: Ard Biesheuvel > Cc: "Matteo.Carlini@arm.com"@arm.com; > "leif.lindholm@linaro.org"@arm.com; "nd@arm.com"@arm.com; edk2- > devel@lists.01.org; Arvind Chauhan ; > "ard.biesheuvel@linaro.org"@arm.com; Thomas Abraham > > Subject: Re: [edk2] [PATCH edk2-platforms v2 15/18] ARM/VExpressPkg: > New DP500/DP550/DP650 platform library. > > > > > -----Original Message----- > > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > > Sent: 23 December 2017 16:07 > > To: Evan Lloyd > > Cc: edk2-devel@lists.01.org; Arvind Chauhan > ; > > Daniil Egranov ; Thomas Abraham > > ; "ard.biesheuvel@linaro.org"@arm.com; > > "leif.lindholm@linaro.org"@arm.com; > > "Matteo.Carlini@arm.com"@arm.com; "nd@arm.com"@arm.com > > Subject: Re: [PATCH edk2-platforms v2 15/18] ARM/VExpressPkg: New > > DP500/DP550/DP650 platform library. > > ... > > > + // Mark the VRAM as write-combining. The VRAM is inside the DRAM, > > > + which is // cacheable, for ARM/AArch64 EFI_MEMORY_WC memory > is > > actually uncached. > > > + Status =3D gDS->SetMemorySpaceAttributes ( > > > + *VramBaseAddress, > > > + *VramSize, > > > + EFI_MEMORY_WC > > > > Please add EFI_MEMORY_XP here > > > > [[Evan Lloyd]] We can do that, happily. However, in looking at this we > found that the UEFI spec has in "2.3.6 AArch64 Platforms", section "2.3.6= .1 > Memory types": > EFI_MEMORY_XP, ... = Not used > or defined > > Does that suggest we need a minor spec update? > > > > + ); ... IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.