[Skiboot] [PATCH 0/4] Correctly read (sub)partitions from flash

Stewart Smith stewart at linux.vnet.ibm.com
Tue Oct 25 20:28:29 AEDT 2016


Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> A re-imagining of Claudio's patchset that seems to fix all possible
> combinations of signed/unsigned and get the correct measurements to
> the TPM (if present and enabled).
>
> Claudio Carvalho (1):
>   libstb/container: add function for getting sw payload size
>
> Stewart Smith (3):
>   core/flash: Move subpartition locating logic out into own file, add
>     tests
>   core/flash-subpartition: compute partition size from subpartition
>     struct
>   flash: rework flash_load_resource to correctly read FFS/STB
>
>  core/Makefile.inc                  |   1 +
>  core/flash-subpartition.c          | 120 ++++++++++++++
>  core/flash.c                       | 314 ++++++++++++++++++-------------------
>  core/test/Makefile.check           |   1 +
>  core/test/run-flash-subpartition.c |  59 +++++++
>  include/skiboot.h                  |   6 +-
>  libstb/container.c                 |  10 ++
>  libstb/container.h                 |   1 +
>  8 files changed, 348 insertions(+), 164 deletions(-)
>  create mode 100644 core/flash-subpartition.c
>  create mode 100644 core/test/run-flash-subpartition.c

Series Merged to master as of e16101408667e23d6d841003bbf07cd345d9d034

If it doesn't break me or Claudio, it doesn't break anybody.

Now that I've properly jinxed it, who does this break?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list