Commit e98bf005d5feafb3a089868420c1f3743d304e14

Authored by Cody P Schafer
Committed by Benjamin Herrenschmidt
1 parent 29ef7a3e26

powerpc/perf/hv_24x7: Probe errors changed to pr_debug(), padding fixed

fixup for "powerpc/perf: Add support for the hv 24x7 interface"

Makes the "not enabled" message less awful (and hides it in most cases).

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-24x7.c
... ... @@ -485,13 +485,13 @@
485 485 struct hv_perf_caps caps;
486 486  
487 487 if (!firmware_has_feature(FW_FEATURE_LPAR)) {
488   - pr_info("not a virtualized system, not enabling\n");
  488 + pr_debug("not a virtualized system, not enabling\n");
489 489 return -ENODEV;
490 490 }
491 491  
492 492 hret = hv_perf_caps_get(&caps);
493 493 if (hret) {
494   - pr_info("could not obtain capabilities, error 0x%80lx, not enabling\n",
  494 + pr_debug("could not obtain capabilities, not enabling, rc=%ld\n",
495 495 hret);
496 496 return -ENODEV;
497 497 }