[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130211085220.GA10857@localhost>
Date: Mon, 11 Feb 2013 16:52:20 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: cpufreq@...r.kernel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [cpufreq] WARNING: at kernel/lockdep.c:2739 lockdep_trace_alloc()
Greetings,
I got the below oops and the first bad commit is
commit 50f6802f8dccb7bbad29010e57973d46b7e7a07e
Author: Viresh Kumar <viresh.kumar@...aro.org>
Date: Thu Feb 7 10:55:00 2013 +0530
cpufreq: Fix locking issues
cpufreq core uses two locks:
- cpufreq_driver_lock: General lock for driver and cpufreq_cpu_data array.
- cpu_policy_rwsemfix locking: per CPU reader-writer semaphore designed to cure
all cpufreq/hotplug/workqueue/etc related lock issues.
These locks were not used properly and are placed against their principle
(present before their definition) at various places. This patch is an attempt to
fix their use.
Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
[ 6.044403] rtc-test rtc-test.0: setting system clock to 2013-02-07 11:47:49 UTC (1360237669)
[ 6.047576] ------------[ cut here ]------------
[ 6.048253] WARNING: at /c/kernel-tests/src/stable/kernel/lockdep.c:2739 lockdep_trace_alloc+0x8b/0xbd()
[ 6.048253] Hardware name: Bochs
[ 6.048253] Modules linked in:
[ 6.048253] Pid: 1, comm: swapper/0 Not tainted 3.8.0-rc6-wl-02913-gc12e277 #56
[ 6.048253] Call Trace:
[ 6.048253] [<ffffffff81035360>] warn_slowpath_common+0x83/0x9e
[ 6.048253] [<ffffffff81035395>] warn_slowpath_null+0x1a/0x1c
[ 6.048253] [<ffffffff8108ada4>] lockdep_trace_alloc+0x8b/0xbd
[ 6.048253] [<ffffffff816c35e3>] ? acpi_cpufreq_cpu_init+0x90/0x4e5
[ 6.048253] [<ffffffff8111407c>] kmem_cache_alloc_trace+0x37/0x150
[ 6.048253] [<ffffffff816c35e3>] ? acpi_cpufreq_cpu_init+0x90/0x4e5
[ 6.048253] [<ffffffff816c35e3>] acpi_cpufreq_cpu_init+0x90/0x4e5
[ 6.048253] [<ffffffff817fb6ea>] ? _raw_spin_lock_irqsave+0x8a/0x98
[ 6.048253] [<ffffffff816bfca0>] ? cpufreq_add_dev+0x361/0x514
[ 6.048253] [<ffffffff816bfcab>] cpufreq_add_dev+0x36c/0x514
[ 6.048253] [<ffffffff813e3e0b>] subsys_interface_register+0x8f/0xd0
[ 6.048253] [<ffffffff81f2a00e>] ? cpufreq_gov_dbs_init+0x2c/0x2c
[ 6.048253] [<ffffffff816bee05>] cpufreq_register_driver+0xa6/0x185
[ 6.048253] [<ffffffff81f2a00e>] ? cpufreq_gov_dbs_init+0x2c/0x2c
[ 6.048253] [<ffffffff81f2a0fd>] acpi_cpufreq_init+0xef/0x209
[ 6.048253] [<ffffffff8100023c>] do_one_initcall+0x7f/0x13f
[ 6.048253] [<ffffffff81ef4c74>] kernel_init_freeable+0x13c/0x1c6
[ 6.048253] [<ffffffff81ef4570>] ? do_early_param+0x8d/0x8d
[ 6.048253] [<ffffffff817db41f>] ? rest_init+0xd3/0xd3
[ 6.048253] [<ffffffff817db42d>] kernel_init+0xe/0xd1
[ 6.048253] [<ffffffff8180362c>] ret_from_fork+0x7c/0xb0
[ 6.048253] [<ffffffff817db41f>] ? rest_init+0xd3/0xd3
[ 6.048253] ---[ end trace 46e00c85752106c8 ]---
git bisect start c12e277df64bd6308dcc3d19b66f580d5698b3b2 1589a3e7777631ff56dd58cd7dcdf275185e62b5 --
git bisect good 6e514da01f0051adfba9101c7207d75e4aba1528 # 10 2013-02-08 15:00:33 Merge remote-tracking branch 'iio/togreg' into devel-hourly-2013-02-07-18
git bisect good 27e16cc19988b574f184dac9218e532d98d28672 # 10 2013-02-08 17:40:46 Merge remote-tracking branch 'wireless-testing/master' into devel-hourly-2013-02-07-18
git bisect good 3c23012023af2ad7b358701b0324a44fdb8b9e24 # 10 2013-02-08 20:21:32 Merge remote-tracking branch 'wireless/for-davem' into devel-hourly-2013-02-07-18
git bisect good e56358cceeb1d7555e8a9892353a4d741073b97f # 10 2013-02-08 23:02:02 Merge remote-tracking branch 'drm/qxl-kms-test' into devel-hourly-2013-02-07-18
git bisect good eda419d0b6265beb82ac7097ad33ee5f51e6b2b2 # 10 2013-02-09 01:42:38 Merge remote-tracking branch 'nfc-next/master' into devel-hourly-2013-02-07-18
git bisect good 647e2bcc220968dd9a305d547cf9ac1287e5c60d # 10 2013-02-09 04:23:02 Merge remote-tracking branch 'jonhunter/fixes-gpmc' into devel-hourly-2013-02-07-18
git bisect good 424d3c7aea32f97f31aeda29a37ccdc7a7a4ac3c # 10 2013-02-09 07:03:45 mmc: omap_hsmmc: add generic DMA request support to the DT binding
git bisect good 6f64785c3307c1b8c9c870554cc8e23ced256e62 # 10 2013-02-09 09:44:13 Merge remote-tracking branch 'drm/fbcon-locking-fixes' into devel-hourly-2013-02-07-18
git bisect bad d2ff0345612576da81b226f376d86c6a5b5927ae # 0 2013-02-09 09:59:33 Merge remote-tracking branch 'vireshk/for-rafael' into devel-hourly-2013-02-07-18
git bisect good eb7c28865762189a6b741550d4664c667ecbc24b # 10 2013-02-09 11:22:48 cpufreq: Remove unused HOTPLUG_CPU code
git bisect bad 50f6802f8dccb7bbad29010e57973d46b7e7a07e # 0 2013-02-09 12:43:12 cpufreq: Fix locking issues
git bisect good 7b681ffe08aa44d93a81297c1fb6f7702c9c9b2b # 10 2013-02-09 14:05:33 cpufreq: Create a macro for unlock_policy_rwsem{read,write}
git bisect good 7b681ffe08aa44d93a81297c1fb6f7702c9c9b2b # 30 2013-02-09 18:06:01 cpufreq: Create a macro for unlock_policy_rwsem{read,write}
git bisect good 164708bec016c6ceb76a2bb2e29b086bf0ad4e37 # 30 2013-02-09 23:27:35 Add linux-next specific files for 20130204
Thanks,
Fengguang
View attachment "dmesg-kvm-bens-3461-2013-02-07-19-47-53-3.8.0-rc6-wl-02913-gc12e277-56" of type "text/plain" (51416 bytes)
View attachment "c12e277-bisect.log" of type "text/plain" (11865 bytes)
View attachment ".config-bisect" of type "text/plain" (79244 bytes)
Powered by blists - more mailing lists