Alex Williamson
8b27ee60bf
vfio-pci: PCI hot reset interface
...
The current VFIO_DEVICE_RESET interface only maps to PCI use cases
where we can isolate the reset to the individual PCI function. This
means the device must support FLR (PCIe or AF), PM reset on D3hot->D0
transition, device specific reset, or be a singleton device on a bus
for a secondary bus reset. FLR does not have widespread support,
PM reset is not very reliable, and bus topology is dictated by the
system and device design. We need to provide a means for a user to
induce a bus reset in cases where the existing mechanisms are not
available or not reliable.
This device specific extension to VFIO provides the user with this
ability. Two new ioctls are introduced:
- VFIO_DEVICE_PCI_GET_HOT_RESET_INFO
- VFIO_DEVICE_PCI_HOT_RESET
The first provides the user with information about the extent of
devices affected by a hot reset. This is essentially a list of
devices and the IOMMU groups they belong to. The user may then
initiate a hot reset by calling the second ioctl. We must be
careful that the user has ownership of all the affected devices
found via the first ioctl, so the second ioctl takes a list of file
descriptors for the VFIO groups affected by the reset. Each group
must have IOMMU protection established for the ioctl to succeed.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2013-09-04 11:28:04 -06:00
..
accessibility
acpi
Big part of this is the addition of compression to the
2013-09-03 21:14:06 -07:00
amba
ata
Merge branch 'for-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
2013-09-03 18:19:53 -07:00
atm
auxdisplay
base
ACPI and power management updates for 3.12-rc1
2013-09-03 15:59:39 -07:00
bcma
block
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
bluetooth
bus
drivers/bus: arm-cci: avoid parsing DT for cpu device nodes
2013-08-21 10:29:53 +01:00
cdrom
char
ACPI and power management updates for 3.12-rc1
2013-09-03 15:59:39 -07:00
clk
clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks
2013-08-13 10:01:56 -07:00
clocksource
Merge branch 'timers/clockevents-next' of git://git.linaro.org/people/dlezcano/clockevents into timers/core
2013-08-21 14:59:23 +02:00
connector
cpufreq
ACPI and power management updates for 3.12-rc1
2013-09-03 15:59:39 -07:00
cpuidle
cpuidle: coupled: fix race condition between pokes and safe state
2013-08-29 22:15:34 +02:00
crypto
dca
devfreq
devfreq: convert devfreq_class to use dev_groups
2013-08-19 21:22:34 -07:00
dio
dma
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
edac
eisa
extcon
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
firewire
firmware
Big part of this is the addition of compression to the
2013-09-03 21:14:06 -07:00
fmc
FMC: Staticize local symbols
2013-08-12 15:45:40 -07:00
gpio
gpu
drm/vmwgfx: Split GMR2_REMAP commands if they are to large
2013-08-30 09:03:39 +10:00
hid
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
hsi
hv
Drivers: hv: vmbus: Do not attempt to negoatiate a new version prematurely
2013-08-30 12:08:04 -07:00
hwmon
New driver for HTU21D (humidity sensor)
2013-09-03 10:43:35 -07:00
hwspinlock
i2c
ide
idle
iio
staging tree merge for 3.12-rc1
2013-09-03 11:37:57 -07:00
infiniband
[SCSI] IB/iser: Add Discovery support
2013-08-26 18:53:49 +04:00
input
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
iommu
ipack
irqchip
irqchip: sirf: move from legacy mode to linear irqdomain
2013-08-29 09:48:32 -07:00
isdn
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
leds
lguest
macintosh
mailbox
md
SCSI misc on 20130903
2013-09-03 15:48:06 -07:00
media
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
memory
memstick
message
mfd
PCI changes for the v3.12 merge window:
2013-09-03 16:24:35 -07:00
misc
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
mmc
mtd
net
PCI changes for the v3.12 merge window:
2013-09-03 16:24:35 -07:00
nfc
ntb
nubus
of
ACPI and power management updates for 3.12-rc1
2013-09-03 15:59:39 -07:00
oprofile
parisc
PCI changes for the v3.12 merge window:
2013-09-03 16:24:35 -07:00
parport
drivers: parport: Kconfig: exclude h8300 for PARPORT_PC
2013-08-30 12:08:04 -07:00
pci
PCI changes for the v3.12 merge window:
2013-09-03 16:24:35 -07:00
pcmcia
pinctrl
platform
ACPI and power management updates for 3.12-rc1
2013-09-03 15:59:39 -07:00
pnp
Merge branch 'pnp'
2013-08-27 01:41:35 +02:00
power
pps
PPS: convert class code to use dev_groups
2013-08-19 21:22:34 -07:00
ps3
ptp
pwm
pwm: pxa: Use module_platform_driver
2013-09-03 13:09:17 +02:00
rapidio
regulator
Merge remote-tracking branch 'regulator/topic/tps65912' into regulator-next
2013-09-01 13:50:23 +01:00
remoteproc
reset
rpmsg
rtc
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
s390
SCSI misc on 20130903
2013-09-03 15:48:06 -07:00
sbus
scsi
Merge branch 'for-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
2013-09-03 18:19:53 -07:00
sfi
sh
sn
spi
Merge remote-tracking branch 'spi/topic/txx9' into spi-next
2013-09-01 13:49:18 +01:00
ssb
staging
TTY/Serial driver patches for 3.12-rc1
2013-09-03 11:38:36 -07:00
target
target: Fix se_cmd->state_list leak regression during WRITE failure
2013-08-31 15:19:12 -07:00
tc
thermal
tty
TTY/Serial driver patches for 3.12-rc1
2013-09-03 11:38:36 -07:00
uio
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
usb
Driver core patches for 3.12-rc1
2013-09-03 11:37:15 -07:00
uwb
uwb: Staticize local symbols
2013-08-19 17:08:16 -07:00
vfio
vfio-pci: PCI hot reset interface
2013-09-04 11:28:04 -06:00
vhost
video
Merge branch 'x86-fb-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2013-09-04 09:12:17 -07:00
virt
virtio
vlynq
vme
vme: vme_ca91cx42.c: fix to pass correct device identity to free_irq()
2013-08-27 21:49:26 -07:00
w1
w1: slaves: w1_ds2781: convert to use w1_family_ops.groups
2013-08-22 11:05:44 -07:00
watchdog
xen
Merge branch 'acpi-sleep'
2013-08-27 01:28:38 +02:00
zorro
Kconfig
Makefile