]> xenbits.xensource.com Git - xen.git/commit
x86/MSI-X: access MSI-X table only after having enabled MSI-X
authorJan Beulich <jbeulich@suse.com>
Thu, 23 Jul 2015 08:15:39 +0000 (10:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Jul 2015 08:15:39 +0000 (10:15 +0200)
commit0dba393db07331e9cff42df10e95b67547dfdb3e
tree8dc4521005da160f1965ed628023e37e888163bf
parent082fdc6ce85e5b603f8fb24553cf200e3b67889f
x86/MSI-X: access MSI-X table only after having enabled MSI-X

As done in Linux by f598282f51 ("PCI: Fix the NIU MSI-X problem in a
better way") and its broken predecessor, make sure we don't access the
MSI-X table without having enabled MSI-X first, using the mask-all flag
instead to prevent interrupts from occurring.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/msi.c