mbox series

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

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

Message

Masami Hiramatsu Feb. 2, 2022, 1:54 p.m. UTC
Hi,

Here is the 3rd 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 |   24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

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