Finley Xiao 82eac53250 soc: rockchip: pm_config: Add pm runtime support
Add support to power up pd for usb otg when some devices failed to suspend.
This patch fixes the following panic.

Kernel panic - not syncing: Asynchronous SError Interrupt
Call trace:
dump_backtrace+0xf4/0x118
show_stack+0x18/0x24
dump_stack_lvl+0x60/0x7c
dump_stack+0x18/0x38
panic+0x16c/0x388
nmi_panic+0xa4/0xa8
arm64_serror_panic+0x6c/0x94
do_serror+0xc4/0xd0
el1h_64_error_handler+0x34/0x48
el1h_64_error+0x68/0x6c
readl+0x0/0x8c
dwc3_core_init_for_resume+0x40/0x1f4
dwc3_resume_common+0x3c/0x25c
dwc3_resume+0x40/0x78
dpm_run_callback+0x44/0x174
__device_resume+0x1c8/0x360
dpm_resume+0x100/0x278
dpm_resume_end+0x1c/0x38
suspend_devices_and_enter+0x8a0/0xb5c
pm_suspend+0x17c/0x5ac
state_store+0x104/0x144
kobj_attr_store+0x30/0x48
sysfs_kf_write+0x54/0x6c
kernfs_fop_write_iter+0x104/0x1a4
vfs_write+0x1e0/0x2c8
ksys_write+0x78/0xe8
__arm64_sys_write+0x1c/0x2c
invoke_syscall+0x58/0x11c
el0_svc_common+0xb4/0xf4
do_el0_svc+0x2c/0xb0
el0_svc+0x2c/0xa4
el0t_64_sync_handler+0x68/0xb4
el0t_64_sync+0x1a4/0x1a8

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I4b548c04feb009063e8aaa05865ec4e4ff23cb72
2024-05-28 20:01:28 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2024-05-08 11:14:32 +08:00
2022-09-28 09:02:20 +02:00
2019-08-29 19:45:37 +08:00
2019-08-29 19:45:37 +08:00
2024-01-25 15:27:52 -08: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%