diff options
author | Martin Peschke <mpeschke@de.ibm.com> | 2017-02-14 14:32:29 +0100 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-02-16 10:44:55 -0500 |
commit | 593fd8754717d64be63ff3eb4522a4338cfe1528 (patch) | |
tree | 5492e899061b183b625a5b6dadce59480f5f5678 /src | |
parent | a9d19db49d56522c4e63fe1dd65c21c31e0b2111 (diff) | |
download | talos-hostboot-593fd8754717d64be63ff3eb4522a4338cfe1528.tar.gz talos-hostboot-593fd8754717d64be63ff3eb4522a4338cfe1528.zip |
p9_tor: fix debug level for messages disturbing ring dissection
These messages used to clutter the p9_xip_tool ring dissect output.
I am reclassifying them so that they require a higher debug level.
Change-Id: I19ef206068f0750d625c8cbbe6e5bb019c52d37d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36421
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com>
Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36423
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_tor.C | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.C b/src/import/chips/p9/utils/imageProcs/p9_tor.C index 23912ac6f..92738a319 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_tor.C +++ b/src/import/chips/p9/utils/imageProcs/p9_tor.C @@ -527,9 +527,12 @@ int get_ring_from_sbe_image( void* i_ringSection, // Ring section } else { - MY_ERR(" SBE ring instance ID %d is invalid, Valid ID is from %d to %d \n", - io_instanceId, (ring_id_list_instance + 0)->instanceIdMin, - (ring_id_list_instance + 0)->instanceIdMax); + if (i_dbgl > 0) + { + MY_INF(" SBE ring instance ID %d is invalid, Valid ID is from %d to %d \n", + io_instanceId, (ring_id_list_instance + 0)->instanceIdMin, + (ring_id_list_instance + 0)->instanceIdMax); + } return TOR_INVALID_INSTANCE_ID; } @@ -824,9 +827,13 @@ int get_ring_from_sgpe_image ( void* i_ringSection, // Ring sectio } else { - MY_INF("SGPE ring instance ID %d is invalid, Valid ID is from %d to %d \n", - io_instanceId, (ring_id_list_instance + 0)->instanceIdMin, - (ring_id_list_instance + 0)->instanceIdMax); + if (i_dbgl > 0) + { + MY_INF("SGPE ring instance ID %d is invalid, Valid ID is from %d to %d \n", + io_instanceId, (ring_id_list_instance + 0)->instanceIdMin, + (ring_id_list_instance + 0)->instanceIdMax); + } + return TOR_INVALID_INSTANCE_ID; } } @@ -1119,9 +1126,13 @@ int get_ring_from_cme_image ( void* i_ringSection, // Ring section } else { - MY_INF(" CME ring instance ID %d is invalid, Valid ID is from %d to %d \n", - io_instanceId, (ring_id_list_instance + 0)->instanceIdMin, - (ring_id_list_instance + 0)->instanceIdMax); + if (i_dbgl > 0) + { + MY_INF(" CME ring instance ID %d is invalid, Valid ID is from %d to %d \n", + io_instanceId, (ring_id_list_instance + 0)->instanceIdMin, + (ring_id_list_instance + 0)->instanceIdMax); + } + return TOR_INVALID_INSTANCE_ID; } } |