EFI: Reset system after capsule-on-disk
Get series with b4
b4 am 164499213192.688621.17382243642029677399.stgit@localhostVersions newest first · linked by author and title
- v5 Latest4 patches 17 repliesIn review
- v42 patches 12 repliesSuperseded
- v2 posting 2/22 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 2 patches | 15 replies | Superseded | |
| v1 | 2 patches | 7 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | efi_loader: use efi_update_capsule_firmware() for capsule on disklib/ | +1 | 0 replies | |
| 2/4 | test/py: Handle expected reset by commandtest/ | +58 | 0 replies | |
| 3/4 | test/py: Handle expected reboot while booting sandboxtest/ test/ | +33 | 17 replies | |
| 4/4 | efi_loader: test/py: Reset system after capsule update on disklib/ test/ | +39 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Heinrich Schuchardt |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/4] EFI: Reset system after capsule-on-disk
Hi,
Here is the 5th version of the reset after capsule-on-disk. This version includes the test updates for this new behavior. I finally split the test update patches into 3 parts. ConsoleBase::run_command() update [2/4], ConsoleBase::ensure_spawned() update [3/4] and the test code update. The last part is merged into the reset after capsule-on-disk patch [4/4].
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 (4):
efi_loader: use efi_update_capsule_firmware() for capsule on disk test/py: Handle expected reset by command
test/py: Handle expected reboot while booting sandbox
efi_loader: test/py: Reset system after capsule update on disk
lib/efi_loader/efi_capsule.c | 20 +++ .../test_efi_capsule/test_capsule_firmware.py | 37 ++++-- test/py/u_boot_console_base.py | 115 ++++++++++++-------- test/py/u_boot_console_sandbox.py | 7 + 4 files changed, 115 insertions(+), 64 deletions(-)
--
Masami Hiramatsu <[email protected]>