Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457048

Re: [PATCH v2] efi: capsule: allocate whole capsule into virtual memory

From Matt Fleming <matt@codeblueprint.co.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v2] efi: capsule: allocate whole capsule into virtual memory
Date 2016-08-05 13:50 +0200
Message-ID <s2LNw-6Yu-17@gated-at.bofh.it> (permalink)
References <s01c6-3wf-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 28 Jul, at 03:30:29PM, Christ, Austin wrote:
> According to UEFI 2.6 section 7.5.3, the capsule should be in contiguous
> virtual memory and firmware may consume the capsule immediately. To
> correctly implement this functionality, the kernel driver needs to vmap
> the entire capsule at the time it is made available to firmware.
> 
> The virtual allocation of the capsule update has been changed from kmap,
> which was only allocating the first page of the update, to vmap, and
> allocates the entire data payload.
> 
> Signed-off-by: Austin Christ <austinwc@codeaurora.org>
> Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
> Reviewed-by: Lee, Chun-Yi <jlee@suse.com>
> ---
>  drivers/firmware/efi/capsule-loader.c | 8 +++++---
>  drivers/firmware/efi/capsule.c        | 6 +++---
>  2 files changed, 8 insertions(+), 6 deletions(-)

Thanks, applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] efi: capsule: allocate whole capsule into virtual memory Austin Christ <austinwc@codeaurora.org> - 2016-07-28 23:40 +0200
  Re: [PATCH v2] efi: capsule: allocate whole capsule into virtual  memory Matt Fleming <matt@codeblueprint.co.uk> - 2016-08-05 13:50 +0200

csiph-web