diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2018-04-09 10:30:44 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-10 15:38:29 +1000 |
commit | afc89188010b4b33c78357eb9af1064690d324cb (patch) | |
tree | aec4190c0a7157f80c8077d47767ca9d318f2e91 /skiboot.lds.S | |
parent | dec7fe284b8b9169b89d05196d08d550b911acd6 (diff) | |
download | talos-skiboot-afc89188010b4b33c78357eb9af1064690d324cb.tar.gz talos-skiboot-afc89188010b4b33c78357eb9af1064690d324cb.zip |
hw/imc: Check for pause_microcode_at_boot() return status
pause_microcode_at_boot() loops through all the chip's ucode
control block and pause the ucode if it is in the running state.
But it does not fail if any of the chip's ucode is not initialised.
Add code to return a failure if ucode is not initialized in any
of the chip. Since pause_microcode_at_boot() is called just before
attaching the IMC device nodes in imc_init(), add code to check for
the function return.
Fixes: 9750eee802f8d ('hw/imc: pause microcode at boot')
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'skiboot.lds.S')
0 files changed, 0 insertions, 0 deletions