Algea Cao e34d4bd738 drm/rockchip: vop2: Fix crash caused by rk3588 accessing sharp register
[    7.197123][   T81] Unable to handle kernel NULL pointer dereference
at virtual address 0000000000000000
[    7.204067][   T81] Mem abort info:
[    7.204376][   T81]   ESR = 0x0000000096000045
[    7.204854][   T81]   EC = 0x25: DABT (current EL), IL = 32 bits
[    7.205391][   T81]   SET = 0, FnV = 0
[    7.205746][   T81]   EA = 0, S1PTW = 0
[    7.206123][   T81]   FSC = 0x05: level 1 translation fault
[    7.206628][   T81] Data abort info:
[    7.206969][   T81]   ISV = 0, ISS = 0x00000045
[    7.207387][   T81]   CM = 0, WnR = 1
[    7.207742][   T81] [0000000000000000] user address but active_mm is
swapper
[    7.208407][   T81] Internal error: Oops: 0000000096000045 [#1]
PREEMPT SMP
[    7.209028][   T81] Modules linked in:
[    7.209368][   T81] CPU: 1 PID: 81 Comm: kworker/u16:2 Not tainted
6.1.57 #18
[    7.209998][   T81] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board
(DT)
[    7.210604][   T81] Workqueue: events_unbound
deferred_probe_work_func
[    7.211197][   T81] pstate: 40400009 (nZcv daif +PAN -UAO -TCO -DIT
-SSBS BTYPE=--)
[    7.211872][   T81] pc : vop2_crtc_atomic_flush+0x2748/0x3c24
[    7.212384][   T81] lr : vop2_crtc_atomic_flush+0x2d88/0x3c24
[    7.212891][   T81] sp : ffffffc00acc3630
[    7.213245][   T81] x29: ffffffc00acc36a0 x28: ffffff81029b5528 x27:
ffffff81029b0040
[    7.213943][   T81] x26: ffffff8101288f00 x25: 0000000000000003 x24:
ffffff81029b0040
[    7.214640][   T81] x23: ffffff81029b4060 x22: ffffffc0095b8d00 x21:
ffffff81029b0040
[    7.215337][   T81] x20: ffffff810141e400 x19: ffffff81029b39a0 x18:
ffffffc00ac9d0c8
[    7.216034][   T81] x17: 0000000000000032 x16: 000000000000000c x15:
0000000000000080
[    7.216731][   T81] x14: 0000000000000000 x13: 0000000000000150 x12:
0000000029aaaaab
[    7.217427][   T81] x11: 0000000000000000 x10: 0000000000000000 x9 :
0000000000000001
[    7.218123][   T81] x8 : 0000000000000000 x7 : 000000000000028e x6 :
000000000000010e
[    7.218819][   T81] x5 : 000000000000028e x4 : ffffffc009a7aad4 x3 :
ffffff8101288300
[    7.219515][   T81] x2 : 0000000000000000 x1 : ffffff81015e8000 x0 :
0000000000000000
[    7.220213][   T81] Call trace:
[    7.220504][   T81]  vop2_crtc_atomic_flush+0x2748/0x3c24
[    7.220991][   T81]  drm_atomic_helper_commit_planes+0x180/0x1e0
[    7.221525][   T81]
rockchip_drm_atomic_helper_commit_tail_rpm+0x1b4/0x26c
[    7.222147][   T81]  commit_tail+0xa4/0x154
[    7.222526][   T81]  drm_atomic_helper_commit+0x1c4/0x1e4
[    7.223013][   T81]  drm_atomic_commit+0xa4/0xd0
[    7.223427][   T81]  rockchip_drm_show_logo+0x19e0/0x1d08
[    7.223914][   T81]  rockchip_drm_bind+0x1e8/0x298
[    7.224347][   T81]  try_to_bring_up_aggregate_device+0x168/0x1b4
[    7.224892][   T81]  __component_add+0xd0/0x17c
[    7.225302][   T81]  component_add+0x14/0x20
[    7.225690][   T81]  dw_dp_probe+0x6b0/0x700
[    7.226082][   T81]  platform_probe+0xa8/0xd0
[    7.226474][   T81]  really_probe+0x174/0x350
[    7.226862][   T81]  __driver_probe_device+0xa0/0x128
[    7.227315][   T81]  driver_probe_device+0x44/0x210
[    7.227747][   T81]  __device_attach_driver+0x12c/0x154
[    7.228211][   T81]  bus_for_each_drv+0x84/0xd0
[    7.228623][   T81]  __device_attach+0xf0/0x170
[    7.229033][   T81]  device_initial_probe+0x14/0x20
[    7.229465][   T81]  bus_probe_device+0x34/0x98
[    7.229876][   T81]  deferred_probe_work_func+0x7c/0xd8
[    7.230340][   T81]  process_one_work+0x1a8/0x3b8
[    7.230765][   T81]  worker_thread+0x300/0x430
[    7.231164][   T81]  kthread+0xec/0x1b8
[    7.231512][   T81]  ret_from_fork+0x10/0x20

Fixes: 9a8d044b07 ("drm/rockchip: vop2: Optimize sharp processe")
Change-Id: I55d3384066ca8e19302f874bf428c94158d6f867
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-03-07 16:01:04 +08:00
2024-01-02 14:38:47 +08:00
2024-01-02 14:38:47 +08:00
2024-01-02 14:38:47 +08:00
2023-10-10 22:00:46 +02:00

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.

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
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%