From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Yaohan Li <shunsheng1218@gmail.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>,
Magnus Damm <magnus.damm@gmail.com>,
Eduardo Valentin <edubezval@gmail.com>,
linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] thermal/drivers/rcar_thermal: disable the work before masking the interrupt
Date: Mon, 23 Nov 2026 07:38:15 +0100 [thread overview]
Message-ID: <20261123063815.GC3898744@ragnatech.se> (raw)
In-Reply-To: <179540050658.417371.12537370024433882605@gmail.com>
Hi Yaohan,
On 2026-11-23 10:21:46 +0800, Yaohan Li wrote:
> Hi Niklas,
>
> You are right. I do not have a ready-made reproducer that exercises
> rcar_thermal_remove() on the actual driver. The 17-check test exercises
> workqueue and shared-IRQ primitives; it does not show the original driver
> failing or the patch fixing the race.
>
> I should have made that distinction clearer, rather than suggesting more
> thermal-load experiments. I will keep v3 on hold.
I think you can post v3 already, if you think it's ready. Once we can
test it or it becomes trivial we can move forward.
> If I can put together a
> test-only instrumentation patch that forces the relevant interleaving in the
> driver's removal path, I will share that for review before asking you to run
> anything on your board.
Maybe the top half of the interrupt handler can requeue itself. It will
be a infinite loop but as a hack patch to trigger the issue it would be
ok I think.
>
> Thanks again for offering to help test it.
>
> Yaohan
--
Kind Regards,
Niklas Söderlund
prev parent reply other threads:[~2026-11-23 6:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 7:23 [PATCH] thermal/drivers/rcar_thermal: wait for IRQs before cancelling work Yaohan Li
2026-11-18 9:00 ` Niklas Söderlund
2026-11-19 2:29 ` [PATCH v2] thermal/drivers/rcar_thermal: disable the work before masking the interrupt Yaohan Li
2026-11-19 6:22 ` Niklas Söderlund
2026-11-19 11:18 ` Yaohan Li
2026-11-19 16:25 ` Niklas Söderlund
2026-11-20 4:27 ` Yaohan Li
2026-11-20 7:30 ` Niklas Söderlund
2026-11-20 9:43 ` Yaohan Li
2026-11-22 14:09 ` Niklas Söderlund
2026-11-23 2:21 ` Yaohan Li
2026-11-23 6:38 ` Niklas Söderlund [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=20261123063815.GC3898744@ragnatech.se \
--to=niklas.soderlund@ragnatech.se \
--cc=daniel.lezcano@kernel.org \
--cc=edubezval@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=magnus.damm@gmail.com \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=shunsheng1218@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