android_kernel_samsung_a7y1.../drivers
Sam Bobroff 75c1226885 drm/radeon: fix bad DMA from INTERRUPT_CNTL2
[ Upstream commit 62d91dd2851e8ae2ca552f1b090a3575a4edf759 ]

The INTERRUPT_CNTL2 register expects a valid DMA address, but is
currently set with a GPU MC address.  This can cause problems on
systems that detect the resulting DMA read from an invalid address
(found on a Power8 guest).

Instead, use the DMA address of the dummy page because it will always
be safe.

Fixes: d8f60cfc9345 ("drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)")
Fixes: 25a857fbe973 ("drm/radeon/kms: add support for interrupts on SI")
Fixes: a59781bbe528 ("drm/radeon: add support for interrupts on CIK (v5)")
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:43:58 +02:00
..
accessibility
acpi ACPI: PM: Avoid attaching ACPI PM domain to certain devices 2020-04-07 13:07:24 +02:00
amba
android
ata ahci: Do not export local variable ahci_em_messages 2020-04-07 13:43:01 +02:00
atm
auxdisplay
base
battery
battery_v2
bcma bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA 2020-04-07 13:43:09 +02:00
block signal: Allow cifs and drbd to receive their terminating signals 2020-04-07 13:42:54 +02:00
bluetooth Bluetooth: btusb: fix PM leak in error case of setup 2020-04-07 13:24:51 +02:00
bts
bus
ccic
cdrom cdrom: respect device capabilities during opening action 2020-04-07 13:23:35 +02:00
char hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled 2020-04-07 13:20:24 +02:00
clk clk: armada-xp: fix refcount leak in axp_clk_init() 2020-04-07 13:40:01 +02:00
clocksource clocksource/drivers/sun5i: Fail gracefully when clock rate is unavailable 2020-04-07 13:40:44 +02:00
connector
cpufreq cpufreq: Register drivers only after CPU devices have been registered 2020-04-07 13:21:35 +02:00
cpuidle cpuidle: Do not unset the driver if it is there already 2020-04-07 13:07:18 +02:00
crypto crypto: caam - free resources in case caam_rng registration failed 2020-04-07 13:42:44 +02:00
dca
devfreq PM / devfreq: Don't fail devfreq_dev_release if not in list 2020-04-07 13:24:09 +02:00
dio
dma dmaengine: ti: edma: fix missed failure handling 2020-04-07 13:43:56 +02:00
dma-buf
edac EDAC/ghes: Fix grain calculation 2020-04-07 13:21:28 +02:00
eisa
extcon extcon: sm5502: Reset registers during initialization 2020-04-07 13:20:38 +02:00
fingerprint
firewire net: add annotations on hh->hh_len lockless accesses 2020-04-07 13:25:04 +02:00
firmware
five
fmc
fpga
gator
gpio gpio: Fix error message on out-of-range GPIO in lookup table 2020-04-07 13:36:46 +02:00
gps
gpu drm/radeon: fix bad DMA from INTERRUPT_CNTL2 2020-04-07 13:43:58 +02:00
gud
hid HID: hidraw, uhid: Always report EPOLLOUT 2020-04-07 13:36:12 +02:00
hsi
hv
hwmon hwmon: (shtc1) fix shtc1 and shtw1 id mask 2020-04-07 13:43:18 +02:00
hwspinlock
hwtracing
i2c
ide
idle
iio iio: dac: ad5380: fix incorrect assignment to val 2020-04-07 13:43:11 +02:00
infiniband IB/mlx5: Add missing XRC options to QP optional params mask 2020-04-07 13:41:42 +02:00
input Input: nomadik-ske-keypad - fix a loop timeout test 2020-04-07 13:39:41 +02:00
iommu iommu/amd: Wait for completion of IOTLB flush in attach_device 2020-04-07 13:43:24 +02:00
ipack
irqchip irqchip: ingenic: Error out if IRQ domain creation failed 2020-04-07 13:23:09 +02:00
isdn
leds
lguest
lightnvm
macintosh
mailbox
mcb
md block: fix an integer overflow in logical block size 2020-04-07 13:37:29 +02:00
media media: ov6650: Fix .get_fmt() V4L2_SUBDEV_FORMAT_TRY support 2020-04-07 13:43:49 +02:00
memory
memstick
message scsi: mptfusion: Fix double fetch bug in ioctl 2020-04-07 13:37:43 +02:00
mfd mfd: intel-lpss: Release IDA resources 2020-04-07 13:42:26 +02:00
misc mic: avoid statically declaring a 'struct device'. 2020-04-07 13:42:37 +02:00
mmc mmc: sdhci: Update the tuning failed messages to pr_debug level 2020-04-07 13:24:04 +02:00
motor
mtd mtd: spear_smi: Fix Write Burst mode 2020-04-07 13:06:47 +02:00
muic
net net: qca_spi: Move reset_count to struct qcaspi 2020-04-07 13:43:43 +02:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
oprofile
parisc
parport parport: load lowlevel driver if ports not found 2020-04-07 13:21:33 +02:00
pci PCI/MSI: Fix incorrect MSI-X masking on resume 2020-04-07 13:12:43 +02:00
pcmcia
perf
phy
pinctrl pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups 2020-04-07 13:40:29 +02:00
platform MIPS: Loongson: Fix return value of loongson_hwmon_init 2020-04-07 13:43:51 +02:00
pnp
power power: supply: Init device wakeup after device_add() 2020-04-07 13:43:05 +02:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: wm831x-dcdc: Fix list of wm831x_dcdc_ilim from mA to uA 2020-04-07 13:40:48 +02:00
remoteproc
reset
rpmsg
rtc rtc: pcf8563: Clear event flags and disable interrupts before requesting irq 2020-04-07 13:42:20 +02:00
s390 scsi: zfcp: trace channel log even for FCP command responses 2020-04-07 13:07:37 +02:00
sbus
scsi scsi: libfc: fix null pointer dereference on a null lport 2020-04-07 13:42:31 +02:00
security/samsung/icdrv
sensorhub
sensors
sfi
sh
sn
soc
spi spi: spi-fsl-spi: call spi_finalize_current_message() at the end 2020-04-07 13:42:01 +02:00
spmi
ssb
staging staging: comedi: ni_mio_common: protect register write overflow 2020-04-07 13:39:16 +02:00
switch
target scsi: target: core: Fix a pr_debug() argument 2020-04-07 13:38:56 +02:00
tc
tee
thermal thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power 2020-04-07 13:41:59 +02:00
thunderbolt
trace
tty tty: ipwireless: Fix potential NULL pointer dereference 2020-04-07 13:40:15 +02:00
uh
uio
usb usb: host: xhci-hub: fix extra endianness conversion 2020-04-07 13:42:35 +02:00
uwb
vfio vfio_pci: Enable memory accesses before calling pci_map_rom 2020-04-07 13:40:33 +02:00
vhost
video backlight: lm3630a: Return 0 on success in update_status functions 2020-04-07 13:41:58 +02:00
virt
virtio virtio-balloon: fix managed page counts when migrating pages between zones 2020-04-07 13:06:49 +02:00
vision
vlynq
vme
w1
watchdog
xen xen, cpu_hotplug: Prevent an out of bounds access 2020-04-07 13:40:54 +02:00
zorro
Kconfig
Makefile