mbox series

[v4,0/2] EFI: Reset system after capsule-on-disk

Message ID 164388018493.446835.11931101380744085380.stgit@localhost
Headers show
Series EFI: Reset system after capsule-on-disk | expand

Message

Masami Hiramatsu Feb. 3, 2022, 9:23 a.m. UTC
Hi,

Here is the 4th version of the reset after capsule-on-disk. This version
updates the patch description and use do_reset() and halt or reset_cpu()
if available, according to Takahiro and Sughosh's comment.

The reset after completing the capsule-on-disk is stated in the UEFI
specification 2.9, section 8.5.5 "Delivery of Capsules via file on Mass
Storage device" as below,

    In all cases that a capsule is identified for processing the system is
    restarted after capsule processing is completed.


Thank you,

---

Masami Hiramatsu (2):
      efi_loader: use efi_update_capsule_firmware() for capsule on disk
      efi_loader: Reset system after CapsuleUpdate on disk


 lib/efi_loader/efi_capsule.c |   20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

--
Masami Hiramatsu <masami.hiramatsu@linaro.org>