diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2017-12-13 10:54:46 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-13 22:04:58 -0600 |
commit | b33ed1e6b6b0d98e4924678fcebb7cc4de671133 (patch) | |
tree | 30afa562ef4a76ac9fdf0edc506bc492b8151c2a | |
parent | c531ff957669cc3dccfdd965a7d57da34c0af550 (diff) | |
download | talos-skiboot-b33ed1e6b6b0d98e4924678fcebb7cc4de671133.tar.gz talos-skiboot-b33ed1e6b6b0d98e4924678fcebb7cc4de671133.zip |
core/hmi: Do not display FIR details if none of the bits are set.
So that we don't flood OPAL console logs with information that is not
useful.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | core/hmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -346,6 +346,9 @@ static bool decode_core_fir(struct cpu_thread *cpu, return false; } + if (!core_fir) + return false; + prlog(PR_INFO, "CHIP ID: %x, CORE ID: %x, FIR: %016llx\n", cpu->chip_id, core_id, core_fir); |