Commit 0a8cf9e28c094cd934deaedfd3ec07830f2a63cf

Authored by Cody P Schafer
Committed by Benjamin Herrenschmidt
1 parent e98bf005d5

powerpc/perf/hv_gpci: Probe failures use pr_debug(), and padding reduced

fixup for "powerpc/perf: Add support for the hv gpci (get performance
counter info) interface".

Makes the "not enabled" message less awful (and hidden unless
debugging).

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

arch/powerpc/perf/hv-gpci.c
... ... @@ -273,13 +273,13 @@
273 273 struct hv_perf_caps caps;
274 274  
275 275 if (!firmware_has_feature(FW_FEATURE_LPAR)) {
276   - pr_info("not a virtualized system, not enabling\n");
  276 + pr_debug("not a virtualized system, not enabling\n");
277 277 return -ENODEV;
278 278 }
279 279  
280 280 hret = hv_perf_caps_get(&caps);
281 281 if (hret) {
282   - pr_info("could not obtain capabilities, error 0x%80lx, not enabling\n",
  282 + pr_debug("could not obtain capabilities, not enabling, rc=%ld\n",
283 283 hret);
284 284 return -ENODEV;
285 285 }