[Skiboot] [PATCH 1/8] hdata/iohub: Look for IOVPD on P9

Oliver O'Halloran oohall at gmail.com
Mon Mar 18 17:10:51 AEDT 2019


P8 and P9 use the same IO VPD setup, so we need to load the IOHUB VPD on
P9 systems too.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 hdata/iohub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hdata/iohub.c b/hdata/iohub.c
index ad1ddae401f0..6b7f0bcf2786 100644
--- a/hdata/iohub.c
+++ b/hdata/iohub.c
@@ -924,7 +924,7 @@ static void io_parse_fru(const void *sp_iohubs)
 	}
 
 	/* On P8, grab the CEC VPD */
-	if (proc_gen == proc_gen_p8)
+	if (proc_gen == proc_gen_p8 || proc_gen == proc_gen_p9)
 		io_add_p8_cec_vpd(sp_iohubs);
 }
 
-- 
2.20.1



More information about the Skiboot mailing list