]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/pci:use hypercall PHYSDEVOP_restore_msi_ext to restore MSI/MSI-X vectors
authorLiang Tang <liang.tang@oracle.com>
Thu, 29 Sep 2011 02:32:49 +0000 (10:32 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 17:08:39 +0000 (13:08 -0400)
commitee78caa16a0ce327e77f8ff14fba4d76bd5adf54
tree827d94cd86047000ea9129a9a0ca39057bdc195e
parent658636f4de23c591e81f393a758ad0c04cde0122
xen/pci:use hypercall PHYSDEVOP_restore_msi_ext to restore MSI/MSI-X vectors

.. to use the new hypercall to restore the vectors for MSI/MSI-X devices.
If the new hypercall fail, we will call the old one (PHYSDEVOP_restore_msi).

[v1: Attempt only once to make the new hypercall, not everytime]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Liang Tang <liang.tang@oracle.com>
arch/x86/pci/xen.c
include/xen/interface/physdev.h