From c9219373d4320bf513046e69903ce33243e84be6 Mon Sep 17 00:00:00 2001 From: whs Date: Mon, 4 Apr 2016 10:19:37 -0500 Subject: Changes related to packaging of memory vpd on Nimbus - part 2 Add the "upper" half of the NIMBUS direct memory support. Add ATTR_MEMVPD_FREQS_MHZ and ATTR_MEMVPD_POS attributes. Implement plat_vpd_access to call p9_getmem_vpd_keyword which decodes which vpd keyword to read for MR and MT. Update dvpd DD with record and keyword list. Update dvpd.dat simics vpd file to include MR and MT that map to J0 and X0. Change-Id: Ife00aa4266a7c16dcff2f0f72837f4d547988b82 RTC: 144519 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23245 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H') diff --git a/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H b/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H index 9c76cc0e6..a6ffce5ba 100644 --- a/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H +++ b/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H @@ -54,6 +54,7 @@ namespace fapi2 MOD_FAPI2_PLAT_GET_CHILDREN_FILTER_TEST = 0x0B, MOD_FAPI2_GET_TARGETING_ATTR = 0x0C, MOD_FAPI2_SET_TARGETING_ATTR = 0x0D, + MOD_FAPI2_PLAT_GET_VPD = 0x0E, }; /** @@ -106,7 +107,10 @@ namespace fapi2 RC_INCORRECT_OTHER_END = FAPI2_COMP_ID | 0x24, RC_FOUND_TOO_MANY_PEERS = FAPI2_COMP_ID | 0x25, RC_FOUND_NO_PEERS = FAPI2_COMP_ID | 0x26, - RC_INVALID_ATTRIBUTE = FAPI2_COMP_ID | 0x27, + RC_BUFFER_TOO_SMALL = FAPI2_COMP_ID | 0x27, + RC_INVALID_TYPE = FAPI2_COMP_ID | 0x28, + RC_RETURNED_VPD_TOO_SMALL = FAPI2_COMP_ID | 0x29, + RC_INVALID_ATTRIBUTE = FAPI2_COMP_ID | 0x2A, // HWP generated errors RC_HWP_GENERATED_ERROR = HWPF_COMP_ID | 0x0f, -- cgit v1.2.3