linux/drivers
Ding Wei 472cb33488 video: rockchip: mpp: Use spinlock for queue->running_lock
reason: mpp_iommu_handle is called by irq for iommu, thus it cannot
use mutex which might case sleep, thus use spinlock instead.

Call trace:
[   71.047958 ] Call trace:
[   71.047974 ]  dump_backtrace+0x0/0x160
[   71.047988 ]  show_stack+0x14/0x1c
[   71.048003 ]  dump_stack+0xd0/0x120
[   71.048018 ]  ___might_sleep+0x1f4/0x204
[   71.048032 ]  __might_sleep+0x4c/0x80
[   71.048045 ]  __mutex_lock_common+0x60/0x1028
[   71.048057 ]  mutex_lock_nested+0x28/0x30
[   71.048073 ]  mpp_iommu_handle+0x44/0x1c8
[   71.048088 ]  report_iommu_fault+0x3c/0x198
[   71.048102 ]  rk_iommu_irq+0x2a4/0x3bc
[   71.048117 ]  __handle_irq_event_percpu+0x114/0x3c4
[   71.048131 ]  handle_irq_event+0x5c/0xd0
[   71.048143 ]  handle_fasteoi_irq+0x124/0x220
[   71.048156 ]  __handle_domain_irq+0x9c/0xf4
[   71.048169 ]  gic_handle_irq+0x108/0x180
[   71.048181 ]  el1_irq+0xec/0x1a0
[   71.048194 ]  _raw_spin_unlock_irqrestore+0x3c/0x78
[   71.048209 ]  vop2_crtc_atomic_flush+0x1c78/0x202c
[   71.048223 ]  drm_atomic_helper_commit_planes+0x1a4/0x210
[   71.048238 ]  rockchip_atomic_commit_complete+0x1a4/0x390
[   71.048252 ]  rockchip_drm_atomic_commit+0x22c/0x24c
[   71.048266 ]  drm_mode_atomic_ioctl+0xa18/0xddc
[   71.048280 ]  drm_ioctl+0x2d8/0x46c
[   71.048296 ]  do_vfs_ioctl+0x4dc/0x794
[   71.048308 ]  __arm64_sys_ioctl+0x70/0x98
[   71.048322 ]  el0_svc_common+0xa0/0x18c
[   71.048335 ]  el0_svc_handler+0x28/0x60
[   71.048348 ]  el0_svc+0x8/0xc

Change-Id: Ie8e79995ec4bebf4ccbb509a57306541de861754
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2021-10-15 15:50:06 +08:00
..
accessibility
acpi Merge 5.10.43 into android12-5.10 2021-06-12 14:48:14 +02:00
amba Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
android ANDROID: PCI/PM: Use usleep_range for d3hot_delay 2021-08-04 19:48:57 -05:00
ata ata: libahci_platform: fix IRQ check 2021-05-14 09:50:24 +02:00
atm atm: idt77252: fix null-ptr-dereference 2021-03-30 14:31:50 +02:00
auxdisplay rk: revert to v4.19 2021-03-17 18:05:39 +08:00
base Merge remote branch 'android12-5.10-2021-08' of https://android.googlesource.com/kernel/common 2021-08-24 20:07:38 +08:00
bcma rk: revert to v4.19 2021-03-17 18:05:39 +08:00
block FROMGIT: loop: Select I/O scheduler 'none' from inside add_disk() 2021-08-05 12:21:53 -07:00
bluetooth Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
bus bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act 2021-06-10 13:39:22 +02:00
cdrom cdrom: gdrom: initialize global variable at init time 2021-05-26 12:06:55 +02:00
char Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
clk clk: rockchip: rk3308: Call rockchip_soc_id_init() on init 2021-09-10 18:39:50 +08:00
clocksource clocksource/drivers/rockchip: Add module support to rockchip timer 2021-07-28 19:32:05 +08:00
connector rk: revert to v4.19 2021-03-17 18:05:39 +08:00
counter counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register 2021-03-25 09:04:16 +01:00
cpufreq Merge remote branch 'android12-5.10-2021-08' of https://android.googlesource.com/kernel/common 2021-08-24 20:07:38 +08:00
cpuidle ANDROID: cpuidle: Allow for an early exit from cpuidle_enter_state() 2021-07-02 19:45:07 +00:00
crypto Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
dax rk: revert to v4.19 2021-03-17 18:05:39 +08:00
dca
devfreq PM / devfreq: rockchip_dmc: Split out some functions into separate file 2021-08-06 20:11:06 +08:00
dio
dma Merge 5.10.42 into android12-5.10 2021-06-03 18:47:38 +02:00
dma-buf dma-buf/sw_sync: build sw-sync as module for gki 2021-09-26 15:46:54 +08:00
edac rk: revert to v4.19 2021-03-17 18:05:39 +08:00
eisa
extcon Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 15:00:11 +02:00
firmware Merge remote branch 'android12-5.10-2021-08' of https://android.googlesource.com/kernel/common 2021-08-24 20:07:38 +08:00
fpga fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER 2021-05-14 09:50:06 +02:00
fsi rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gnss rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gpio Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
gpu drm/rockchip: dw_hdmi: Allow rk3399 hdmi output yuv420 2021-10-14 18:48:43 +08:00
greybus
headset_observe treewide: replace '---help---' in Kconfig files with 'help' (rk) 2021-04-08 18:57:03 +08:00
hid Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
hsi HSI: core: fix resource leaks in hsi_add_client_from_dt() 2021-05-14 09:50:28 +02:00
hv Drivers: hv: vmbus: Increase wait time for VMbus unload 2021-05-14 09:50:21 +02:00
hwmon Merge 5.10.43 into android12-5.10 2021-06-12 14:48:14 +02:00
hwspinlock Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-03-17 18:07:51 +08:00
hwtracing ANDROID: coresight: Update ETE/TRBE to v6 merged upstream 2021-06-23 22:48:15 +00:00
i2c i2c: rk3x: Remove start state and irq 2021-08-03 14:55:57 +08:00
i3c Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register" 2021-05-14 09:50:05 +02:00
ide rk: revert to v4.19 2021-03-17 18:05:39 +08:00
idle rk: revert to v4.19 2021-03-17 18:05:39 +08:00
iio iio: adc: rockchip_saradc: fix interrupt issue 2021-09-27 17:25:06 +08:00
infiniband RDMA/uverbs: Fix a NULL vs IS_ERR() bug 2021-05-26 12:06:49 +02:00
input input: touchscreen: Add support for gsl3673 2021-09-28 14:22:43 +08:00
interconnect interconnect: qcom: Add missing MODULE_DEVICE_TABLE 2021-06-03 09:00:46 +02:00
iommu iommu/rockchip: fix vop blocked and screen black on RK356X and RK3588 2021-09-24 17:27:27 +08:00
ipack rk: revert to v4.19 2021-03-17 18:05:39 +08:00
irqchip irqchip/gic-v3-its: force to config its tables as no-inner-cache in rk3588 2021-10-13 10:57:10 +08:00
isdn isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info 2021-06-03 09:00:42 +02:00
leds Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
lightnvm rk: revert to v4.19 2021-03-17 18:05:39 +08:00
macintosh rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mailbox Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
mcb
md Merge 5.10.42 into android12-5.10 2021-06-03 18:47:38 +02:00
media media: rockchip: cif fix issue for CONFIG_ROCKCHIP_IOMMU=n 2021-10-14 11:02:24 +08:00
memory Merge 5.10.37 into android12-5.10 2021-05-15 09:28:55 +02:00
memstick rk: revert to v4.19 2021-03-17 18:05:39 +08:00
message rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mfd mfd: rk806: Add RK806 support 2021-10-12 14:50:23 +08:00
misc Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
mmc mmc: dw_mmc-rockchip: set default pm_runtime status to active 2021-09-15 14:27:40 +08:00
most
mtd mtd: spinand: core: Support suspend/resume/shutdown 2021-09-22 16:53:58 +08:00
mux
net net: ethernet: stmmac: dwmac-rk: Add gmac support for rk3588 2021-09-08 10:55:49 +08:00
nfc Revert "NFC: Add to support ap6441 & ap6493 nfc function." 2021-08-11 16:32:39 +08:00
ntb rk: revert to v4.19 2021-03-17 18:05:39 +08:00
nubus
nvdimm libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC 2021-04-21 13:00:55 +02:00
nvme nvmet: fix freeing unallocated p2pmem 2021-06-10 13:39:18 +02:00
nvmem nvmem: core: Call nvmem_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2021-07-14 10:30:49 +08:00
of Merge remote branch 'android12-5.10-2021-08' of https://android.googlesource.com/kernel/common 2021-08-24 20:07:38 +08:00
opp opp: Add a summary tree in debugfs 2021-07-16 17:55:24 +08:00
oprofile
parisc rk: revert to v4.19 2021-03-17 18:05:39 +08:00
parport rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pci PCI: rockchip: dw: Initialize atu_base 2021-10-09 16:50:56 +08:00
pcmcia rk: revert to v4.19 2021-03-17 18:05:39 +08:00
perf perf/arm_pmu_platform: Fix error handling 2021-05-11 14:47:19 +02:00
phy phy: rockchip: mipi-rx-dphy: fix compile error 2021-09-06 19:38:30 +08:00
pinctrl mfd: rk806: Add RK806 support 2021-10-12 14:50:23 +08:00
platform Merge 5.10.42 into android12-5.10 2021-06-03 18:47:38 +02:00
pnp
power power: test_power: add testpower dts-config 2021-09-01 17:27:26 +08:00
powercap UPSTREAM: powercap/drivers/dtpm: Add the experimental label to the option description 2021-03-22 15:24:47 +00:00
pps rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ps3 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ptp ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation 2021-04-10 13:36:09 +02:00
pwm pwm: rockchip: Make pwm pinctrl setting after pwm enabled 2021-08-02 17:39:00 +08:00
rapidio rapidio: handle create_workqueue() failure 2021-05-26 12:06:52 +02:00
ras RAS/CEC: Correct ce_add_elem()'s returned values 2021-04-14 08:42:12 +02:00
regulator mfd: rk806: Add RK806 support 2021-10-12 14:50:23 +08:00
remoteproc ANDROID: rproc: Add vendor hook for recovery 2021-07-01 22:32:04 -07:00
reset rk: revert to v4.19 2021-03-17 18:05:39 +08:00
rk_nand drivers: rk_nand: fix complie error 2021-07-27 17:01:50 +08:00
rkflash drivers: rkflash: Not recheck the cache for XTX devices 2021-09-23 11:08:14 +08:00
rknpu driver: rknpu: Add rknpu driver for rk356x, version: 0.5.0 2021-08-30 15:15:28 +08:00
rpmsg Merge 5.10.38 into android12-5.10 2021-05-20 15:35:25 +02:00
rtc Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
s390 Merge 5.10.42 into android12-5.10 2021-06-03 18:47:38 +02:00
sbus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
scsi ANDROID: scsi: ufs: Make CONFIG_SCSI_UFS_HPB compatible with the GKI 2021-08-11 09:43:55 -07:00
sfi
sh
siox
slimbus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
soc soc: rockchip: cpuinfo: Export rockchip_soc_id_init() function 2021-09-10 18:39:50 +08:00
soundwire soundwire: stream: fix memory leak in stream config error path 2021-05-14 09:50:14 +02:00
spi spi: rockchip_sfc: Select ROCKCHIP_MTD_VENDOR_STORAGE 2021-10-14 15:40:04 +08:00
spmi spmi: spmi-pmic-arb: Fix hw_irq overflow 2021-03-04 11:38:40 +01:00
ssb rk: revert to v4.19 2021-03-17 18:05:39 +08:00
staging Merge remote branch 'android12-5.10-2021-08' of https://android.googlesource.com/kernel/common 2021-08-24 20:07:38 +08:00
switch
target scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found 2021-05-22 11:40:54 +02:00
tc rk: revert to v4.19 2021-03-17 18:05:39 +08:00
tee optee: use export_uuid() to copy client UUID 2021-06-10 13:39:21 +02:00
thermal Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-06-25 11:32:04 +08:00
thunderbolt thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue 2021-06-03 09:00:32 +02:00
tty serial: 8250: fix 8250_dwlib.c gki error 2021-09-27 16:53:51 +08:00
uio uio_hv_generic: Fix a memory leak in error handling paths 2021-05-26 12:06:52 +02:00
usb usb: dwc3: fix PM resume error for rockchip platforms 2021-10-14 15:34:12 +08:00
vdpa {net,vdpa}/mlx5: Configure interface MAC into mpfs L2 table 2021-06-03 09:00:36 +02:00
vfio Merge 5.10.43 into android12-5.10 2021-06-12 14:48:14 +02:00
vhost vhost-vdpa: fix vm_flags for virtqueue doorbell mapping 2021-05-11 14:47:12 +02:00
video video: rockchip: mpp: Use spinlock for queue->running_lock 2021-10-15 15:50:06 +08:00
virt nitro_enclaves: Fix stale file descriptors on failed usercopy 2021-05-11 14:47:11 +02:00
virtio ANDROID: mm: add cma allocation statistics 2021-07-14 11:54:48 -07:00
visorbus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
vlynq
vme rk: revert to v4.19 2021-03-17 18:05:39 +08:00
w1 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
watchdog rk: revert to v4.19 2021-03-17 18:05:39 +08:00
xen xen-pciback: reconfigure also from backend watch handler 2021-05-26 12:06:54 +02:00
zorro
Kconfig driver: rknpu: Add rknpu driver for rk356x, version: 0.5.0 2021-08-30 15:15:28 +08:00
Makefile driver: rknpu: Add rknpu driver for rk356x, version: 0.5.0 2021-08-30 15:15:28 +08:00