Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e98bf005 authored by Cody P Schafer's avatar Cody P Schafer Committed by Benjamin Herrenschmidt
Browse files

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: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 29ef7a3e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}