Skip to content

thermal: rcar_gen3_thermal: fix IRQ issues

Jiada Wang linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 12 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2thermal: rcar_gen3_thermal: fix interrupt typedrivers/thermal/rcar_gen3_thermal.c+6 -323 replies
2/2thermal: rcar_gen3_thermal: disable interrupt in .removedrivers/thermal/rcar_gen3_thermal.c+3 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon HormanDaniel LezcanoEugeniu RoscaNiklas Söderlund
SeriesReviewed-and-Tested-by T-b R-b
1/2R-b T-b R-b Reviewed-and-Tested-by
2/2R-b R-b Reviewed-and-Tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] thermal: rcar_gen3_thermal: fix IRQ issues

There are issues with interrupt handling in rcar_gen3_thermal driver.

Currently IRQ is remain enabled after .remove, later if device is probed, IRQ is requested before .thermal_init, this may cause IRQ function be triggered but not able to clear IRQ status, thus cause system to hang.

Since the irq line isn't shared between different devices, so the proper interrupt type flag should be IRQF_ONESHOT.

This patch-set fix these interrupt handling retated issues.

---
v4: remove 'spinlock_t lock'
add Fixes tag in ("thermal: rcar_gen3_thermal: fix interrupt type") fix typos in ("thermal: rcar_gen3_thermal: disable interrupt in .remove")

v3: fix to use correct code base
remove unused "flag" variable in rcar_gen3_thermal_irq

v2: use irq type IRQF_ONESHOT instead of IRQF_SHARED
disable interrupt in .remove

v1: initial version

Jiada Wang (2):
thermal: rcar_gen3_thermal: fix interrupt type
thermal: rcar_gen3_thermal: disable interrupt in .remove

 drivers/thermal/rcar_gen3_thermal.c | 41 +++++++----------------------
 1 file changed, 9 insertions(+), 32 deletions(-)
Signature · 1 line
2.19.2