[Skiboot] [RFC PATCH v2 8/8] libstb/trustedboot: Map UV image measurement to PCR6

Oliver O'Halloran oohall at gmail.com
Mon Nov 18 11:00:07 AEDT 2019


On Sat, Sep 21, 2019 at 12:04 AM Ryan Grimm <grimm at linux.ibm.com> wrote:
>
> From: Claudio Carvalho <cclaudio at linux.ibm.com>
>
> This maps the ultravisor image to be measured to PCR6. The image is
> automatically verified and  measured hen it is loaded from PNOR.
>
> Signed-off-by: Claudio Carvalho <cclaudio at linux.ibm.com>
> ---
>  libstb/trustedboot.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libstb/trustedboot.c b/libstb/trustedboot.c
> index 3f977de1..23b671b1 100644
> --- a/libstb/trustedboot.c
> +++ b/libstb/trustedboot.c
> @@ -45,6 +45,7 @@ static struct {
>         { RESOURCE_ID_KERNEL,           PCR_4},
>         { RESOURCE_ID_CAPP,             PCR_4},
>         { RESOURCE_ID_VERSION,          PCR_4}, /* Also data for Hostboot */
> +       { RESOURCE_ID_UV_IMAGE,         PCR_6},

I think there was some discussion recently about whether PCR4 should
be used, so is this correct?

>  };
>
>  /*
> --
> 2.21.0
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot


More information about the Skiboot mailing list