summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-06-20 23:16:37 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-20 23:25:19 +0200
commitb867059018a5254cca14450eefb6fb8effa0f6dd (patch)
tree5eaa18f20e71e19407c65afea2a29044ea82cf41 /drivers/xen
parent6057077f6ebc0747c2f5b21dfb1eb782f489d0f6 (diff)
downloadlinux-b867059018a5254cca14450eefb6fb8effa0f6dd.tar.gz
linux-b867059018a5254cca14450eefb6fb8effa0f6dd.tar.bz2
linux-b867059018a5254cca14450eefb6fb8effa0f6dd.zip
x86/MCE, xen/mcelog: Make /dev/mcelog registration messages more precise
When running under Xen as dom0, /dev/mcelog is being provided by Xen instead of the normal mcelog character device of the MCE core. Convert an error message being issued by the MCE core in this case to an informative message that Xen has registered the device. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: xen-devel@lists.xenproject.org Cc: Tony Luck <tony.luck@intel.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/20170614084059.19294-1-jgross@suse.com
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/mcelog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/mcelog.c b/drivers/xen/mcelog.c
index a493c7315e94..6cc1c15bcd84 100644
--- a/drivers/xen/mcelog.c
+++ b/drivers/xen/mcelog.c
@@ -408,6 +408,8 @@ static int __init xen_late_init_mcelog(void)
if (ret)
goto deregister;
+ pr_info("/dev/mcelog registered by Xen\n");
+
return 0;
deregister: