mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
02e1d7f4187443f374f4079cec63238ac75c56ee
cpufreq_interactive_idle_end() may modify slack timer before the timer is started, so hold the icpu->enable_sem lock when start slack timer to avoid cpufreq_interactive_idle_end() modify the slack timer. [ 3.661627] Call trace: [ 3.664080] add_timer_on+0x1f8/0x200 [ 3.667744] slack_timer_resched+0x9c/0xf8 [ 3.671850] cpufreq_interactive_start+0xa8/0x140 [ 3.676560] cpufreq_start_governor+0x4c/0x98 [ 3.680921] cpufreq_set_policy+0x274/0x290 [ 3.685112] cpufreq_init_policy+0x6c/0xc0 [ 3.689219] cpufreq_online+0x510/0x6a8 [ 3.693062] cpufreq_add_dev+0x78/0x88 [ 3.696822] subsys_interface_register+0xb4/0x128 [ 3.701530] cpufreq_register_driver+0x168/0x1e8 [ 3.706153] dt_cpufreq_probe+0xb0/0x150 [ 3.710081] platform_drv_probe+0x50/0xa8 [ 3.714092] really_probe+0x1f8/0x298 [ 3.717755] driver_probe_device+0x58/0x100 [ 3.721946] __device_attach_driver+0x90/0xe0 [ 3.726304] bus_for_each_drv+0x70/0xc8 [ 3.730146] __device_attach+0xdc/0x138 [ 3.733988] device_initial_probe+0x10/0x18 [ 3.738178] bus_probe_device+0x94/0xa0 [ 3.742023] device_add+0x5e0/0x6d0 [ 3.745519] platform_device_add+0x10c/0x258 [ 3.749795] platform_device_register_full+0x100/0x130 [ 3.754939] rockchip_cpufreq_driver_init+0x30c/0x3c0 [ 3.759996] do_one_initcall+0x48/0x240 [ 3.763841] kernel_init_freeable+0x210/0x37c [ 3.768203] kernel_init+0x10/0x108 [ 3.771698] ret_from_fork+0x10/0x18 Change-Id: Ie5d67721def448b7bbf9e3b9a6d60341eb0b8a0b Signed-off-by: Liang Chen <cl@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%