[Skiboot] [RFC PATCH v5 16/16] libstb/trustedboot: Map UV image measurement to PCR4

Alexey Kardashevskiy aik at ozlabs.ru
Thu Mar 12 12:47:59 AEDT 2020



On 28/02/2020 07:40, Ryan Grimm wrote:
> From: Claudio Carvalho <cclaudio at linux.ibm.com>
> 
> This maps the ultravisor image to be measured to PCR4. The image is
> automatically verified and  measured hen it is loaded from PNOR.


This seems to belong to 12/16. And btw 12/16 itself seems to belong to
02/16, this will reduce the number of code changed twice across the
series. Thanks,

> 
> 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..87f3b6bf 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_4},
>  };
>  
>  /*
> 

-- 
Alexey


More information about the Skiboot mailing list