From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on072e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::72e]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 406F41A1E59 for ; Thu, 8 Sep 2016 10:37:17 -0700 (PDT) Received: from AT5PR84MB0291.NAMPRD84.PROD.OUTLOOK.COM (10.162.138.25) by AT5PR84MB0291.NAMPRD84.PROD.OUTLOOK.COM (10.162.138.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Thu, 8 Sep 2016 17:37:13 +0000 Received: from AT5PR84MB0291.NAMPRD84.PROD.OUTLOOK.COM ([10.162.138.25]) by AT5PR84MB0291.NAMPRD84.PROD.OUTLOOK.COM ([10.162.138.25]) with mapi id 15.01.0609.016; Thu, 8 Sep 2016 17:37:13 +0000 From: "Cohen, Eugene" To: Leif Lindholm , Ard Biesheuvel CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH] ArmPlatformPkg: remove EFI_MEMORY_UC attribute from normal memory Thread-Index: AQHSCaj6ofgkiUkAD0afsTC+p9D196BvUY4AgACJeWA= Date: Thu, 8 Sep 2016 17:37:13 +0000 Message-ID: References: <1473322418-9158-1-git-send-email-ard.biesheuvel@linaro.org> <20160908092153.GH16080@bivouac.eciton.net> In-Reply-To: <20160908092153.GH16080@bivouac.eciton.net> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=eugene@hp.com; x-originating-ip: [15.65.254.4] x-ms-office365-filtering-correlation-id: 2c7923ff-7b38-4364-fca5-08d3d80ec4e0 x-microsoft-exchange-diagnostics: 1; AT5PR84MB0291; 6:k2qRPDFQjyTPqFsOokom9pr26HFIgG2iSTN/RO1R6RiJhMVIVXT34M8Lgc3yx4EvvH1em+813wKNnVS8XxZwRfeqPaSKvyoY5KzQ7AdwqHACDxEVRGovmrMG1grrV+G8LYw7xz0BMqqQB7xFGs20eP8gQMQRVXu7l1c2vHcBWn4eeVLmbD3naNcicW/QJW+gA4r5o7RPekcr0HAEbZhTRz+8f+MfX4Is737siDBjc9YPAQoSXhIYFqNYYBPsGPiaI9ay+wakTl+8I+lVxwIrC8NMG+Kx66ryRGfDoZX6jrU=; 5:cjYvhxfcwbC8HUDUK3R8PEhANo8ql5BZLTdn+kOy1fQgKyYOW1pifi9xJoJXQGD9y3vnp2TiVOA6WYUr027Wugh91aSGKtUglQ04dGbeBHjxNY7zTiViNn/yMSx1KmXaTptsqExU8b5Gs0rNGoO9RA==; 24:x3MKyPEgbjigpaWZbBWgVH/seABGF51U1YYCT3Gt++CCuEmpA2ymE09SCNhIhTCxCBvIEFZ2KwlCAH6MNDv5tC4vrMPZb46APh06EbkAv7g=; 7:0UWtOu+Evg1sw+I6OpsjFbGsOelOCzlcAtIwRrZXYTI5ZXvJHLdC2HrxocMeg9/LagUAXqIAqj2Ns8KqcorQxm2pNNG+YZwWT4ziKkvwsy+3kF5neIlXGsp7F4LUgcVGLTloxA3ku3PUoh6DQRO2JBb4swAahyL+nLfinpNcp+wCm3yLHEwbktzDbSE8JwJ6Yx/Tf/xu3+7bL5LAo387ZwdQCMAlc+zkkCGuOEAynEWvMqU5FobZs21vulbLGGMu x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AT5PR84MB0291; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:AT5PR84MB0291; BCL:0; PCL:0; RULEID:; SRVR:AT5PR84MB0291; x-forefront-prvs: 00594E8DBA x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(189002)(6602003)(86362001)(9686002)(122556002)(105586002)(8936002)(7736002)(189998001)(10400500002)(101416001)(305945005)(7696003)(5002640100001)(74316002)(92566002)(97736004)(5001770100001)(7846002)(4326007)(3846002)(8676002)(11100500001)(586003)(81166006)(6116002)(76176999)(2950100001)(99286002)(2900100001)(102836003)(66066001)(106116001)(2906002)(33656002)(50986999)(5660300001)(68736007)(3660700001)(87936001)(3280700002)(81156014)(106356001)(54356999)(77096005); DIR:OUT; SFP:1102; SCL:1; SRVR:AT5PR84MB0291; H:AT5PR84MB0291.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: hp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2016 17:37:13.1140 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ca7981a2-785a-463d-b82a-3db87dfc3ce6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR84MB0291 Subject: Re: [PATCH] ArmPlatformPkg: remove EFI_MEMORY_UC attribute from normal memory X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 17:37:17 -0000 Content-Language: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable > I think this is the right thing to do; Arguably, on the modern ARM > architectures, UNCACHEABLE and WRITE_COMBINEABLE are mutually > exclusive. I'll discuss with Charles whether we should codify this in > the UEFI specification. Given the corresponding X86 semantics it makes sense for UNCACHEABLE to map= to Strongly Ordered and WRITE_COMBINEABLE to map to "Normal" Uncacheable. = It's useful to expose this separately in case a DMA common buffer has sem= antics that require the strongly ordered behavior. Since this is providing a list of capabilities I'm not sure what the statem= ent about mutual exclusivity refers to. Eugene