From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Jiayi Zhang <zhangjiayi1014@gmail.com>
Cc: Johan Hovold <johan@kernel.org>, Alex Elder <elder@kernel.org>,
Rui Miguel Silva <rui.silva@linaro.org>,
Farhad Alemi <farhad.alemi@berkeley.edu>,
greybus-dev@lists.linaro.org, linux-kernel@vger.kernel.org,
syzbot+e6bea924b5ee24f7cb98@syzkaller.appspotmail.com,
syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] greybus: svc_watchdog: initialize reset_work only once
Date: Fri, 27 Nov 2026 09:01:56 +0100 [thread overview]
Message-ID: <2026112758-rosy-elastic-d3d7@gregkh> (raw)
In-Reply-To: <20261127075243.3413794-1-zhangjiayi1014@gmail.com>
On Fri, Nov 27, 2026 at 07:52:43AM +0000, Jiayi Zhang wrote:
> reset_work is a file-scope delayed work shared by all SVC watchdogs, but
> do_work() calls INIT_DELAYED_WORK() on it every time a ping fails, right
> before scheduling it to run half a second later. With two host devices,
> the watchdog of the second SVC can see its ping fail while the work
> scheduled by the first one is still pending. INIT_DELAYED_WORK() then
> reinitializes a timer that is still enqueued, and debugobjects reports:
>
> greybus 1-svc: Resetting the greybus network, watch out!!!
> greybus 2-svc: Resetting the greybus network, watch out!!!
> ODEBUG: init active (active state 0) object: ffffffff9bda1f68 object type: timer_list hint: greybus_reset+0x0/0x50
> WARNING: lib/debugobjects.c:629 at debug_print_object+0x198/0x2b0
> Workqueue: events do_work
> Call Trace:
> __debug_object_init
> timer_init_key
> do_work drivers/greybus/svc_watchdog.c:92
> process_one_work
Cool, how are you running this? What fake devices do you have where you
have two svc hosts?
thanks,
greg k-h
prev parent reply other threads:[~2026-11-27 8:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 7:52 Jiayi Zhang
2026-11-27 8:01 ` Greg Kroah-Hartman [this message]
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=2026112758-rosy-elastic-d3d7@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=elder@kernel.org \
--cc=farhad.alemi@berkeley.edu \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rui.silva@linaro.org \
--cc=syzbot+e6bea924b5ee24f7cb98@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=zhangjiayi1014@gmail.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
all inboxes | Powered by JetHome®