lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-eb019503569c8c701f1e9c70e848d99c6680839b@git.kernel.org>
Date:	Sun, 10 Jul 2016 11:17:14 -0700
From:	tip-bot for Vegard Nossum <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	vegard.nossum@...cle.com, linux-kernel@...r.kernel.org,
	acme@...hat.com, torvalds@...ux-foundation.org,
	peterz@...radead.org, jolsa@...hat.com, mingo@...nel.org,
	slaoub@...il.com, alexander.shishkin@...ux.intel.com,
	hpa@...or.com, tglx@...utronix.de
Subject: [tip:perf/urgent] perf/x86: Fix bogus kernel printk, again

Commit-ID:  eb019503569c8c701f1e9c70e848d99c6680839b
Gitweb:     http://git.kernel.org/tip/eb019503569c8c701f1e9c70e848d99c6680839b
Author:     Vegard Nossum <vegard.nossum@...cle.com>
AuthorDate: Sun, 10 Jul 2016 19:14:01 +0200
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Sun, 10 Jul 2016 20:05:48 +0200

perf/x86: Fix bogus kernel printk, again

This showed up as "6Failed to access..." here.

Signed-off-by: Vegard Nossum <vegard.nossum@...cle.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Chen Yucong <slaoub@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Fixes: 1b74dde7c47c ("x86/cpu: Convert printk(KERN_<LEVEL> ...) to pr_<level>(...)")
Link: http://lkml.kernel.org/r/1468170841-17045-1-git-send-email-vegard.nossum@oracle.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 arch/x86/events/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c
index 26ced53..91eac39 100644
--- a/arch/x86/events/core.c
+++ b/arch/x86/events/core.c
@@ -263,7 +263,7 @@ static bool check_hw_exists(void)
 
 msr_fail:
 	pr_cont("Broken PMU hardware detected, using software events only.\n");
-	pr_info("%sFailed to access perfctr msr (MSR %x is %Lx)\n",
+	printk("%sFailed to access perfctr msr (MSR %x is %Lx)\n",
 		boot_cpu_has(X86_FEATURE_HYPERVISOR) ? KERN_INFO : KERN_ERR,
 		reg, val_new);
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ