[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Grab the EFI System Resource Table and check it
- To: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Mon, 4 Apr 2022 11:08:56 +0000
- Accept-language: en-GB, 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=DQwH8IBEUrRZJ3j95Bvc2Gpye5E4DQUGIeWr5BA972U=; b=EYXUud7uDoRWXUT5tIV0UCIqVxfiQmqtduWcicpuL7jW48y2EkX4+4U7yAAR4apMU6arhgXEloijzWtP2Zy0f0XPObbOG8S7JqvAppHvqybd7gMRnRampTlnLC7te+vGJ0ibXWgwDp0dlpvCHobC7NSujI96i2b+hxWn4wUrzW2XIA3TK18HgEL/CzvmvAAmk4pAKycfZibzxfPWuiCMxB2I532M8pDVZH0BXjUhYyIKQTMb87sQENFZFw4JnyozNMMhIrOvZ6Ku7kXe+W8Qs4cnbRSGmM4qT+VBHH0l9SLVRhvMvue+e8ZgnmdsETEfjo+5OtT0jzHcBZj6K68Pow==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nh/2EMkdAKQjAaKJ2aaHVB8jnXrKD6YPF/S3j/ihl5STt1IE8/lWecg0bc3rNuQv5TYBhbf3/hTWhnz1XfpE6N6nOjp9w7K//FOkvFd9XqgetTGFTUQlq371nyn5uUf4OG9RtJVBw3du2P95Y5HjE1Kv/fcNZON+g56cUz2Nc/koV+WnAGb2gscJWfPsZp9EmX3NdEetIYezTnHmGUAoXhDr9I7zPVk3aUgc8HsT37zLwxOjNxJNOdzbQjzeZxIyjESTG0SG76/An0If4RRK0fM5ubUh4b5E09ild4/cmmff2OWfqmQHWwKY8NjRZgW1jSRuSukIA8BpeW5xUDYRNg==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 04 Apr 2022 11:10:00 +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: AQHYRh5pIZEBfe5HzkWcQzrtRd3oyazfnIKA
- Thread-topic: [PATCH v2] Grab the EFI System Resource Table and check it
> On 2 Apr 2022, at 00:14, Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>
> wrote:
>
> The EFI System Resource Table (ESRT) is necessary for fwupd to identify
> firmware updates to install. According to the UEFI specification §23.4,
> the table shall be stored in memory of type EfiBootServicesData.
> Therefore, Xen must avoid reusing that memory for other purposes, so
> that Linux can access the ESRT. Additionally, Xen must mark the memory
> as reserved, so that Linux knows accessing it is safe.
>
> See https://lore.kernel.org/xen-devel/20200818184018.GN1679@mail-itl/T/
> for details.
>
> Signed-off-by: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>
Hi,
I’ve tested the patch on an arm machine booting Xen+Dom0 through EFI,
unfortunately
I could not test the functionality.
Cheers,
Luca
|