<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/watchdog, branch v4.4</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=v4.4</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=v4.4'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2015-11-23T08:00:09+00:00</updated>
<entry>
<title>watchdog: mtk_wdt: Use MODE_KEY when stopping the watchdog</title>
<updated>2015-11-23T08:00:09+00:00</updated>
<author>
<name>Nicolas Boichat</name>
<email>drinkcat@chromium.org</email>
</author>
<published>2015-11-18T02:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=5da2bf1ac8fbe701a138efb340b9f2ef26c10ed7'/>
<id>urn:sha1:5da2bf1ac8fbe701a138efb340b9f2ef26c10ed7</id>
<content type='text'>
WDT_MODE value need to be or-ed with MODE_KEY when setting
watchdog mode. Add it to mtk_wdt_stop function, so that the
watchdog can be stopped (e.g. during suspend).

Signed-off-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Acked-by: Matthias Brugger &lt;matthias.bgg@gmail.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>
<entry>
<title>watchdog: Add support for Freescale Layerscape platforms</title>
<updated>2015-11-23T08:00:03+00:00</updated>
<author>
<name>Shaohui Xie</name>
<email>Shaohui.Xie@freescale.com</email>
</author>
<published>2015-11-17T09:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=646251a59c73253a7a2c7b1d6adbedd2292390a0'/>
<id>urn:sha1:646251a59c73253a7a2c7b1d6adbedd2292390a0</id>
<content type='text'>
Modify watchdog/Kconfig file to support Layerscape platforms.

Signed-off-by: Shaohui Xie &lt;Shaohui.Xie@freescale.com&gt;
Signed-off-by: Hou Zhiqiang &lt;B48286@freescale.com&gt;
Acked-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: tegra: Stop watchdog first if restarting</title>
<updated>2015-11-23T07:59:45+00:00</updated>
<author>
<name>Andrew Chew</name>
<email>achew@nvidia.com</email>
</author>
<published>2015-11-10T00:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=0879eee13f9cf79793ce88fb41bf0dd2a51093c0'/>
<id>urn:sha1:0879eee13f9cf79793ce88fb41bf0dd2a51093c0</id>
<content type='text'>
If we need to restart the watchdog due to someone changing the timeout
interval, stop the watchdog before restarting it.  Otherwise, the new
timeout doesn't seem to take.

Signed-off-by: Andrew Chew &lt;achew@nvidia.com&gt;
Reviewed-by: Thierry Reding &lt;treding@nvidia.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>
<entry>
<title>watchdog: w83977f_wdt: underflow in wdt_set_timeout()</title>
<updated>2015-11-23T07:59:30+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-11-06T09:56:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=62ed853c7de7a77bdf01421fb6836269c9b1aa1f'/>
<id>urn:sha1:62ed853c7de7a77bdf01421fb6836269c9b1aa1f</id>
<content type='text'>
"t" is controlled by the user.  If "t" is a very large integer then it
could lead to a negative "tmrval".  We cap the upper bound of "tmrval"
but, in the current code, we allow negatives.  This is a bug and it
causes a static checker warning.  Let's make "tmrval" unsigned to avoid
this problem.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.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>
<entry>
<title>watchdog: pnx4008: make global wdt_clk static</title>
<updated>2015-11-23T07:59:07+00:00</updated>
<author>
<name>Vladimir Zapolskiy</name>
<email>vz@mleia.com</email>
</author>
<published>2015-10-28T00:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=4c30737ce16612b0f3b840a7c9928385cbb67555'/>
<id>urn:sha1:4c30737ce16612b0f3b840a7c9928385cbb67555</id>
<content type='text'>
Silences sparse warning:

  drivers/watchdog/pnx4008_wdt.c:83:25:
    warning: symbol 'wdt_clk' was not declared. Should it be static?

Signed-off-by: Vladimir Zapolskiy &lt;vz@mleia.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>
<entry>
<title>watchdog: pnx4008: fix warnings caused by enabling unprepared clock</title>
<updated>2015-11-23T07:59:00+00:00</updated>
<author>
<name>Vladimir Zapolskiy</name>
<email>vz@mleia.com</email>
</author>
<published>2015-10-17T18:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=b647d4297234e7f5456c16635ca0cdd82b7055db'/>
<id>urn:sha1:b647d4297234e7f5456c16635ca0cdd82b7055db</id>
<content type='text'>
If common clock framework is configured, the driver generates a warning,
which is fixed by this change:

    WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:727 clk_core_enable+0x2c/0xa4()
    Modules linked in:
    CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.3.0-rc2+ #171
    Hardware name: LPC32XX SoC (Flattened Device Tree)
    Backtrace:
    [&lt;&gt;] (dump_backtrace) from [&lt;&gt;] (show_stack+0x18/0x1c)
    [&lt;&gt;] (show_stack) from [&lt;&gt;] (dump_stack+0x20/0x28)
    [&lt;&gt;] (dump_stack) from [&lt;&gt;] (warn_slowpath_common+0x90/0xb8)
    [&lt;&gt;] (warn_slowpath_common) from [&lt;&gt;] (warn_slowpath_null+0x24/0x2c)
    [&lt;&gt;] (warn_slowpath_null) from [&lt;&gt;] (clk_core_enable+0x2c/0xa4)
    [&lt;&gt;] (clk_core_enable) from [&lt;&gt;] (clk_enable+0x24/0x38)
    [&lt;&gt;] (clk_enable) from [&lt;&gt;] (pnx4008_wdt_probe+0x78/0x11c)
    [&lt;&gt;] (pnx4008_wdt_probe) from [&lt;&gt;] (platform_drv_probe+0x50/0xa0)
    [&lt;&gt;] (platform_drv_probe) from [&lt;&gt;] (driver_probe_device+0x18c/0x408)
    [&lt;&gt;] (driver_probe_device) from [&lt;&gt;] (__driver_attach+0x70/0x94)
    [&lt;&gt;] (__driver_attach) from [&lt;&gt;] (bus_for_each_dev+0x74/0x98)
    [&lt;&gt;] (bus_for_each_dev) from [&lt;&gt;] (driver_attach+0x20/0x28)
    [&lt;&gt;] (driver_attach) from [&lt;&gt;] (bus_add_driver+0x11c/0x248)
    [&lt;&gt;] (bus_add_driver) from [&lt;&gt;] (driver_register+0xa4/0xe8)
    [&lt;&gt;] (driver_register) from [&lt;&gt;] (__platform_driver_register+0x50/0x64)
    [&lt;&gt;] (__platform_driver_register) from [&lt;&gt;] (platform_wdt_driver_init+0x18/0x20)
    [&lt;&gt;] (platform_wdt_driver_init) from [&lt;&gt;] (do_one_initcall+0x11c/0x1dc)
    [&lt;&gt;] (do_one_initcall) from [&lt;&gt;] (kernel_init_freeable+0x10c/0x1d4)
    [&lt;&gt;] (kernel_init_freeable) from [&lt;&gt;] (kernel_init+0x10/0xec)
    [&lt;&gt;] (kernel_init) from [&lt;&gt;] (ret_from_fork+0x14/0x24)

Signed-off-by: Vladimir Zapolskiy &lt;vz@mleia.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>
<entry>
<title>watchdog: omap_wdt: fix null pointer dereference</title>
<updated>2015-11-23T07:58:21+00:00</updated>
<author>
<name>Peter Robinson</name>
<email>pbrobinson@gmail.com</email>
</author>
<published>2015-11-02T02:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=de55acd100993c70bb7c5ca9473b59cdc4debb20'/>
<id>urn:sha1:de55acd100993c70bb7c5ca9473b59cdc4debb20</id>
<content type='text'>
Fix issue from two patches overlapping causing a kernel oops

[ 3569.297449] Unable to handle kernel NULL pointer dereference at virtual address 00000088
[ 3569.306272] pgd = dc894000
[ 3569.309287] [00000088] *pgd=00000000
[ 3569.313104] Internal error: Oops: 5 [#1] SMP ARM
[ 3569.317986] Modules linked in: ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_filter ebtable_nat ebtable_broute bridge stp llc ebtables ip6table_security ip6table_raw ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_filter ip6_tables iptable_security iptable_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle musb_dsps cppi41 musb_hdrc phy_am335x udc_core phy_generic phy_am335x_control omap_sham omap_aes omap_rng omap_hwspinlock omap_mailbox hwspinlock_core musb_am335x omap_wdt at24 8250_omap leds_gpio cpufreq_dt smsc davinci_mdio mmc_block ti_cpsw cpsw_common ptp pps_core cpsw_ale davinci_cpdma omap_hsmmc omap_dma mmc_core i2c_dev
[ 3569.386293] CPU: 0 PID: 1429 Comm: wdctl Not tainted 4.3.0-0.rc7.git0.1.fc24.armv7hl #1
[ 3569.394740] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 3569.401179] task: dbd11a00 ti: dbaac000 task.ti: dbaac000
[ 3569.406917] PC is at omap_wdt_get_timeleft+0xc/0x20 [omap_wdt]
[ 3569.413106] LR is at watchdog_ioctl+0x3cc/0x42c
[ 3569.417902] pc : [&lt;bf0ab138&gt;]    lr : [&lt;c0739c54&gt;]    psr: 600f0013
[ 3569.417902] sp : dbaadf18  ip : 00000003  fp : 7f5d3bbe
[ 3569.430014] r10: 00000000  r9 : 00000003  r8 : bef21ab8
[ 3569.435535] r7 : dbbc0f7c  r6 : dbbc0f18  r5 : bef21ab8  r4 : 00000000
[ 3569.442427] r3 : 00000000  r2 : 00000000  r1 : 8004570a  r0 : dbbc0f18
[ 3569.449323] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 3569.456858] Control: 10c5387d  Table: 9c894019  DAC: 00000051
[ 3569.462927] Process wdctl (pid: 1429, stack limit = 0xdbaac220)
[ 3569.469179] Stack: (0xdbaadf18 to 0xdbaae000)
[ 3569.473790] df00:                                                       bef21ab8 dbf60e38
[ 3569.482441] df20: dc91b840 8004570a bef21ab8 c03988a4 dbaadf48 dc854000 00000000 dd313850
[ 3569.491092] df40: ddf033b8 0000570a dc91b80b dbaadf3c dbf60e38 00000020 c0df9250 c0df6c48
[ 3569.499741] df60: dc91b840 8004570a 00000000 dc91b840 dc91b840 8004570a bef21ab8 00000003
[ 3569.508389] df80: 00000000 c03989d4 bef21b74 7f5d3bad 00000003 00000036 c020fcc4 dbaac000
[ 3569.517037] dfa0: 00000000 c020fb00 bef21b74 7f5d3bad 00000003 8004570a bef21ab8 00000001
[ 3569.525685] dfc0: bef21b74 7f5d3bad 00000003 00000036 00000001 00000000 7f5e4eb0 7f5d3bbe
[ 3569.534334] dfe0: 7f5e4f10 bef21a3c 7f5d0a54 b6e97e0c a00f0010 00000003 00000000 00000000
[ 3569.543038] [&lt;bf0ab138&gt;] (omap_wdt_get_timeleft [omap_wdt]) from [&lt;c0739c54&gt;] (watchdog_ioctl+0x3cc/0x42c)
[ 3569.553266] [&lt;c0739c54&gt;] (watchdog_ioctl) from [&lt;c03988a4&gt;] (do_vfs_ioctl+0x5bc/0x698)
[ 3569.561648] [&lt;c03988a4&gt;] (do_vfs_ioctl) from [&lt;c03989d4&gt;] (SyS_ioctl+0x54/0x7c)
[ 3569.569400] [&lt;c03989d4&gt;] (SyS_ioctl) from [&lt;c020fb00&gt;] (ret_fast_syscall+0x0/0x3c)
[ 3569.577413] Code: e12fff1e e52de004 e8bd4000 e5903060 (e5933088)
[ 3569.584089] ---[ end trace cec3039bd3ae610a ]---

Cc: &lt;stable@vger.kernel.org&gt; # v4.2+
Signed-off-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
Acked-by: Lars Poeschel &lt;poeschel@lemonage.de&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
<entry>
<title>Merge git://www.linux-watchdog.org/linux-watchdog</title>
<updated>2015-11-10T18:11:12+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2015-11-10T18:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=42d4ebb42a17754d2e8344dc1aa486119671d0eb'/>
<id>urn:sha1:42d4ebb42a17754d2e8344dc1aa486119671d0eb</id>
<content type='text'>
Pull watchdog update from Wim Van Sebroeck:

 - New driver for Broadcom 7038 Set-Top Box
 - imx2_wdt: Use register definition in regmap_write()
 - intel-mid: add Magic Closure flag
 - watchdog framework improvements:
      - Use device tree alias for naming watchdogs
      - propagate ping error code to the user space
      - Always evaluate new timeout against min_timeout
      - Use single variable name for struct watchdog_device
 - include clean-ups

* git://www.linux-watchdog.org/linux-watchdog:
  watchdog: include: add units for timeout values in kerneldoc
  watchdog: include: fix some typos
  watchdog: core: propagate ping error code to the user space
  watchdog: watchdog_dev: Use single variable name for struct watchdog_device
  watchdog: Always evaluate new timeout against min_timeout
  watchdog: intel-mid: add Magic Closure flag
  watchdog: imx2_wdt: Use register definition in regmap_write()
  watchdog: watchdog_dev: Use device tree alias for naming watchdogs
  watchdog: Watchdog driver for Broadcom Set-Top Box
  watchdog: bcm7038: add device tree binding documentation
</content>
</entry>
<entry>
<title>watchdog: core: propagate ping error code to the user space</title>
<updated>2015-11-03T13:36:14+00:00</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2015-10-26T12:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=5ef796639c2cacaebc07cf7e63bd20d64f7b3cb0'/>
<id>urn:sha1:5ef796639c2cacaebc07cf7e63bd20d64f7b3cb0</id>
<content type='text'>
Watchdog ping return errors are ignored by watchdog core,
Whatchdog daemon should be informed about possible hardware error or
underlaying device driver get unregistered.

Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.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>
<entry>
<title>watchdog: watchdog_dev: Use single variable name for struct watchdog_device</title>
<updated>2015-11-03T13:36:09+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-09-29T08:27:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=bc794ac3b5836ee2b2420b0597f33538ad100be0'/>
<id>urn:sha1:bc794ac3b5836ee2b2420b0597f33538ad100be0</id>
<content type='text'>
The current code uses 'wdd', wddev', and 'watchdog' as variable names
for struct watchdog_device. This is confusing and makes it difficult
to enhance the code. Replace it all with 'wdd'.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Cc: Timo Kokkonen &lt;timo.kokkonen@offcode.fi&gt;
Acked-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Wim Van Sebroeck &lt;wim@iguana.be&gt;
</content>
</entry>
</feed>
