mbox series

[v2,00/22] Ziirave_wdt driver fixes

Message ID 20190812200906.31344-1-andrew.smirnov@gmail.com
Headers show
Series Ziirave_wdt driver fixes | expand

Message

Andrey Smirnov Aug. 12, 2019, 8:08 p.m. UTC
Everyone,

This series contains various fixes/improvements for ziirave_wdt
driver. Hopefully each commit is self-explanatory.

Feedback is welcome!

Thanks,
Andrey Smirnov

Changes since [v1]:

    - Collected Reviewied-by from Guenter

    - Added two more error messages to "watchdog: ziirave_wdt: Be more
      verbose during firmware update" (Guenter, I kept your
      Reviewied-by there since that change seemed trivial enough)

    - "watchdog: ziirave_wdt: Don't bail out on unexpected timeout
      value" changed to select a default timeout of 30 seconds if read
      out timeout value is out of valid range

    - Additional fixes I wrote while working with watchdog firmware
      added to the series


Andrey Smirnov (22):
  watchdog: ziirave_wdt: Add missing newline
  watchdog: ziirave_wdt: Be verbose about errors in probe()
  watchdog: ziirave_wdt: Be more verbose during firmware update
  watchdog: ziirave_wdt: Don't bail out on unexpected timeout value
  watchdog: ziirave_wdt: Log bootloader/firmware info during probe
  watchdog: ziirave_wdt: Simplify ziirave_firm_write_pkt()
  watchdog: ziirave_wdt: Check packet length only once
  watchdog: ziirave_wdt: Skip zeros when calculating checksum
  watchdog: ziirave_wdt: Fix incorrect use of ARRAY_SIZE
  watchdog: ziirave_wdt: Zero out only what's necessary
  watchdog: ziirave_wdt: Make use of put_unaligned_le16
  watchdog: ziirave_wdt: Don't check if ihex record length is zero
  watchdog: ziirave_wdt: Don't read out more than 'len' firmware bytes
  watchdog: ziirave_wdt: Don't try to program readonly flash
  watchdog: ziirave_wdt: Fix misleading error message
  watchdog: ziirave_wdt: Fix JUMP_TO_BOOTLOADER payload
  watchdog: ziirave_wdt: Fix DOWNLOAD_END payload
  watchdog: ziirave_wdt: Fix RESET_PROCESSOR payload
  watchdog: ziirave_wdt: Drop status polling code
  watchdog: ziirave_wdt: Fix DOWNLOAD_START payload
  watchdog: ziirave_wdt: Drop ziirave_firm_write_block_data()
  watchdog: ziirave_wdt: Update checked I2C functionality mask

 drivers/watchdog/ziirave_wdt.c | 351 ++++++++++++++++-----------------
 1 file changed, 173 insertions(+), 178 deletions(-)