From: Qian Cai <cai@lca.pw>
To: Tri Vo <trong@android.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Stephen Boyd <swboyd@chromium.org>,
rafael@kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings
Date: Tue, 13 Aug 2019 17:32:56 -0400 [thread overview]
Message-ID: <1565731976.8572.16.camel@lca.pw> (raw)
The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1]
introduced some baddies during boot on several x86 servers. Reverted the commit
fixed the issue.
[1] https://lore.kernel.org/lkml/20190807014846.143949-4-trong@android.com/
[ 39.195053][ T1] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 39.197347][ T1] kobject_add_internal failed for wakeup (error: -2 parent:
serio0)
[ 39.199845][ T1] INFO: trying to register non-static key.
[ 39.201582][ T1] the code is fine but needs lockdep annotation.
[ 39.203477][ T1] turning off the locking correctness validator.
[ 39.205399][ T1] CPU: 12 PID: 1 Comm: swapper/0 Not tainted 5.3.0-rc4-
next-20190813 #3
[ 39.207938][ T1] Hardware name: HP ProLiant XL420 Gen9/ProLiant XL420
Gen9, BIOS U19 12/27/2015
[ 39.210606][ T1] Call Trace:
[ 39.210606][ T1] dump_stack+0x62/0x9a
[ 39.210606][ T1] register_lock_class+0x95a/0x960
[ 39.210606][ T1] ? __platform_driver_probe+0xcd/0x230
[ 39.210606][ T1] ? __platform_create_bundle+0xc0/0xe0
[ 39.210606][ T1] ? i8042_init+0x4ec/0x578
[ 39.210606][ T1] ? do_one_initcall+0xfe/0x45a
[ 39.219571][ T1] ? kernel_init_freeable+0x614/0x6a7
[ 39.219571][ T1] ? kernel_init+0x11/0x138
[ 39.219571][ T1] ? ret_from_fork+0x35/0x40
[ 39.219571][ T1] ? is_dynamic_key+0xf0/0xf0
[ 39.219571][ T1] ? rwlock_bug.part.0+0x60/0x60
[ 39.219571][ T1] ? __debug_check_no_obj_freed+0x8e/0x250
[ 39.219571][ T1] __lock_acquire.isra.13+0x5f/0x830
[ 39.229491][ T1] ? __debug_check_no_obj_freed+0x152/0x250
[ 39.229491][ T1] lock_acquire+0x107/0x220
[ 39.229491][ T1] ? __pm_relax.part.2+0x21/0xa0
[ 39.229491][ T1] _raw_spin_lock_irqsave+0x35/0x50
[ 39.229491][ T1] ? __pm_relax.part.2+0x21/0xa0
[ 39.229491][ T1] __pm_relax.part.2+0x21/0xa0
[ 39.239588][ T1] wakeup_source_destroy.part.3+0x18/0x190
[ 39.239588][ T1] wakeup_source_register+0x43/0x50
[ 39.239588][ T1] device_wakeup_enable+0x76/0x170
[ 39.239588][ T1] device_set_wakeup_enable+0x13/0x20
[ 39.239588][ T1] i80probe+0x921/0xa45
[ 39.339546][ T1] ? i8042_toggle_aux+0xeb/0xeb
[ 39.349486][ T1] ? kernfs_create_link+0xce/0x100
[ 39.349486][ T1] ? sysfs_do_create_link_sd+0x7b/0xe0
[ 39.349486][ T1] ? acpi_dev_pm_attach+0x31/0xf0
[ 39.349486][ T1] platform_drv_probe+0x51/0xe0
[ 39.349486][ T1] really_probe+0x1a2/0x630
[ 39.349486][ T1] ? device_driver_attach+0xa0/0xa0
[ 39.349486][ T1] driver_probe_device+0xcd/0x1f0
[ 39.359562][ T1] ? device_driver_attach+0xa0/0xa0
[ 39.359562][ T1] device_driver_attach+0x8f/0xa0
[ 39.359562][ T1] __driver_attach+0xc7/0x1a0
[ 39.359562][ T1] bus_for_each_dev+0xfe/0x160
[ 39.359562][ T1] ? subsys_dev_iter_init+0x80/0x80
[ 39.359562][ T1] ? __kasan_check_read+0x11/0x20
[ 39.359562][ T1] ? _raw_spin_unlock+0x27/0x40
[ 39.369488][ T1] driver_attach+0x2b/0x30
[ 39.369488][ T1] bus_add_driver+0x298/0x350
[ 39.369488][ T1] driver_register+0xdc/0x1d0
[ 39.369488][ T1] ? i8042_toggle_aux+0xeb/0xeb
[ 39.369488][ T1] __platform_driver_probe+0xcd/0x230
[ 39.3 __platform_create_bundle+0xc0/0xe0
[ 39.769489][ T1] ? i8042_toggle_aux+0xeb/0xeb
[ 39.779556][ T1] ? i8042_probe+0xa45/0xa45
[ 39.779556][ T1] i8042_init+0x4ec/0x578
[ 39.779556][ T1] ? i8042_probe+0xa45/0xa45
[ 39.779556][ T1] ? netdev_run_todo+0x2f/0x4a0
[ 39.779556][ T1] ? qdisc_create_dflt+0xf0/0xf0
[ 39.779556][ T1] ? net_olddevs_init+0x67/0x67
[ 39.779556][ T1] ? i8042_probe+0xa45/0xa45
[ 39.789486][ T1] do_one_initcall+0xfe/0x45a
[ 39.789486][ T1] ? initcall_blacklisted+0x150/0x150
[ 39.789486][ T1] ? __kasan_check_write+0x14/0x20
[ 39.789486][ T1] ? up_write+0xee/0x2a0
[ 39.789486][ T1] kernel_init_freeable+0x614/0x6a7
[ 39.789486][ T1] ? rest_init+0x188/0x188
[ 39.789486][ T1] kernel_init+0x11/0x138
[ 39.799563][ T1] ? rest_init+0x188/0x188
[ 39.799563][ T1] ret_from_fork+0x35/0x40
[ 39.803412][ T1] serio: i8042 AUX port at 0x60,0x64 irq 12
next reply other threads:[~2019-08-13 21:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-13 21:32 Qian Cai [this message]
2019-08-13 22:35 ` "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings Stephen Boyd
2019-08-13 23:04 ` Tri Vo
2019-08-13 23:10 ` Rafael J. Wysocki
2019-08-14 13:18 ` Qian Cai
2019-08-14 0:35 ` Stephen Boyd
2019-08-14 7:03 ` Stephen Boyd
2019-08-14 8:40 ` Tony Lindgren
2019-08-14 18:37 ` Tri Vo
2019-08-16 12:17 ` Rafael J. Wysocki
2019-08-16 14:19 ` Stephen Boyd
2019-08-19 9:33 ` Rafael J. Wysocki
2019-08-14 15:19 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1565731976.8572.16.camel@lca.pw \
--to=cai@lca.pw \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
--cc=swboyd@chromium.org \
--cc=trong@android.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).