linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about pc87413_wdt.ko
@ 2019-07-29 14:38 Mark Balantzyan
  2019-07-29 14:54 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Balantzyan @ 2019-07-29 14:38 UTC (permalink / raw)
  To: linux; +Cc: wim, linux-watchdog

Hi Guenter,

My name is Mark, we corresponded in the recent past concerning a different 
kernel module.

I would just like to ask a question about pc87413_wdt.ko. In 
pc87413_wdt.c, the function pc87413_init() calls pc87413_swc_base_addr() 
and swc_base_addr gets assigned to. But pc87413_open() calls pc87413_refresh() 
which has spinlocks around swc_base_addr. There may be a use before 
initialization, so spinlocks get in the way. Is there a case possible 
where a bug/race condition may be occurring here? Or is there a hardware 
synchronization somewhere?

Thank you,
Mark

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

end of thread, other threads:[~2019-07-29 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 14:38 Question about pc87413_wdt.ko Mark Balantzyan
2019-07-29 14:54 ` Guenter Roeck

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