diff options
| author | Joe McGill <jmcgill@us.ibm.com> | 2017-05-02 13:21:24 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-05-22 09:54:45 -0400 |
| commit | 6a3b0f5ac79e28f358e83464065fda5f85b810cb (patch) | |
| tree | c5e5291be9d7df5384fad1395a26c8891d0addb3 /src/include/usr | |
| parent | 529ea1d267e13c9556dc490a5587de9a0d6e3e4e (diff) | |
| download | blackbird-hostboot-6a3b0f5ac79e28f358e83464065fda5f85b810cb.tar.gz blackbird-hostboot-6a3b0f5ac79e28f358e83464065fda5f85b810cb.zip | |
security -- split p9_chiplet_scominit and p9_chiplet_enable_ridi isteps
p9_chiplet_scominit, move from istep 8 to istep 10
shift content required for XBUS, fabric establishment
into p9_chiplet_fabric_scominit, to be called in istep 8
p9_chiplet_enable_ridi, move from istep 8 to istep 10
shift content required for XBUS establishment
into p9_xbus_enable_ridi, to be called in istep
CMVC-Coreq: 1023401
Change-Id: I4c60e4c41211976c7919a603ab679357cc4af106
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39956
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Brent Wieman <bwieman@us.ibm.com>
Dev-Ready: Brent Wieman <bwieman@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39960
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/include/usr')
| -rw-r--r-- | src/include/usr/isteps/istep08list.H | 206 | ||||
| -rw-r--r-- | src/include/usr/isteps/istep10list.H | 208 | ||||
| -rw-r--r-- | src/include/usr/isteps/istep16list.H | 8 |
3 files changed, 230 insertions, 192 deletions
diff --git a/src/include/usr/isteps/istep08list.H b/src/include/usr/isteps/istep08list.H index dd5d42d78..8b4ab6710 100644 --- a/src/include/usr/isteps/istep08list.H +++ b/src/include/usr/isteps/istep08list.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -29,7 +29,7 @@ * @file istep08list.H * * IStep 08 Nest Chiplets - * IPL FLow Doc v0.95 + * IPL FLow Doc v1.07 * * 08.01 host_slave_sbe_config * : Configure host slave sbe @@ -41,36 +41,18 @@ * : Check Slave SBE Complete * 08.05 host_attnlisten_proc * : Start attention poll for all P9(s) - * 08.06 proc_cen_ref_clk_enable - * : Setup centaur ref clocks - * 08.07 host_set_voltages - * : Set correct chip voltages - * 08.08 host_p9_fbc_eff_config + * 08.06 host_p9_fbc_eff_config * : Determine powerbus config - * 08.09 host_p9_eff_config_links + * 08.07 host_p9_eff_config_links * : Powerbus link config - * 08.10 proc_attr_update + * 08.08 proc_attr_update * : Proc ATTR Update - * 08.11 proc_enable_osclite - * : Enable Osclite - * 08.12 proc_chiplet_scominit - * : Scom inits to all chiplets (sans Quad) - * 08.13 proc_xbus_scominit + * 08.09 proc_chiplet_fabric_scominit + * : Scom inits to all chiplet fabric (sans Quad) + * 08.10 proc_xbus_scominit * : Apply scom inits to Xbus - * 08.14 proc_abus_scominit - * : Apply scom inits to Abus - * 08.15 proc_obus_scominit - * : Apply scom inits to Obus - * 08.16 proc_npu_scominit - * : Apply scom inits to Npu - * 08.17 proc_pcie_scominit - * : Apply scom inits to PCIechiplets - * 08.18 proc_scomoverride_chiplets - * : Apply sequenced scom inits - * 08.19 proc_chiplet_enable_ridi - * : Enable RI/DI chip wide - * 08.20 p9_rng_init_phase1 - * : Trigger Built In Self Test for RNG + * 08.11 proc_xbus_enable_ridi + * : Enable RI/DI for xbus * Please see the note in initsvcstructs.H for description of * the ISTEPNAME macro. * @@ -129,15 +111,6 @@ void* call_proc_check_slave_sbe_seeprom_complete(void *io_pArgs); void* call_host_attnlisten_proc(void *io_pArgs); /** - * @brief proc_cen_ref_clk_enable - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - */ -void* call_proc_cen_ref_clk_enable(void *io_pArgs); - -/** * @brief host_p9_fbc_eff_config * * param[in,out] io_pArgs - (normally) a pointer to a TaskArgs struct, @@ -168,26 +141,16 @@ void* call_host_p9_fbc_eff_config_links (void * io_pArgs); void * call_proc_attr_update( void * io_pArgs ); /** - * @brief proc_enable_osclite + * @brief proc_chiplet_fabric_scominit * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - * - */ -void* call_proc_enable_osclite(void *io_pArgs); - -/** - * @brief proc_chiplet_scominit - * - * Apply scom inits to chiplets + * Apply scom inits to chiplet fabric * * param[in,out] - pointer to any arguments, usually NULL * * return any error logs to istep * */ -void* call_proc_chiplet_scominit( void *io_pArgs ); +void* call_proc_chiplet_fabric_scominit( void *io_pArgs ); /** * @brief proc_xbus_scominit @@ -202,92 +165,14 @@ void* call_proc_chiplet_scominit( void *io_pArgs ); void* call_proc_xbus_scominit( void *io_pArgs ); /** - * @brief proc_abus_scominit - * - * Apply scom inits to Abus - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - * - */ -void* call_proc_abus_scominit( void *io_pArgs ); - -/** - * @brief proc_obus_scominit - * - * Apply scom inits to OBUS - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - */ -void* call_proc_obus_scominit( void *io_pArgs ); - -/** - * @brief proc_npu_scominit - * - * Apply scom inits to NPU - * - * param[in.out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - */ -void* call_proc_npu_scominit( void *io_pArgs ); - -/** - * @brief proc_pcie_scominit - * - * Apply scom inits to PCIe chiplets + * @brief proc_xbus_enable_ridi * * param[in,out] - pointer to any arguments, usually NULL * * return any error logs to istep * */ -void* call_proc_pcie_scominit( void *io_pArgs ); - -/** - * @brief proc_scomoverride_chiplets - * - * Apply sequenced scom inits - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - * - */ -void* call_proc_scomoverride_chiplets( void *io_pArgs ); - -/** - * @brief proc_chiplet_enable_ridi - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - * - */ -void* call_proc_chiplet_enable_ridi( void *io_pArgs ); - -/** - * @brief p9_rng_init_phase1 - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - * - */ -void* call_p9_rng_init_phase1( void *io_pArgs ); - -/** - * @brief host_set_voltages - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return any error logs to istep - * - */ -void* call_host_set_voltages( void *io_pArgs ); +void* call_proc_xbus_enable_ridi( void *io_pArgs ); }; // end namespace @@ -328,78 +213,33 @@ namespace INITSERVICE { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, { - ISTEPNAME(08,06,"proc_cen_ref_clk_enable"), - ISTEP_08::call_proc_cen_ref_clk_enable, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,07,"host_set_voltages"), - ISTEP_08::call_host_set_voltages, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,08,"host_p9_fbc_eff_config"), + ISTEPNAME(08,06,"host_p9_fbc_eff_config"), ISTEP_08::call_host_p9_fbc_eff_config, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, { - ISTEPNAME(08,09,"host_p9_eff_config_links"), + ISTEPNAME(08,07,"host_p9_eff_config_links"), ISTEP_08::call_host_p9_fbc_eff_config_links, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, { - ISTEPNAME(08,10,"proc_attr_update"), + ISTEPNAME(08,08,"proc_attr_update"), ISTEP_08::call_proc_attr_update, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, { - ISTEPNAME(08,11,"proc_enable_osclite"), - ISTEP_08::call_proc_enable_osclite, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,12,"proc_chiplet_scominit"), - ISTEP_08::call_proc_chiplet_scominit, + ISTEPNAME(08,09,"proc_chiplet_fabric_scominit"), + ISTEP_08::call_proc_chiplet_fabric_scominit, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, { - ISTEPNAME(08,13,"proc_xbus_scominit"), + ISTEPNAME(08,10,"proc_xbus_scominit"), ISTEP_08::call_proc_xbus_scominit, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, { - ISTEPNAME(08,14,"proc_abus_scominit"), - ISTEP_08::call_proc_abus_scominit, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,15,"proc_obus_scominit"), - ISTEP_08::call_proc_obus_scominit, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,16,"proc_npu_scominit"), - ISTEP_08::call_proc_npu_scominit, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,17,"proc_pcie_scominit"), - ISTEP_08::call_proc_pcie_scominit, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,18,"proc_scomoverride_chiplets"), - ISTEP_08::call_proc_scomoverride_chiplets, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,19,"proc_chiplet_enable_ridi"), - ISTEP_08::call_proc_chiplet_enable_ridi, - { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } - }, - { - ISTEPNAME(08,20,"p9_rng_init_phase1"), - ISTEP_08::call_p9_rng_init_phase1, + ISTEPNAME(08,11,"proc_xbus_enable_ridi"), + ISTEP_08::call_proc_xbus_enable_ridi, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } }, diff --git a/src/include/usr/isteps/istep10list.H b/src/include/usr/isteps/istep10list.H index b9da2a4eb..86df45b47 100644 --- a/src/include/usr/isteps/istep10list.H +++ b/src/include/usr/isteps/istep10list.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -30,8 +30,36 @@ * @file istep10list.H * * Step 10 Hostboot SBE Centaur Init - * IPL FLow Doc v0.67 (11/12/15) + * IPL FLow Doc v1.07 * + * 10.01 proc_build_smp + * : Integrate P9 Islands into SMP + * 10.02 host_slave_sbe_update + * : Update slave SBE + * 10.03 host_set_voltages + * : Set correct chip voltages + * 10.04 proc_cen_ref_clk_enable + * : Setup centaur ref clocks + * 10.05 proc_enable_osclite + * : Enable Osclite + * 10.06 proc_chiplet_scominit + * : Scom inits to all chiplets (sans Quad) + * 10.07 proc_abus_scominit + * : Apply scom inits to Abus + * 10.08 proc_obus_scominit + * : Apply scom inits to Obus + * 10.09 proc_npu_scominit + * : Apply scom inits to Npu + * 10.10 proc_pcie_scominit + * : Apply scom inits to PCIechiplets + * 10.11 proc_scomoverride_chiplets + * : Apply sequenced scom inits + * 10.12 proc_chiplet_enable_ridi + * : Enable RI/DI chip wide + * 10.13 call_host_rng_bist + * : Trigger Built In Self Test for RNG + * 10.14 host_update_redundant_tpm + * : Update the Alt Master TPM * Please see the note in initsvcstructs.H for description of * the ISTEPNAME macro. */ @@ -55,8 +83,6 @@ namespace ISTEP_10 */ void* call_proc_build_smp( void *io_pArgs ); - - /** * @brief host_slave_sbe_update * @@ -67,7 +93,124 @@ void* call_proc_build_smp( void *io_pArgs ); */ void* call_host_slave_sbe_update( void *io_pArgs ); +/** + * @brief host_set_voltages + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_host_set_voltages( void *io_pArgs ); + +/** + * @brief proc_cen_ref_clk_enable + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + */ +void* call_proc_cen_ref_clk_enable(void *io_pArgs); + +/** + * @brief proc_enable_osclite + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_proc_enable_osclite(void *io_pArgs); + +/** + * @brief proc_chiplet_scominit + * + * Apply scom inits to chiplets + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_proc_chiplet_scominit( void *io_pArgs ); + +/** + * @brief proc_abus_scominit + * + * Apply scom inits to Abus + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_proc_abus_scominit( void *io_pArgs ); + +/** + * @brief proc_obus_scominit + * + * Apply scom inits to OBUS + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + */ +void* call_proc_obus_scominit( void *io_pArgs ); + +/** + * @brief proc_npu_scominit + * + * Apply scom inits to NPU + * + * param[in.out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + */ +void* call_proc_npu_scominit( void *io_pArgs ); + +/** + * @brief proc_pcie_scominit + * + * Apply scom inits to PCIe chiplets + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_proc_pcie_scominit( void *io_pArgs ); +/** + * @brief proc_scomoverride_chiplets + * + * Apply sequenced scom inits + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_proc_scomoverride_chiplets( void *io_pArgs ); + +/** + * @brief proc_chiplet_enable_ridi + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_proc_chiplet_enable_ridi( void *io_pArgs ); + +/** + * @brief call_host_rng_bist + * + * param[in,out] - pointer to any arguments, usually NULL + * + * return any error logs to istep + * + */ +void* call_host_rng_bist( void *io_pArgs ); /** * @brief host update redundant tpm @@ -102,7 +245,62 @@ const TaskInfo g_istep10[] = { { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true } }, { - ISTEPNAME(10,03,"host_update_redundant_tpm"), + ISTEPNAME(10,03,"host_set_voltages"), + ISTEP_10::call_host_set_voltages, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,04,"proc_cen_ref_clk_enable"), + ISTEP_10::call_proc_cen_ref_clk_enable, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,05,"proc_enable_osclite"), + ISTEP_10::call_proc_enable_osclite, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,06,"proc_chiplet_scominit"), + ISTEP_10::call_proc_chiplet_scominit, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,07,"proc_abus_scominit"), + ISTEP_10::call_proc_abus_scominit, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,08,"proc_obus_scominit"), + ISTEP_10::call_proc_obus_scominit, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,09,"proc_npu_scominit"), + ISTEP_10::call_proc_npu_scominit, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,10,"proc_pcie_scominit"), + ISTEP_10::call_proc_pcie_scominit, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,11,"proc_scomoverride_chiplets"), + ISTEP_10::call_proc_scomoverride_chiplets, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,12,"proc_chiplet_enable_ridi"), + ISTEP_10::call_proc_chiplet_enable_ridi, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,13,"host_rng_bist"), + ISTEP_10::call_host_rng_bist, + { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false } + }, + { + ISTEPNAME(10,14,"host_update_redundant_tpm"), ISTEP_10::call_host_update_redundant_tpm, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true } }, diff --git a/src/include/usr/isteps/istep16list.H b/src/include/usr/isteps/istep16list.H index f5c9646d5..5ccac0e5a 100644 --- a/src/include/usr/isteps/istep16list.H +++ b/src/include/usr/isteps/istep16list.H @@ -71,14 +71,14 @@ void* call_host_activate_slave_cores( void *io_pArgs ); /** - * @brief p9_rng_init_phase2 + * @brief host_secure_rng * * param[in,out] - pointer to any arguments, usually NULL * * return any errlogs to istep * */ -void* call_p9_rng_init_phase2( void *io_pArgs ); +void* call_host_secure_rng( void *io_pArgs ); /** * @brief mss_scrub @@ -122,8 +122,8 @@ namespace INITSERVICE { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true } }, { - ISTEPNAME(16,03,"p9_rng_init_phase2"), - ISTEP_16::call_p9_rng_init_phase2, + ISTEPNAME(16,03,"host_secure_rng"), + ISTEP_16::call_host_secure_rng, { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true } }, { |

