linux-stable/drivers
Robin Gong 93ca6e2019 dmaengine: imx-sdma: remove BD_INTR for channel0
commit 3f93a4f297 upstream.

It is possible for an irq triggered by channel0 to be received later
after clks are disabled once firmware loaded during sdma probe. If
that happens then clearing them by writing to SDMA_H_INTR won't work
and the kernel will hang processing infinite interrupts. Actually,
don't need interrupt triggered on channel0 since it's pollling
SDMA_H_STATSTOP to know channel0 done rather than interrupt in
current code, just clear BD_INTR to disable channel0 interrupt to
avoid the above case.
This issue was brought by commit 1d069bfa3c ("dmaengine: imx-sdma:
ack channel 0 IRQ in the interrupt handler") which didn't take care
the above case.

Fixes: 1d069bfa3c ("dmaengine: imx-sdma: ack channel 0 IRQ in the interrupt handler")
Cc: stable@vger.kernel.org #5.0+
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reported-by: Sven Van Asbroeck <thesven73@gmail.com>
Tested-by: Sven Van Asbroeck <thesven73@gmail.com>
Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-10 09:54:43 +02:00
..
accessibility
acpi pstore: Convert buf_lock to semaphore 2019-06-11 12:21:48 +02:00
amba
android binder: fix race between munmap() and direct reclaim 2019-06-09 09:18:20 +02:00
ata libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk 2019-06-19 08:20:54 +02:00
atm
auxdisplay
base PM / core: Propagate dev->power.wakeup_path when no callbacks 2019-05-31 06:47:28 -07:00
bcma
block
bluetooth
bus
cdrom
char hwrng: omap - Set default quality 2019-05-31 06:47:34 -07:00
clk clk: ti: clkctrl: Fix clkdm_clk handling 2019-06-22 08:16:16 +02:00
clocksource
connector
cpufreq cpufreq: kirkwood: fix possible object reference leak 2019-05-31 06:47:29 -07:00
cpuidle
crypto crypto: vmx - ghash: do nosimd fallback manually 2019-06-09 09:18:12 +02:00
dax
dca
devfreq
dio
dma dmaengine: imx-sdma: remove BD_INTR for channel0 2019-07-10 09:54:43 +02:00
dma-buf
edac EDAC/mpc85xx: Prevent building as a module 2019-06-15 11:54:52 +02:00
eisa
extcon extcon: arizona: Disable mic detect if running when driver is removed 2019-05-31 06:47:28 -07:00
firewire
firmware pstore: Convert buf_lock to semaphore 2019-06-11 12:21:48 +02:00
fmc
fpga
fsi
gpio gpio: fix gpio-adp5588 build errors 2019-06-22 08:16:16 +02:00
gpu drm/imx: only send event on crtc disable if kept disabled 2019-07-10 09:54:40 +02:00
hid HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact 2019-06-22 08:16:19 +02:00
hsi
hv
hwmon hwmon: (pmbus/core) Treat parameters as paged if on multiple pages 2019-06-25 11:36:53 +08:00
hwspinlock
hwtracing intel_th: msu: Fix single mode with IOMMU 2019-05-25 18:25:19 +02:00
i2c i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr 2019-06-22 08:16:17 +02:00
ide
idle
iio iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data 2019-05-31 06:47:29 -07:00
infiniband IB/hfi1: Close PSM sdma_progress sleep window 2019-07-03 13:15:57 +02:00
input Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD 2019-06-25 11:36:51 +08:00
iommu iommu/arm-smmu: Avoid constant zero in TLBI writes 2019-06-19 08:20:55 +02:00
ipack
irqchip Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment" 2019-06-11 12:21:49 +02:00
isdn mISDN: make sure device name is NUL terminated 2019-06-22 08:16:16 +02:00
leds
lightnvm
macintosh
mailbox
mcb
md dm log writes: make sure super sector log updates are written in order 2019-07-03 13:16:00 +02:00
media media: v4l2-ioctl: clear fields in s_parm 2019-06-19 08:20:55 +02:00
memory memory: tegra: Fix integer overflow on tick value calculation 2019-05-25 18:25:25 +02:00
memstick
message
mfd mfd: twl6040: Fix device init errors for ACCCTL register 2019-06-15 11:54:52 +02:00
misc eeprom: at24: fix unexpected timeout under high load 2019-07-03 13:16:01 +02:00
mmc mmc: core: Prevent processing SDIO IRQs when the card is suspended 2019-06-25 11:36:50 +08:00
mtd
mux
net bonding: Always enable vlan tx offload 2019-07-03 13:16:02 +02:00
nfc
ntb
nubus
nvdimm libnvdimm: Fix compilation warnings with W=1 2019-06-19 08:20:57 +02:00
nvme nvme: Fix u32 overflow in the number of namespace list calculation 2019-06-25 11:36:53 +08:00
nvmem nvmem: core: fix read buffer in place 2019-06-15 11:54:54 +02:00
of
oprofile
parisc parisc: Use implicit space register selection for loading the coherence index of I/O pdirs 2019-06-11 12:21:47 +02:00
parport parport: Fix mem leak in parport_register_dev_model 2019-06-25 11:36:51 +08:00
pci PCI: xilinx: Check for __get_free_pages() failure 2019-06-15 11:54:58 +02:00
pcmcia
perf
phy phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode 2019-05-31 06:47:26 -07:00
pinctrl pinctrl: samsung: fix leaked of_node references 2019-05-31 06:47:24 -07:00
platform platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration 2019-07-10 09:54:35 +02:00
pnp
power power: supply: max14656: fix potential use-before-alloc 2019-06-15 11:54:57 +02:00
powercap
pps
ps3
ptp
pwm pwm: Fix deadlock warning when removing PWM device 2019-06-15 11:54:59 +02:00
rapidio rapidio: fix a NULL pointer dereference when create_workqueue() fails 2019-06-15 11:54:50 +02:00
ras RAS/CEC: Fix binary search function 2019-06-19 08:20:59 +02:00
regulator
remoteproc
reset
rpmsg
rtc rtc: pcf8523: don't return invalid date when battery is low 2019-06-19 08:21:00 +02:00
s390 s390/qeth: fix VLAN attribute in bridge_hostnotify udev event 2019-06-25 11:36:53 +08:00
sbus
scsi scsi: hpsa: correct ioaccel2 chaining 2019-07-10 09:54:35 +02:00
sfi
sh
sn
soc soc: rockchip: Set the proper PWM for rk3288 2019-06-15 11:54:55 +02:00
spi spi: bitbang: Fix NULL pointer dereference in spi_unregister_master 2019-07-10 09:54:31 +02:00
spmi
ssb ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-05-31 06:47:13 -07:00
staging Staging: vc04_services: Fix a couple error codes 2019-06-22 08:16:15 +02:00
target
tc
tee
thermal drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER 2019-06-15 11:54:52 +02:00
thunderbolt thunderbolt: Fix to check for kmemdup failure 2019-05-31 06:47:34 -07:00
tty tty: rocket: fix incorrect forward declaration of 'rp_init()' 2019-07-10 09:54:42 +02:00
uio
usb usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC 2019-07-10 09:54:34 +02:00
uwb
vfio vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING" 2019-06-15 11:54:54 +02:00
vhost vhost: scsi: add weight support 2019-07-10 09:54:42 +02:00
video video: imsttfb: fix potential NULL pointer dereferences 2019-06-15 11:54:57 +02:00
virt
virtio
vlynq
vme
w1 w1: fix the resume command API 2019-05-31 06:47:21 -07:00
watchdog watchdog: fix compile time error of pretimeout governors 2019-06-15 11:54:54 +02:00
xen fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock 2019-06-11 12:21:51 +02:00
zorro
Kconfig
Makefile