An error occurred fetching the project authors.
  1. 08 May, 2019 1 commit
    • Guenter Roeck's avatar
      watchdog: Enforce that at least one pretimeout governor is enabled · a9f0bda5
      Guenter Roeck authored
      Since commit "watchdog: Use depends instead of select for pretimeout
      governors", it was possible to enable pretimeout governors but keep all
      of them disabled. Doing this results in the following build failure.
      
      ../drivers/watchdog/watchdog_pretimeout.c:
      	In function ‘watchdog_register_governor’:
      ../drivers/watchdog/watchdog_pretimeout.c:139:26: error:
      	‘WATCHDOG_PRETIMEOUT_DEFAULT_GOV’ undeclared
         if (!strncmp(gov->name, WATCHDOG_PRETIMEOUT_DEFAULT_GOV,
      
      Since it does not make sense to enable pretimeout support but disable
      all pretimeout governors, enforce that at least one of them is always
      enabled.
      
      Fixes: f627ac0e ("watchdog: Use depends instead of select for pretimeout governors")
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
      a9f0bda5
  2. 05 May, 2019 8 commits
  3. 02 Mar, 2019 2 commits
  4. 16 Jan, 2019 1 commit
  5. 24 Dec, 2018 1 commit
  6. 22 Dec, 2018 1 commit
  7. 17 Nov, 2018 1 commit
  8. 13 Oct, 2018 1 commit
  9. 02 Oct, 2018 1 commit
  10. 06 Aug, 2018 1 commit
  11. 02 Aug, 2018 1 commit
  12. 26 Mar, 2018 2 commits
  13. 24 Mar, 2018 1 commit
    • Joel Stanley's avatar
      watchdog: Add Nuvoton NPCM watchdog driver · 975b7f0f
      Joel Stanley authored
      The Nuvoton NPCM750 has a watchdog implemented as a single register
      inside the timer peripheral.
      
      This driver exposes that watchdog as a standard watchdog device with
      coarse timeout intervals, limited by the combination of prescaler and
      counter that is provided by the hardware. The calculation is taken from
      the Nuvoton vendor tree.
      
      The watchdog is left running if a bootloader had it going. The rate is
      the one specified in the device tree, or the default value (obtained
      from the datasheet).
      
      There is a pre-timeout IRQ that is wired up. This timeout always occurs
      1024 clocks before the timeout.
      Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
      Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      975b7f0f
  14. 05 Mar, 2018 1 commit
  15. 03 Mar, 2018 1 commit
  16. 22 Feb, 2018 1 commit
  17. 19 Feb, 2018 4 commits
  18. 21 Jan, 2018 1 commit
  19. 08 Jan, 2018 1 commit
  20. 28 Dec, 2017 5 commits
  21. 17 Dec, 2017 1 commit
    • Matt Redfearn's avatar
      watchdog: indydog: Add dependency on SGI_HAS_INDYDOG · 24f8d233
      Matt Redfearn authored
      Commit da2a68b3 ("watchdog: Enable COMPILE_TEST where possible")
      enabled building the Indy watchdog driver when COMPILE_TEST is enabled.
      However, the driver makes reference to symbols that are only defined for
      certain platforms are selected in the config. These platforms select
      SGI_HAS_INDYDOG. Without this, link time errors result, for example
      when building a MIPS allyesconfig.
      
      drivers/watchdog/indydog.o: In function `indydog_write':
      indydog.c:(.text+0x18): undefined reference to `sgimc'
      indydog.c:(.text+0x1c): undefined reference to `sgimc'
      drivers/watchdog/indydog.o: In function `indydog_start':
      indydog.c:(.text+0x54): undefined reference to `sgimc'
      indydog.c:(.text+0x58): undefined reference to `sgimc'
      drivers/watchdog/indydog.o: In function `indydog_stop':
      indydog.c:(.text+0xa4): undefined reference to `sgimc'
      drivers/watchdog/indydog.o:indydog.c:(.text+0xa8): more undefined
      references to `sgimc' follow
      make: *** [Makefile:1005: vmlinux] Error 1
      
      Fix this by ensuring that CONFIG_INDIDOG can only be selected when the
      necessary dependent platform symbols are built in.
      
      Fixes: da2a68b3 ("watchdog: Enable COMPILE_TEST where possible")
      Signed-off-by: default avatarMatt Redfearn <matt.redfearn@mips.com>
      Cc: <stable@vger.kernel.org> # 4.11 +
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Suggested-by: default avatarJames Hogan <james.hogan@mips.com>
      Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      24f8d233
  22. 09 Nov, 2017 1 commit
  23. 03 Jul, 2017 2 commits