From 8af5b3c084fa51b553cb7793304c4a258a2cf420 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Mon, 15 May 2017 16:31:03 +1000 Subject: hdata: Respect OCC and HOMER resevations 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 Acked-by: Vaidyanathan Srinivasan Tested-by: Vaidyanathan Srinivasan Tested-by: Vasant Hegde Signed-off-by: Stewart Smith --- hdata/memory.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'hdata') diff --git a/hdata/memory.c b/hdata/memory.c index 2df1136..0c6c081 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); -- cgit v1.1