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

Oliver O'Halloran oohall at gmail.com
Mon May 15 16:31:03 AEST 2017


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>
---
 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



More information about the Skiboot mailing list