diff options
| author | Prachi Gupta <pragupta@us.ibm.com> | 2018-05-31 16:31:01 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-06-06 13:59:44 -0400 |
| commit | 27bf395be2cd9025abc1a48ad74a0b3bc5da97f8 (patch) | |
| tree | 29bb599328e3ab98e1e105a285c9f213cf040871 /src/include/usr/targeting | |
| parent | 1db54dcc27d4061114c9466ec5fb72121420c5eb (diff) | |
| download | blackbird-hostboot-27bf395be2cd9025abc1a48ad74a0b3bc5da97f8.tar.gz blackbird-hostboot-27bf395be2cd9025abc1a48ad74a0b3bc5da97f8.zip | |
missing memory: istep 7 and 14 changes
There are two cases where hostboot's attention is required in istep7:
- If HRMOR we booted with doesn't fall in the range of proc_mem_to_use's
memory, then the SBE is old. HB will do an sbe update and
request re-ipl
- If HB deconfigured a bunch of dimms in istep7 and ran out of memory,
then we will request a reconfig loop
Then, in istep14, we added another sanity check to make sure we have
memory as expected to prevent unexpected failure after exiting cache
contained mode.
Change-Id: I018f4ce862cc79b5d7bacbe01cc28d1d2b4fc788
CQ:SW430015
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59696
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/targeting')
| -rw-r--r-- | src/include/usr/targeting/common/util.H | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H index edc67b79e..479cdfa75 100644 --- a/src/include/usr/targeting/common/util.H +++ b/src/include/usr/targeting/common/util.H @@ -158,12 +158,26 @@ bool is_avp_load(void); /** * @brief Utility function to obtain the highest known address in the system */ -uint64_t get_top_mem_addr(void); +uint64_t get_top_mem_addr(); + +/** + * @brief Utility function to obtain the highest known address in a given proc + * + * @param[in] i_proc: Proc that we want to calculate the top address for + */ +uint64_t get_top_mem_addr(Target* i_proc); /** * @brief Utility function to obtain the lowest known address in the system */ -uint64_t get_bottom_mem_addr(void); +uint64_t get_bottom_mem_addr(); + +/** + * @brief Utility function to obtain the lowest known address in a given proc + * + * @param[in] i_proc: Proc that we want to calculate the bottom address for + */ +uint64_t get_bottom_mem_addr(Target* i_proc); /** * Order two processor targets by NODE_ID then CHIP_ID. |

