<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/watchdog/softdog.c, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-07-17T18:54:52Z</updated>
<entry>
<title>watchdog: softdog: improve coding style</title>
<updated>2016-07-17T18:54:52Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a23e2bf032fdceecef1ab314c7f84d9c2050490'/>
<id>urn:sha1:4a23e2bf032fdceecef1ab314c7f84d9c2050490</id>
<content type='text'>
Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: drop superfluous set_timeout callback</title>
<updated>2016-07-17T18:54:49Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61a21274c9eee5a3adb85441a91a071de4260863'/>
<id>urn:sha1:61a21274c9eee5a3adb85441a91a071de4260863</id>
<content type='text'>
If we leave set_timeout empty, the core will do exactly what is
implemented here anyway.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: sort includes to avoid duplicates</title>
<updated>2016-07-17T18:54:45Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e65c5825c6ef850a26cd449157024bad6e2eec9c'/>
<id>urn:sha1:e65c5825c6ef850a26cd449157024bad6e2eec9c</id>
<content type='text'>
Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: remove forward declaration</title>
<updated>2016-07-17T18:54:42Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44ba0f04af44d7f3a157ee655bdfc53660d8faf9'/>
<id>urn:sha1:44ba0f04af44d7f3a157ee655bdfc53660d8faf9</id>
<content type='text'>
Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: consistently use softdog_ prefix</title>
<updated>2016-07-17T18:54:38Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0efc70b8238dc6d26289b501f126798b9d0da601'/>
<id>urn:sha1:0efc70b8238dc6d26289b501f126798b9d0da601</id>
<content type='text'>
And move module_init/exit to the proper place while here.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: use watchdog core to init timeout value</title>
<updated>2016-07-17T18:54:34Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8cf96abba977b6d66bfc2bbc5248a924c9edaec'/>
<id>urn:sha1:e8cf96abba977b6d66bfc2bbc5248a924c9edaec</id>
<content type='text'>
Error string and comment say we fall back to a default, but in reality
we bailed out. Refactor the code to use the core helper which then
matches the described behaviour. While updating the init message anyhow,
shorten it while we are here; no need for versioning there as well and
the name is already given via pr_fmt.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: remove obsolete comments</title>
<updated>2016-07-17T18:54:31Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-05-25T06:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c963ba0e0bacfb13c41d3334630ff67044ac159'/>
<id>urn:sha1:9c963ba0e0bacfb13c41d3334630ff67044ac159</id>
<content type='text'>
The history is obsolete, especially since we switched to watchdog
framework. The section markers also don't make sense anymore given
the small size of the driver.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: refuse to unload softdog module when its timer is running</title>
<updated>2015-12-27T20:02:21Z</updated>
<author>
<name>Li RongQing</name>
</author>
<published>2015-12-17T13:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5889f06bd31d542766046faa6b17d957c08e1484'/>
<id>urn:sha1:5889f06bd31d542766046faa6b17d957c08e1484</id>
<content type='text'>
the softdog has static variables which are accessed if its timer is
still running after the driver is unloaded. and lead to crash:

   $modprobe softdog
   $echo 1 &gt;/dev/watchdog
   $modprobe -r softdog

   CPU 20 Unable to handle kernel paging request at virtual address
   Oops[#1]:
   CPU: 20 PID: 0 Comm: swapper/20 Not tainted 4.1.13-WR8.0.0.0_standard
   ...
   Modules linked in: [last unloaded: softdog]
    ....
   Call Trace:
   [&lt;ffffffff801e142c&gt;] cascade+0x34/0xb0
   [&lt;ffffffff801e1964&gt;] run_timer_softirq+0x30c/0x368
   [&lt;ffffffff80181044&gt;] __do_softirq+0x1ec/0x418
   [&lt;ffffffff801815d0&gt;] irq_exit+0x90/0x98
   [&lt;ffffffff8010749c&gt;] plat_irq_dispatch+0xa4/0x140
   [&lt;ffffffff80152740&gt;] ret_from_irq+0x0/0x4
   [&lt;ffffffff801529e0&gt;] __r4k_wait+0x20/0x40
   [&lt;ffffffff801c2278&gt;] cpu_startup_entry+0x2a0/0x368
   [&lt;ffffffff8015fa64&gt;] start_secondary+0x444/0x4d8

add the module ref when timer is running to avoid to unload the softdog
module

Signed-off-by: Li RongQing &lt;roy.qing.li@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: softdog: use core reboot notifier</title>
<updated>2015-12-13T14:56:06Z</updated>
<author>
<name>Damien Riegel</name>
</author>
<published>2015-11-20T21:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84ebcc17f281ed6ce1e6a7b4b0d9f15da727edd5'/>
<id>urn:sha1:84ebcc17f281ed6ce1e6a7b4b0d9f15da727edd5</id>
<content type='text'>
Get rid of the custom reboot notifier block registration and use the one
provided by the watchdog core.

Signed-off-by: Damien Riegel &lt;damien.riegel@savoirfairelinux.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Reviewed-by: Vivien Didelot &lt;vivien.didelot@savoirlinux.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>watchdog: fix checkpatch warnings and error</title>
<updated>2014-03-31T11:31:06Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2014-02-27T05:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f5e19093b2fa592720810154f15ffe51aa9277f'/>
<id>urn:sha1:5f5e19093b2fa592720810154f15ffe51aa9277f</id>
<content type='text'>
Fix the following checkpatch warnings and error:
  WARNING: quoted string split across lines
  WARNING: braces {} are not necessary for single statement blocks
  WARNING: __initdata should be placed after ibmasr_id_table[]
  WARNING: please, no space before tabs
  ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
</feed>
