powerpc/perf/hv_24x7: Probe errors changed to pr_debug(), padding fixed
authorCody P Schafer <cody@linux.vnet.ibm.com>
Tue, 15 Apr 2014 17:10:50 +0000 (10:10 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 03:11:25 +0000 (13:11 +1000)
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>
arch/powerpc/perf/hv-24x7.c

index 297c9105141365e81316a888176fe80611b5b08a..f5bca73d92b82ecf9251be5dd33dbe91cafeecc8 100644 (file)
@@ -485,13 +485,13 @@ static int hv_24x7_init(void)
        struct hv_perf_caps caps;
 
        if (!firmware_has_feature(FW_FEATURE_LPAR)) {
-               pr_info("not a virtualized system, not enabling\n");
+               pr_debug("not a virtualized system, not enabling\n");
                return -ENODEV;
        }
 
        hret = hv_perf_caps_get(&caps);
        if (hret) {
-               pr_info("could not obtain capabilities, error 0x%80lx, not enabling\n",
+               pr_debug("could not obtain capabilities, not enabling, rc=%ld\n",
                                hret);
                return -ENODEV;
        }