mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
5f2591677561ff4c73f67e13de3d36619e55c8b3
If enable hdcp when hdmi is disabled, system will crash. Because hdmi regs can't be accessed when hdmi clk is disbaled. This patch fixes the following panic: Kernel panic - not syncing: Asynchronous SError Interrupt CPU: 7 PID: 2053 Comm: modetest Tainted: G O 6.1.75 #114 Hardware name: Rockchip RK3576 EVB1 V10 Board (DT) Call trace: dump_backtrace+0xf4/0x114 show_stack+0x18/0x24 dump_stack_lvl+0x6c/0x90 dump_stack+0x18/0x3c panic+0x14c/0x338 check_panic_on_warn+0x0/0x90 arm64_serror_panic+0x68/0x74 do_serror+0xc4/0xcc el1h_64_error_handler+0x34/0x48 el1h_64_error+0x78/0x7c regmap_mmio_read32le+0x10/0x20 _regmap_bus_reg_read+0x28/0x34 _regmap_read+0x18c/0x240 regmap_read+0x54/0x78 hdmi_readl+0x2c/0x58 dw_hdcp_qp_hdcp_start+0x10c/0x394 dw_hdmi_qp_hdcp_enable+0xd0/0x194 dw_hdmi_connector_atomic_commit+0x9c/0xc4 rockchip_drm_atomic_helper_commit_tail_rpm+0x220/0x2d8 commit_tail+0xa4/0x154 drm_atomic_helper_commit+0x1c4/0x1e4 drm_atomic_commit+0xa4/0xd0 drm_mode_obj_set_property_ioctl+0x140/0x474 drm_ioctl_kernel+0x80/0xf8 drm_ioctl+0x2d4/0x554 __arm64_sys_ioctl+0x90/0xc8 invoke_syscall+0x40/0x104 el0_svc_common+0xbc/0x168 do_el0_svc+0x1c/0x28 el0_svc+0x1c/0x68 el0t_64_sync_handler+0x68/0xb4 el0t_64_sync+0x164/0x168 Change-Id: I2ca288bf192f51ab14d1e369fe0a472e84508379 Signed-off-by: Algea Cao <algea.cao@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.
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%