reset: add board reset type
Status from this message: NACK, this is potentially misleading as sysreset drivers can end up performing something different (see sysreset_walk_arg() just below).
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest7 patches 18 repliesNAK
- v36 patches 9 repliesSuperseded
- v26 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 7 replies | Superseded |
Patches in v4
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | reset: Allow per-board reset typedrivers/ drivers/ | +39 | 0 replies | |
| 2/7 | reset: Add explicit cold reset supportcmd/ drivers/ | +13 | 6 replies | |
| 3/7 | reset: Print reset type on diagnostic consoledrivers/ | +17 | 7 replies | |
| 4/7 | reset: x86: Use cpu_hlt() in pch_sysreset_power_off()drivers/ | +1 | 1 reply | |
| 5/7 | reset: x86: Use cpu_hlt() in efi_reset_system()drivers/ | +2 | 1 reply | |
| 6/7 | docs: reset: document cold reset optiondoc/ | +7 | 2 replies | |
| 7/7 | tests: reset: add cold/warm reset typestest/ | +4 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/7] reset: add board reset type
This series introduces convenience functionality for prototype boards where reset is not fully working - for example, where only warm reset is functional, but cold reset must still be enabled for the production variant.
Patch 1 allows per-board default reset override.
Patch 2 adds reset -c support to explicitly trigger cold reset. Patch 3 adds reset type printout on the console.
Patch 4 introduces a small fixup for the x86 reset driver. Patch 5 introduces a small fixup for the x86 EFI reset driver. Patch 6 updates documentation for reset command.
Patch 7 updates reset command tests.
Link to v3: https://lore.kernel.org/u-boot/[email protected]
Denis Mukhin (7):
reset: Allow per-board reset type
reset: Add explicit cold reset support
reset: Print reset type on diagnostic console
reset: x86: Use cpu_hlt() in pch_sysreset_power_off()
reset: x86: Use cpu_hlt() in efi_reset_system()
docs: reset: document cold reset option
tests: reset: add cold/warm reset types
cmd/boot.c | 3 +- doc/usage/cmd/reset.rst | 11 +++++--- drivers/sysreset/Kconfig | 27 ++++++++++++++++++ drivers/sysreset/sysreset-uclass.c | 44 +++++++++++++++++++++++++++--- drivers/sysreset/sysreset_x86.c | 5 ++-- test/py/tests/test_reset.py | 8 +++--- 6 files changed, 83 insertions(+), 15 deletions(-)
Signature · 1 line
2.54.0