]> git.baikalelectronics.ru Git - kernel.git/commit
xen/x86: add diagnostic printout to xen_mc_flush() in case of error
authorJuergen Gross <jgross@suse.com>
Fri, 23 Nov 2018 16:24:51 +0000 (17:24 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 29 Nov 2018 16:53:16 +0000 (17:53 +0100)
commit28802e71cefcacdf6d1466479a2b4a38c6486624
treebd7131d6f10ab30b62d72b904fa2f76e09875416
parentdc8d6f74bd8cb293bf5233eb7a6a923932f14318
xen/x86: add diagnostic printout to xen_mc_flush() in case of error

Failure of an element of a Xen multicall is signalled via a WARN()
only if the kernel is compiled with MC_DEBUG. It is impossible to
know which element failed and why it did so.

Change that by printing the related information even without MC_DEBUG,
even if maybe in some limited form (e.g. without information which
caller produced the failing element).

Move the printing out of the switch statement in order to have the
same information for a single call.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/multicalls.c