mbox series

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

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

Message

Masami Hiramatsu Feb. 1, 2022, 8:32 a.m. UTC
Hi,

Here is the patch to reset after capsule-on-disk. This version fixes some
bugs and remove kconfig for the reset (which uses panic).

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: Avoid using efi_update_capsule() from update capsule on disk
      efi_loader: Reset system after CapsuleUpdate on disk


 lib/efi_loader/efi_capsule.c |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

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