freebsd-dev/sys/x86/x86
John Baldwin be0319fd19 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.

Submitted by:	Jeremiah Lott <jlott@averesystems.com> (original patch)
Approved by:	re (marius)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D6947
2016-06-24 22:49:32 +00:00
..
autoconf.c Move i386/i386/autoconf.c to sys/x86/x86 and use it on both amd64 and i386. 2016-04-03 23:03:54 +00:00
bus_machdep.c Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
busdma_bounce.c busdma/bounce: revert r292255 2016-04-15 09:21:50 +00:00
busdma_machdep.c
cpu_machdep.c When sleeping in Sx state using MWAIT instruction, accept fast wakeup 2015-05-19 14:21:00 +00:00
delay.c
dump_machdep.c Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
fdt_machdep.c preload_search_info: make sure mod is set 2015-08-21 15:57:57 +00:00
identcpu.c X86: use our nitems() macro when it is avaliable through param.h. 2016-04-19 23:41:46 +00:00
intr_machdep.c Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
io_apic.c Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
legacy.c
local_apic.c Trim some spaces to record correct commit message for the r301278. 2016-06-03 18:23:45 +00:00
mca.c Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
mp_x86.c Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
mptable_pci.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
mptable.c
msi.c Add a tunable to disable migration of MSI-X interrupts. 2016-06-24 22:49:32 +00:00
nexus.c Implement support for RF_UNMAPPED and bus_map/unmap_resource on x86. 2016-05-20 18:00:10 +00:00
pvclock.c Add interface to derive a TSC frequency from the pvclock 2015-02-04 08:33:04 +00:00
stack_machdep.c Add stack_save_td_running(), a function to trace the kernel stack of a 2015-09-11 03:54:37 +00:00
tsc.c Opt for performance over power-saving on Intel CPUs that have a 2015-01-29 20:41:42 +00:00