Re: [PATCH v2] thermal/drivers/rcar_thermal: disable the work before masking the interrupt

From: Yaohan Li

Date: Sun Nov 22 2026 - 21:22:07 EST


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. 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.

Thanks again for offering to help test it.

Yaohan