linux_dsm_epyc7002/drivers
Thomas Hellstrom 667a50db04 drm/ttm: Refuse to fault (prime-) imported pages
This is illegal for at least two reasons:

1) While it may work on some platforms / iommus, obtaining page pointers from
mapped sg-lists is illegal, since the DMA API allows page pointer information
to be destroyed in the sg mapping process.

2) TTM has no way of determining the linear kernel map caching state of the
underlying pages. PTEs with conflicting caching state pointing to the same
pfn is not allowed.

TTM operations touching pages of imported sg-tables should be redirected through
the proper dma-buf operations.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
2014-01-08 09:55:05 +01:00
..
accessibility
acpi
amba
ata SCSI fixes on 20131206 2013-12-06 08:30:18 -08:00
atm
auxdisplay
base Revert "cpufreq: suspend governors on system suspend/hibernate" 2013-12-08 01:04:17 +01:00
bcma
block null_blk: mem garbage on NUMA systems during init 2013-12-15 12:17:16 -08:00
bluetooth
bus
cdrom
char Merge tag 'drm-intel-next-2013-11-29' of git://people.freedesktop.org/~danvet/drm-intel into drm-next 2013-12-18 10:39:56 +10:00
clk clk: tegra: remove bogus PCIE_XCLK 2013-12-11 16:45:13 -07:00
clocksource
connector
cpufreq cpufreq_ at32ap-cpufreq.c: Fix section mismatch 2013-12-10 08:46:38 +01:00
cpuidle cpuidle: Check for dev before deregistering it. 2013-12-03 22:05:22 +01:00
crypto crypto: talitos - fix aead sglen for case 'dst != src' 2013-11-28 22:25:17 +08:00
dca
devfreq
dio
dma ARM: tegra: implement common DMA and resets DT bindings 2013-12-17 18:09:16 +01:00
edac sb_edac: Shut up compiler warning when EDAC_DEBUG is enabled 2013-11-30 12:26:36 +01:00
eisa
extcon
firewire [SCSI] Disable WRITE SAME for RAID and virtual host adapter drivers 2013-11-29 08:48:39 +04:00
firmware efi-pstore: Make efi-pstore return a unique id 2013-11-29 10:11:06 +00:00
fmc
gpio A rather big fix for a regression where we have dropped omap4 hwmod 2013-12-09 15:38:41 -08:00
gpu drm/ttm: Refuse to fault (prime-) imported pages 2014-01-08 09:55:05 +01:00
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2013-12-13 13:21:28 -08:00
hsi
hv
hwmon hwmon fixes for 3.13-rc4 2013-12-12 11:05:19 -08:00
hwspinlock
i2c ARM: tegra: implement common DMA and resets DT bindings 2013-12-17 18:09:16 +01:00
ide
idle intel_idle: Fixed C6 state on Avoton/Rangeley processors 2013-11-28 14:35:26 +01:00
iio Fix build failure for gp2ap020a00f.c 2013-12-02 21:11:30 +00:00
infiniband
input ARM: tegra: implement common DMA and resets DT bindings 2013-12-17 18:09:16 +01:00
iommu iommu/arm-smmu: fix error return code in arm_smmu_device_dt_probe() 2013-12-06 16:44:25 +00:00
ipack
irqchip Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-12-02 10:15:39 -08:00
isdn
leds leds: pwm: Fix for deferred probe in DT booted mode 2013-12-02 11:53:17 -08:00
lguest
macintosh
mailbox
md A set of device-mapper fixes for 3.13. 2013-12-13 13:22:22 -08:00
media [media] videobuf2-dma-sg: fix possible memory leak 2013-12-10 05:40:57 -02:00
memory
memstick
message
mfd mfd/rtc: s5m: fix register updating by adding regmap for RTC 2013-12-12 18:19:26 -08:00
misc Char/Misc driver fixes for 3.13-rc3 2013-12-08 18:47:25 -08:00
mmc
mtd mtd: nand: pxa3xx: Use info->use_dma to release DMA resources 2013-12-12 15:02:04 -08:00
net igb: Fix for issue where values could be too high for udelay function. 2013-12-14 22:59:42 -05:00
nfc
ntb
nubus
of
oprofile
parisc
parport
pci ARM: tegra: implement common DMA and resets DT bindings 2013-12-17 18:09:16 +01:00
pcmcia
phy
pinctrl sh-pfc: sh7372: Fix pin bias setup 2013-12-03 10:38:41 +01:00
platform
pnp PNP: fix restoring devices after hibernation 2013-12-05 02:01:55 +01:00
power
powercap PowerCap: Fix mode for energy counter 2013-12-05 02:05:48 +01:00
pps
ps3
ptp
pwm
rapidio
regulator regulator: Fixes for v3.13 2013-12-13 11:39:54 -08:00
remoteproc
reset
rpmsg
rtc mfd/rtc: s5m: fix register updating by adding regmap for RTC 2013-12-12 18:19:26 -08:00
s390 s390/sclp: replace uninitialized early_event_mask_sccb variable with sccb_early 2013-12-02 15:31:07 +01:00
sbus
scsi SCSI fixes on 20131206 2013-12-06 08:30:18 -08:00
sfi
sh
sn
spi spi: tegra: checking for ERR_PTR instead of NULL 2013-12-16 09:51:58 -07:00
ssb
staging drm/tegra: Changes for v3.14-rc1 2013-12-23 10:43:42 +10:00
target
tc
thermal
tty ARM: tegra: implement common DMA and resets DT bindings 2013-12-17 18:09:16 +01:00
uio uio: we cannot mmap unaligned page contents 2013-12-02 11:50:37 -08:00
usb ARM: tegra: implement common DMA and resets DT bindings 2013-12-17 18:09:16 +01:00
uwb
vfio
vhost
video video/fb: Propagate error code from failing to unregister conflicting fb 2013-12-18 10:56:13 +10:00
virt
virtio
vlynq
vme
w1
watchdog sc1200_wdt: Fix oops 2013-12-10 08:48:15 +01:00
xen Bug-fixes: 2013-12-02 10:12:01 -08:00
zorro
Kconfig
Makefile