[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v2] Use EfiACPIReclaimMemory for ESRT


  • To: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Wed, 7 Dec 2022 02:44:11 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=EYQ6HmsflV0eXxZLbEdw2i8k7IELWSST3d07XYunoFw=; b=gt/YmYmyK/gcyOCBkXmO6kNj4p8zSynGWOzTCfW9CWe55Am+dcLcXJOKHl3d8NFamAwHDJhNMBYkddc30BAsuS18yN9tqzgYXcNjeGyuvBdBg4ghPVs6q+gOwbxfKVPH5QJsJ4BJgeHx9nD42fZ2ei84L1DxTcqoInz8QyEg90wdLapdWLP2rI/cUe3zbpldiZVFE9H2zmq2vIeiXqdDmk6R0xovXqVpB1snSTg4yDSpHD/VAihwM1Id80cWVxKmDsvFZeNz/JTqvXGZFUIKczbQEljSDtpVgE/jK4DIoYfYQHVHD6d4ORlHxgVrDxd4x8nj56WNmgO1PsctBP+tJw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mP97M6UsOJb8VxTpBqqFulx1UuEbWlaogjEQJXFibqoFUWib8niy3UwkNS5Q3T8Ioc/WBI7HQpvfuUcPP/BQrTtJ78worChiTvs56kIBY0Lp7Cbb/ixaoBwcgkdEOx5g2OgVsWZlnncK4Exj0/oeA3rNMVFuNHUjpZe1wXIplF6Yid9ql+n8joK92amefKP7MlsHuPbU/njWhTwjdZLBzOiCinlaaGKoUHxYeHM9Dj88Huzt+9ytpkTizXv66L8IJXFney3w1DOCwsyI0mNJwbKaNiLZr74NdfyKyC/dXxLFXdABtbv741f/fwowqQuJ8ewznVIJw2viuBqcpwYKpQ==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Ard Biesheuval <ardb@xxxxxxxxxx>, Xen developer discussion <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Wed, 07 Dec 2022 02:44:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHY3SOE4Yny0gXZiEK8Iho+g/cvja5iEUeQ
  • Thread-topic: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

Hi Demi,

(+Julien for his info since I am replying below about the 4.17 stuff)

> -----Original Message-----
> From: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>
> Subject: [PATCH v2] Use EfiACPIReclaimMemory for ESRT
> 
> A previous patch tried to get Linux to use the ESRT under Xen if it is
> in memory of type EfiRuntimeServicesData.  However, this turns out to be
> a bad idea.  Ard Biesheuvel pointed out that EfiRuntimeServices* memory
> winds up fragmenting both the EFI page tables and the direct map, and
> that EfiACPIReclaimMemory is a much better choice for this purpose.
> 
> 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>
> ---
> 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.

I am planning to start the process of tagging the 4.17 so we can catch the
release date next Monday before the holiday season in Europe.

That said, if the EFI maintainer (Jan) is happy about including this in 4.17,
I don't object it if this patch can land in the stable-4.17 branch before the
end of Thursday (Dec. 8). Note that OSSTest probably needs ~1 day to do the
sync from the staging-4.17 branch.

Kind regards,
Henry



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.