summaryrefslogtreecommitdiffstats
path: root/hdata/fsp.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-10-13 15:15:44 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-15 14:23:24 +1100
commit489a4179a3276d3bd9eb29d4291d040ff7f076f5 (patch)
tree6c6bd6c9d32bdf22b4667b265cc51514c0bdea59 /hdata/fsp.c
parentbda6152e147a5777a8c078a3a0e6cfc5c13ed065 (diff)
downloadblackbird-skiboot-489a4179a3276d3bd9eb29d4291d040ff7f076f5.tar.gz
blackbird-skiboot-489a4179a3276d3bd9eb29d4291d040ff7f076f5.zip
Reduce severity of hdata/fsp.c log messages (mostly to PR_DEBUG)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/fsp.c')
-rw-r--r--hdata/fsp.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/hdata/fsp.c b/hdata/fsp.c
index cf6bc960..365f9b73 100644
--- a/hdata/fsp.c
+++ b/hdata/fsp.c
@@ -39,9 +39,10 @@ static struct dt_node *fsp_create_node(const void *spss, int i,
return NULL;
}
- printf("FSP #%d: FSP HW version %d, SW version %d, chip DD%d.%d\n",
- i, sp_impl->hw_version, sp_impl->sw_version,
- sp_impl->chip_version >> 4, sp_impl->chip_version & 0xf);
+ prlog(PR_INFO, "FSP #%d: FSP HW version %d, SW version %d,"
+ " chip DD%d.%d\n",
+ i, sp_impl->hw_version, sp_impl->sw_version,
+ sp_impl->chip_version >> 4, sp_impl->chip_version & 0xf);
mask = SPSS_SP_IMPL_FLAGS_INSTALLED | SPSS_SP_IMPL_FLAGS_FUNCTIONAL;
if ((be16_to_cpu(sp_impl->func_flags) & mask) != mask) {
prerror("FSP #%d: FSP not installed or not functional\n", i);
@@ -97,8 +98,8 @@ static uint32_t fsp_create_link(const struct spss_iopath *iopath, int index,
default:
ststr = "Unknown";
}
- printf("FSP #%d: IO PATH %d is %s PSI Link, GXHB at %llx\n",
- fsp_index, index, ststr, (long long)iopath->psi.gxhb_base);
+ prlog(PR_DEBUG, "FSP #%d: IO PATH %d is %s PSI Link, GXHB at %llx\n",
+ fsp_index, index, ststr, (long long)iopath->psi.gxhb_base);
chip_id = pcid_to_chip_id(iopath->psi.proc_chip_id);
node = dt_find_compatible_node_on_chip(dt_root, NULL, "ibm,psihb-x",
@@ -127,7 +128,7 @@ static void fsp_create_links(const void *spss, int index,
prerror("FSP #%d: Can't find IO PATH array size !\n", index);
return;
}
- printf("FSP #%d: Found %d IO PATH\n", index, count);
+ prlog(PR_DEBUG, "FSP #%d: Found %d IO PATH\n", index, count);
/* Iterate all links */
for (i = 0; i < count; i++) {
@@ -181,7 +182,7 @@ void fsp_parse(void)
/* Find SPSS in SPIRA */
base_spss = get_hdif(&spira.ntuples.sp_subsys, SPSS_HDIF_SIG);
if (!base_spss) {
- printf("FSP: No SPSS in SPIRA !\n");
+ prlog(PR_WARNING, "FSP: No SPSS in SPIRA !\n");
return;
}
OpenPOWER on IntegriCloud