]> 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)
commitabf9d52ba89da8931526b3bd6bef3d986195c619
treebd7131d6f10ab30b62d72b904fa2f76e09875416
parent0969266722a2603f305e8247631e33fad5b11653
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