1. 25 2月, 2017 1 次提交
  2. 16 12月, 2016 4 次提交
  3. 22 11月, 2016 1 次提交
  4. 08 10月, 2016 3 次提交
  5. 24 9月, 2016 1 次提交
    • M
      ACPI / watchdog: Add support for WDAT hardware watchdog · 058dfc76
      Mika Westerberg 提交于
      Starting from Intel Skylake the iTCO watchdog timer registers were moved to
      reside in the same register space with SMBus host controller.  Not all
      needed registers are available though and we need to unhide P2SB (Primary
      to Sideband) device briefly to be able to read status of required NO_REBOOT
      bit. The i2c-i801.c SMBus driver used to handle this and creation of the
      iTCO watchdog platform device.
      
      Windows, on the other hand, does not use the iTCO watchdog hardware
      directly even if it is available. Instead it relies on ACPI Watchdog Action
      Table (WDAT) table to describe the watchdog hardware to the OS. This table
      contains necessary information about the the hardware and also set of
      actions which are executed by a driver as needed.
      
      This patch implements a new watchdog driver that takes advantage of the
      ACPI WDAT table. We split the functionality into two parts: first part
      enumerates the WDAT table and if found, populates resources and creates
      platform device for the actual driver. The second part is the driver
      itself.
      
      The reason for the split is that this way we can make the driver itself to
      be a module and loaded automatically if the WDAT table is found. Otherwise
      the module is not loaded.
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      058dfc76
  6. 18 7月, 2016 4 次提交
  7. 18 6月, 2016 1 次提交
  8. 15 5月, 2016 1 次提交
  9. 13 5月, 2016 2 次提交
  10. 03 5月, 2016 1 次提交
  11. 17 3月, 2016 2 次提交
  12. 01 3月, 2016 6 次提交
  13. 07 2月, 2016 1 次提交
  14. 01 2月, 2016 1 次提交
  15. 31 1月, 2016 3 次提交
  16. 10 1月, 2016 1 次提交
  17. 29 12月, 2015 5 次提交
  18. 27 12月, 2015 1 次提交
    • P
      watchdog: Read device status through sysfs attributes · 33b71126
      Pratyush Anand 提交于
      This patch adds following attributes to watchdog device's sysfs interface
      to read its different status.
      
      * state - reads whether device is active or not
      * identity - reads Watchdog device's identity string.
      * timeout - reads current timeout.
      * timeleft - reads timeleft before watchdog generates a reset
      * bootstatus - reads status of the watchdog device at boot
      * status - reads watchdog device's  internal status bits
      * nowayout - reads whether nowayout feature was set or not
      
      Testing with iTCO_wdt:
       # cd /sys/class/watchdog/watchdog1/
       # ls
      bootstatus  dev  device  identity  nowayout  power  state
      subsystem  timeleft  timeout  uevent
       # cat identity
      iTCO_wdt
       # cat timeout
      30
       # cat state
      inactive
       # echo > /dev/watchdog1
       # cat timeleft
      26
       # cat state
      active
       # cat bootstatus
      0
       # cat nowayout
      0
      Signed-off-by: NPratyush Anand <panand@redhat.com>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      33b71126
  19. 23 11月, 2015 1 次提交