bloblist: Align to firmware handoff
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | bloblist: Update the tag numberingcommon/ include/ test/ | +15 | 4 replies | |
| 2/14 | bloblist: Adjust API to align in powers of 2arch/ common/ include/ +1 more | +22 | 1 reply | |
| 3/14 | bloblist: Change the magic valueinclude/ | +1 | 0 replies | |
| 4/14 | bloblist: Set version to 1include/ | +1 | 0 replies | |
| 5/14 | bloblist: Access record hdr_size and tag via a functioncommon/ | +25 | 0 replies | |
| 6/14 | bloblist: Drop the flags valuecommon/ include/ test/ | +23 | 0 replies | |
| 7/14 | bloblist: Drop the spare valuescommon/ include/ test/ | +2 | 0 replies | |
| 8/14 | bloblist: Change the checksum algorithmcommon/ include/ | +10 | 0 replies | |
| 9/14 | bloblist: Checksum the entire bloblistcommon/ test/ | +9 | 0 replies | |
| 10/14 | bloblist: Handle alignment with a void entrycommon/ | +19 | 1 reply | |
| 11/14 | bloblist: Reduce blob-header sizecommon/ include/ test/ | +39 | 1 reply | |
| 12/14 | bloblist: Reduce bloblist header sizeinclude/ test/ | +16 | 2 replies | |
| 13/14 | bloblist: Add alignment to bloblist_new()common/ include/ test/ | +27 | 1 reply | |
| 14/14 | bloblist: Update documentation and header commentdoc/ include/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] bloblist: Align to firmware handoff
In moving from v0.8 to v0.9 the Firmware Handoff specification made some changes, including:
- Use a packed format for headers to reduce space
- Add an explicit alignment field in the header
- Renumber all the tags and reduce their size to 24 bits
- Drop use of the blob header to specify alignment, in favour of a 'void' blob type
This series attempts to align to that specification, including updating the API and tests. It is likely that refinements will be made as other projects implement the spec too.
As before the code is dual-licensed, to permit use in projects with a permissive license.
Simon Glass (14):
bloblist: Update the tag numbering
bloblist: Adjust API to align in powers of 2
bloblist: Change the magic value
bloblist: Set version to 1
bloblist: Access record hdr_size and tag via a function
bloblist: Drop the flags value
bloblist: Drop the spare values
bloblist: Change the checksum algorithm
bloblist: Checksum the entire bloblist
bloblist: Handle alignment with a void entry
bloblist: Reduce blob-header size
bloblist: Reduce bloblist header size
bloblist: Add alignment to bloblist_new()
bloblist: Update documentation and header comment
arch/x86/lib/tables.c | 3 +- common/bloblist.c | 102 ++++++++++++++++++++------------- doc/develop/bloblist.rst | 4 +- include/bloblist.h | 121 +++++++++++++++++++-------------------- test/bloblist.c | 53 +++++++++-------- 5 files changed, 152 insertions(+), 131 deletions(-)
Signature · 1 line
2.41.0.487.g6d72f3e995-goog