[Skiboot] [PATCH] hdata: Respect OCC and HOMER resevations

Vaidyanathan Srinivasan svaidy at linux.vnet.ibm.com
Mon May 15 17:19:11 AEST 2017


* Oliver O'Halloran <oohall at gmail.com> [2017-05-15 16:31:03]:

> In the past we've ignored these since Hostboot insisted in exporting
> broken reservations and the OCC was not being used yet. This situation
> seems to have resolved itself so we should respect the reservations that
> hostboot provides.
> 
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>

Acked-by:  Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>

> ---
>  hdata/memory.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/hdata/memory.c b/hdata/memory.c
> index 2df1136c3627..0c6c0811f61a 100644
> --- a/hdata/memory.c
> +++ b/hdata/memory.c
> @@ -457,12 +457,6 @@ static void get_hb_reserved_mem(struct HDIF_common_hdr *ms_vpd)
>  		if (label_size > 64)
>  			label_size = 64;
>  
> -		/* these are broken, just ignore them */
> -		if (!strncmp(hb_resv_mem->label, "ibm,homer-image", label_size))
> -				continue;
> -		if (!strncmp(hb_resv_mem->label, "ibm,occ-common-area", label_size))
> -				continue;
> -
>  		label = malloc(label_size+1);
>  		assert(label);
>  
> -- 
> 2.9.3
> 
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot



More information about the Skiboot mailing list