mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
fd69926be3b0864e5c56e0da2db718efd39b07e9
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>
…
…
…
…
…
…
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%