aboutsummaryrefslogtreecommitdiff
path: root/hdata/cpu-common.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-10-13 15:15:35 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-15 14:23:24 +1100
commit324289829343bd11c2c0cc4cdbec80ce81bbf89d (patch)
tree5c670de6abdaf94496a22d1b7956be5d189496ea /hdata/cpu-common.c
parent07c91d4322eb3c5b0849f9ba85ec51a69c09eda0 (diff)
downloadskiboot-324289829343bd11c2c0cc4cdbec80ce81bbf89d.zip
skiboot-324289829343bd11c2c0cc4cdbec80ce81bbf89d.tar.gz
skiboot-324289829343bd11c2c0cc4cdbec80ce81bbf89d.tar.bz2
decrease verbosity of logging CPU information.
If we have an UNAVAILABLE core (e.g. garded by FSP), we *WILL* print that out with PR_WARNING, as that's probably something that people want to pay attention to. Otherwise we stick with PR_INFO, which should be enough for these kind of log messages. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/cpu-common.c')
-rw-r--r--hdata/cpu-common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c
index f08fa27..e1aa607 100644
--- a/hdata/cpu-common.c
+++ b/hdata/cpu-common.c
@@ -33,12 +33,12 @@ struct dt_node * add_core_common(struct dt_node *cpus,
const uint8_t pa_features[] = {
6, 0, 0xf6, 0x3f, 0xc7, 0x00, 0x80, 0xc0 };
- printf(" Cache: I=%u D=%u/%u/%u/%u\n",
- be32_to_cpu(cache->icache_size_kb),
- be32_to_cpu(cache->l1_dcache_size_kb),
- be32_to_cpu(cache->l2_dcache_size_kb),
- be32_to_cpu(cache->l3_dcache_size_kb),
- be32_to_cpu(cache->l35_dcache_size_kb));
+ prlog(PR_INFO, " Cache: I=%u D=%u/%u/%u/%u\n",
+ be32_to_cpu(cache->icache_size_kb),
+ be32_to_cpu(cache->l1_dcache_size_kb),
+ be32_to_cpu(cache->l2_dcache_size_kb),
+ be32_to_cpu(cache->l3_dcache_size_kb),
+ be32_to_cpu(cache->l35_dcache_size_kb));
/* Use the boot CPU PVR to make up a CPU name in the device-tree
* since the HDAT doesn't seem to tell....