WSL2-Linux-Kernel/drivers
Chris Wilson 00de702c6c drm/i915: Check that the vma hasn't been closed before we insert it
As there is a delay before we pin a vma, there is an opportunity for
another thread to have closed the vm and its vma (including us).
Check as soon as we acquire the vm->mutex and know the vm/vma is stable.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1291
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200221121940.2741563-1-chris@chris-wilson.co.uk
2020-02-21 17:32:27 +00:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base Fix built-in early-load Intel microcode alignment 2020-01-15 11:50:37 -08:00
bcma
block block-5.5-2020-01-16 2020-01-17 05:54:18 -08:00
bluetooth
bus
cdrom
char
clk ARM: SoC fixes 2020-01-16 19:42:08 -08:00
clocksource
connector
counter
cpufreq
cpuidle cpuidle: teo: Fix intervals[] array indexing bug 2020-01-13 11:14:58 +01:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2020-01-15 10:21:34 -08:00
dax
dca
devfreq
dio
dma
dma-buf
edac riscv: move sifive_l2_cache.h to include/soc 2020-01-12 10:12:44 -08:00
eisa
extcon
firewire
firmware Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2020-01-18 12:50:14 -08:00
fpga
fsi
gnss
gpio Revert "gpio: thunderx: Switch to GPIOLIB_IRQCHIP" 2020-01-15 11:17:21 +01:00
gpu drm/i915: Check that the vma hasn't been closed before we insert it 2020-02-21 17:32:27 +00:00
greybus
hid Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
hsi
hv
hwmon
hwspinlock
hwtracing coresight: etm4x: Fix unused function warning 2020-01-14 15:38:28 +01:00
i2c i2c: iop3xx: Fix memory leak in probe error path 2020-01-15 20:31:27 +01:00
i3c
ide
idle
iio iio: light: vcnl4000: Fix scale for vcnl4040 2020-01-13 12:08:40 +01:00
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-01-09 15:37:40 -08:00
interconnect
iommu
ipack
irqchip irqchip/ingenic: Get rid of the legacy IRQ domain 2020-01-13 17:45:23 +01:00
isdn
leds
lightnvm
macintosh
mailbox
mcb
md block: fix an integer overflow in logical block size 2020-01-15 21:43:09 -07:00
media Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
memory
memstick
message scsi: mptfusion: Fix double fetch bug in ioctl 2020-01-15 23:05:52 -05:00
mfd
misc Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
mmc
mtd mtd: rawnand: gpmi: Restore nfc timing setup after suspend/resume 2020-01-17 22:45:09 +01:00
mux
net cxgb4: reject overlapped queues in TC-MQPRIO offload 2020-01-19 16:12:53 +01:00
nfc NFC: pn533: fix bulk-message timeout 2020-01-13 18:50:18 -08:00
ntb
nubus
nvdimm
nvme nvmet: fix per feat data len for get_feature 2020-01-10 08:55:50 -07:00
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
platform platform/chrome fixes for v5.5-rc7. 2020-01-16 10:26:40 -08:00
pnp
power
powercap
pps
ps3
ptp ptp: free ptp device pin descriptors properly 2020-01-14 10:58:57 -08:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390/zcrypt: move ap device reset from bus to driver code 2020-01-09 16:59:18 +01:00
sbus
scsi SCSI fixes on 20200118 2020-01-18 12:12:36 -08:00
sfi
sh
siox
slimbus
soc Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
soundwire
spi
spmi
ssb
staging Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
target
tc
tee Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
thermal
thunderbolt
tty
uio
usb USB-serial fixes for 5.5-rc7 2020-01-17 19:40:06 +01:00
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
zorro
Kconfig
Makefile