From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id C6711AC1099 for ; Mon, 4 Dec 2023 10:45:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=sYzCiNWUC9fExNNWd7tx7Ym83P2/McZuba5aqt+e88g=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:CC:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1701686736; v=1; b=as+ILWLKei3jFJwRSqurXP77W7UZiNhbpI2xhyaFrZ4Vplemd9HSrbqVzBSWsF6B3Li2vV3D LhfBl1NWJITcIBmdj2fytZbhJAdcWv4a4nV6GgRAMFIDXrytv//WN6pqB1mEkL9gmosndB9tUp4 a1nLbJ4LnHfqSrfS+bsB32Ho= X-Received: by 127.0.0.2 with SMTP id 8AqVYY7687511xsdyfHwiiig; Mon, 04 Dec 2023 02:45:36 -0800 X-Received: from smtp-fw-80008.amazon.com (smtp-fw-80008.amazon.com [99.78.197.219]) by mx.groups.io with SMTP id smtpd.web11.65948.1701686735749079358 for ; Mon, 04 Dec 2023 02:45:35 -0800 X-IronPort-AV: E=Sophos;i="6.04,249,1695686400"; d="scan'208";a="48142902" X-Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2c-m6i4x-fad5e78e.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80008.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 10:45:33 +0000 X-Received: from smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev (pdx2-ws-svc-p26-lb5-vlan3.pdx.amazon.com [10.39.38.70]) by email-inbound-relay-pdx-2c-m6i4x-fad5e78e.us-west-2.amazon.com (Postfix) with ESMTPS id 51724A0B84; Mon, 4 Dec 2023 10:45:33 +0000 (UTC) X-Received: from EX19MTAUWB002.ant.amazon.com [10.0.21.151:44122] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.31.8:2525] with esmtp (Farcaster) id 1ffa9fc3-e513-4fc7-9f5e-65131835dd47; Mon, 4 Dec 2023 10:45:33 +0000 (UTC) X-Farcaster-Flow-ID: 1ffa9fc3-e513-4fc7-9f5e-65131835dd47 X-Received: from EX19D020UWC004.ant.amazon.com (10.13.138.149) by EX19MTAUWB002.ant.amazon.com (10.250.64.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Mon, 4 Dec 2023 10:45:31 +0000 X-Received: from [0.0.0.0] (10.253.83.51) by EX19D020UWC004.ant.amazon.com (10.13.138.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 4 Dec 2023 10:45:30 +0000 Message-ID: <0d62a08e-a153-447a-acb9-b937a74f35f3@amazon.com> Date: Mon, 4 Dec 2023 11:45:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH] ArmVirtPkg: Allow EFI memory attributes protocol to be disabled To: Ard Biesheuvel , CC: Ard Biesheuvel , =?UTF-8?B?TO+/vXN6bO+/vSDvv71yc2Vr?= , Gerd Hoffmann , Oliver Steffen , "Herrenschmidt, Benjamin" References: <20231204095215.1053032-1-ardb@google.com> From: "Alexander Graf via groups.io" In-Reply-To: <20231204095215.1053032-1-ardb@google.com> X-Originating-IP: [10.253.83.51] X-ClientProxiedBy: EX19D045UWA004.ant.amazon.com (10.13.139.91) To EX19D020UWC004.ant.amazon.com (10.13.138.149) Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,graf@amazon.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2GkhbmBROvQ8wjuQV7CQRzmux7686176AA= Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=as+ILWLK; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Ck9uIDA0LjEyLjIzIDEwOjUyLCBBcmQgQmllc2hldXZlbCB3cm90ZToKPiBGcm9tOiBBcmQgQmll c2hldXZlbCA8YXJkYkBrZXJuZWwub3JnPgo+Cj4gU2hpbSdzIFBFIGxvYWRlciB1c2VzIHRoZSBF RkkgbWVtb3J5IGF0dHJpYnV0ZXMgcHJvdG9jb2wgaW4gYSB3YXkgdGhhdAo+IHJlc3VsdHMgaW4g YW4gaW1tZWRpYXRlIGNyYXNoIHdoZW4gaW52b2tpbmcgdGhlIGxvYWRlZCBpbWFnZSB1bmxlc3Mg dGhlCj4gYmFzZSBhbmQgc2l6ZSBvZiBpdHMgZXhlY3V0YWJsZSBzZWdtZW50IGFyZSBib3RoIGFs aWduZWQgdG8gNGsuCj4KPiBJZiB0aGlzIGlzIG5vdCB0aGUgY2FzZSwgaXQgd2lsbCBzdHJpcCB0 aGUgZXhlY3V0YWJsZSBwZXJtaXNzaW9ucyBmcm9tCj4gdGhlIG1lbW9yeSBhbGxvY2F0aW9uLCBi dXQgZmFpbCB0byBhZGQgdGhlbSBiYWNrIGZvciB0aGUgZXhlY3V0YWJsZQo+IHJlZ2lvbiwgcmVz dWx0aW5nIGluIG5vbi1leGVjdXRhYmxlIGNvZGUuIFVuZm9ydHVuYXRlbHksIHRoZSBQRSBsb2Fk ZXIKPiBkb2VzIG5vdCBldmVuIGJvdGhlciBpbnZva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