1. 16 2月, 2017 1 次提交
  2. 15 2月, 2017 28 次提交
  3. 14 2月, 2017 8 次提交
  4. 13 2月, 2017 3 次提交
    • D
      Merge branch 'mv88e6xxx-Watchdog-support' · caa137ee
      David S. Miller 提交于
      Andrew Lunn says:
      
      ====================
      mv88e6xxx Watchdog support
      
      The Marvell switches have an in built watchdog over some of the
      internal state machine. The watchdog can be configured to raise an
      interrupt on error. The problem the watchdog found is then logged to
      the kernel log.
      
      The older switches can automagically perform a software reset when the
      watchdog triggers. This just resets the internal state machine, but
      leaves the switch configuration unchanged.
      
      The 6390 family of switches cannot both raise an interrupt and
      automagically perform a software reset. So the interrupt handler has
      to perform the switch reset, and then re-enable the watchdog
      interrupts.
      
      This has been tested using hacked together debugfs code which allows
      the "force" bit to be set, so cause a watchdog interrupt.
      
      v2: Remove g2_prefix
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      caa137ee
    • A
      net: dsa: mv88e6xxx: Add mv88e6390 watchdog interrupt support · 61303736
      Andrew Lunn 提交于
      Implement the ops needed to support the watchdog for the MV88E6390
      family.
      Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      61303736
    • A
      net: dsa: mv88e6xxx: Add watchdog interrupt handler · fcd25166
      Andrew Lunn 提交于
      The switch contains a watchdog looking for issues with the internal
      gubbins of the switch. Hook the interrupt the watchdog triggers and
      log the value of the control register indicating why the watchdog
      fired. The watchdog can only be cleared with a switch reset, which
      will destroy the current configuration. Rather than doing this, just
      disable the interrupt.
      
      The mv88e6390 family has different watchdog registers. So use an ops
      structure, so support for the mv88e6390 family can be added later.
      Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fcd25166
新手
引导
客服 返回
顶部