[Skiboot] [PATCH v2 5/6] core/hmi: Do not display FIR details if none of the bits are set.

Mahesh J Salgaonkar mahesh at linux.vnet.ibm.com
Wed Dec 13 16:24:46 AEDT 2017


From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>

So that we don't flood OPAL console logs with information that is not
useful.

Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
---
 core/hmi.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/hmi.c b/core/hmi.c
index a995455..5b99984 100644
--- a/core/hmi.c
+++ b/core/hmi.c
@@ -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);
 



More information about the Skiboot mailing list