]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 302181: Add a tunable to disable migration of MSI-X interrupts.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Aug 2016 17:14:45 +0000 (17:14 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Aug 2016 17:14:45 +0000 (17:14 +0000)
commit4b916894c4f0c14535e6d124f3a1a027d33215c5
tree7be7210c694047b6f0fd668037d583fe9231a163
parent30ed278c4065511fbb53d24cdcb5b51c66d60332
MFC 302181: Add a tunable to disable migration of MSI-X interrupts.

The new 'machdep.disable_msix_migration' tunable can be set to 1 to
disable migration of MSI-X interrupts.

Xen versions prior to 4.6.0 do not properly handle updates to MSI-X
table entries after the initial write.  In particular, the operation
to unmask a table entry after updating it during migration is not
propagated to the "real" table for passthrough devices causing the
interrupt to remain masked.  At least some systems in EC2 are
affected by this bug when using SRIOV.  The tunable can be set in
loader.conf as a workaround.

git-svn-id: svn://svn.freebsd.org/base/stable/9@303777 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/x86/x86/msi.c