LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/2] thermal: rcar: Fix crash and restore symmetry
@ 2015-02-04 12:22 Geert Uytterhoeven
  2015-02-04 12:22 ` [PATCH 1/2] thermal: rcar: Fix race condition between init and interrupt Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-02-04 12:22 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin
  Cc: Kuninori Morimoto, linux-pm, linux-shvger.kernel.org,
	linux-kernel, Geert Uytterhoeven

	Hi,

This series fixes an intermittent crash (NULL pointer dereference) in
the rcar-thermal driver due to a race condition, and restores symmetry
in the error and remove paths.

So far I could trigger the race condition only on r8a73a4, and only
after a soft power-on reset using the rmobile-reset driver, which is
queued for v3.20. I could not trigger it on r8a7791.
I haven't tested this on any other r8a779x, or on r8a7779.
Hence I'm not sure it's worthwhile adding this to -stable yet.

This was tested on r8a73a4/ape6evm (fixes the crash) and
r8a7791/koelsch (crash not seen).

Thanks!

Geert Uytterhoeven (2):
  thermal: rcar: Fix race condition between init and interrupt
  thermal: rcar: Restore symmetry in error and remove paths

 drivers/thermal/rcar_thermal.c | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-05  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 12:22 [PATCH 0/2] thermal: rcar: Fix crash and restore symmetry Geert Uytterhoeven
2015-02-04 12:22 ` [PATCH 1/2] thermal: rcar: Fix race condition between init and interrupt Geert Uytterhoeven
2015-02-04 12:22 ` [PATCH 2/2] thermal: rcar: Restore symmetry in error and remove paths Geert Uytterhoeven
2015-02-05  0:16 ` [PATCH 0/2] thermal: rcar: Fix crash and restore symmetry Kuninori Morimoto

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