From: Stanislaw Gruszka <stf_xl@wp.pl>
To: Kalle Valo <kvalo@kernel.org>
Cc: Shiji Yang <yangshiji66@outlook.com>,
helmut.schaa@googlemail.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] wifi: rt2x00: fix rt2800 watchdog function
Date: Thu, 19 Oct 2023 19:53:28 +0200 [thread overview]
Message-ID: <20231019175328.GA512047@wp.pl> (raw)
In-Reply-To: <87h6mm20vl.fsf@kernel.org>
On Thu, Oct 19, 2023 at 04:33:02PM +0300, Kalle Valo wrote:
> Shiji Yang <yangshiji66@outlook.com> writes:
>
> > On Thu, 19 Oct 2023 07:00:30 +0000, Kalle Valo wrote:
> >
> >>Shiji Yang <yangshiji66@outlook.com> wrote:
> >>
> >>> The watchdog function is broken on rt2800 series SoCs. This patch
> >>> fixes the incorrect watchdog logic to make it work again.
> >>>
> >>> 1. Update current wdt queue index if it's not equal to the previous
> >>> index. Watchdog compares the current and previous queue index to
> >>> judge if the queue hung.
> >>> 2. Make sure hung_{rx,tx} 'true' status won't be override by the
> >>> normal queue. Any queue hangs should trigger a reset action.
> >>> 3. Clear the watchdog counter of all queues before resetting the
> >>> hardware. This change may help to avoid the reset loop.
> >>> 4. Change hang check function return type to bool as we only need
> >>> to return two status, yes or no.
> >>>
> >>> Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
> >>Is this patch ok to take?
> >
> >
> > Hi! I think it's ready. I've been testing it for a few weeks.
>
> That question was more towards maintainers Stanislaw, Helmut and other
> reviewers :)
>
> That reminds me, is Helmut still maintaining this driver? I haven't seen
> an ack from him since 2016. As we nowadays try to keep the MAINTAINERS
> up-to-date so should we remove him?
Yeah, feel free to remove him. I can post a patch if needed.
Regards
Stanislaw
next prev parent reply other threads:[~2023-10-19 17:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-14 6:55 [PATCH] wifi: rt2x00: fix rt2800 watchdog function Shiji Yang
2023-10-19 7:00 ` Kalle Valo
2023-10-19 12:05 ` Shiji Yang
2023-10-19 13:33 ` Kalle Valo
2023-10-19 17:53 ` Stanislaw Gruszka [this message]
2023-10-19 18:47 ` Kalle Valo
2023-10-23 17:26 ` Kalle Valo
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=20231019175328.GA512047@wp.pl \
--to=stf_xl@wp.pl \
--cc=helmut.schaa@googlemail.com \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=yangshiji66@outlook.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).