[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] Use EfiACPIReclaimMemory for ESRT
- To: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Julien Grall <julien@xxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Thu, 8 Dec 2022 09:49:53 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=m2n3h9tZ7Dhg0TCjUZX6jaa2QJipmfkwJLbqALQ2Gw4=; b=UvdA/SRMevqdNzBWsZ2EjPFk0OVNbPw2zOmSZOe3aaHb/C3qufBoYzO5mx8o6NohAip37Ah5szd8rfTc5A1V/72RbHDleIk0W6F7ISaK+yn4YQTtEkBZiZHk12rXFf4HpQbCwto7xASI2UHNiYGgHCj1nobC8FLMU0jut0CFB/Z+2al73gXHg8xE9MxvuoEJi0QBbb1XKTxnewMOnNIi8ZyXzVQR6ISljQ3/2M2GC4hibLZOTkNSJEc0zaKFjrfWf1Op/NqILVyXhei+1s0/IisogVbuWdbx01QAsoLHFE+RBIaPtmC5tvlqEYW6CEp9tF3QPnLL6QFH7A1HluNiKQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vz9TDjgVrpnLrZfC6agRAhpEck3Iygglg1VVJGwx//Va75qSTVaN6TCumiIE383UgiNr+ZoRGoD8S3yeIfIwBvTFKGyw2X5qToo4zFAwxvfDRdfAgU60S+y4z4eCw4Oc2KNS+a+8SDdr3kW2QVQLiUkEKsha0E38xeLuTFBwOrafCBkXFOQ6T1QX31GOvlZ6e/TGqo4BQdrt5LgOFLZ7zSy4gBxhtRhpkP02E0BlWT9CYLjjiEXlKXQ7ajb7q/O/6LSJYzCx8Bvnk5U24ATW8BVB6zWAiC6zvDQdCwbomtZ7kW4lFeEu3WPp54YDXSXppgAPuPLW9eLemAuACknRWA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Ard Biesheuval <ardb@xxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Xen developer discussion <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 08 Dec 2022 08:50:05 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 07.12.2022 23:42, Demi Marie Obenour wrote:
> A previous patch tried to get Linux to use the ESRT under Xen if it is
> in memory of type EfiRuntimeServicesData. However, EfiRuntimeServices*
> memory needs to be included in the EFI page tables, so it is best to
> minimize the amount of memory of this type. Since EFI runtime services
> do not need access to the ESRT, EfiACPIReclaimMemory is a better choice.
>
> Link:
> https://lists.xenproject.org/archives/html/xen-devel/2022-09/msg01365.html
> Fixes: dc7da0874ba4 ("EFI: preserve the System Resource Table for dom0")
> Signed-off-by: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
> Should this be included in 4.17? It is a bug fix for a feature new to
> 4.17, so I suspect yes, but it is ultimately up to Henry Wang. The code
> is identical to v2, but I have improved the commit message.
It may be too late now, looking at the state of the tree. Henry, Julien?
Jan
|