From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 697F1C282C2 for ; Thu, 7 Feb 2019 21:10:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4107721916 for ; Thu, 7 Feb 2019 21:10:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727421AbfBGVK6 (ORCPT ); Thu, 7 Feb 2019 16:10:58 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:55021 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726832AbfBGVK6 (ORCPT ); Thu, 7 Feb 2019 16:10:58 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from michaelsh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 7 Feb 2019 23:10:56 +0200 Received: from r-build-lowlevel.mtr.labs.mlnx. (r-build-lowlevel.mtr.labs.mlnx [10.209.0.190]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x17LAuEN023763; Thu, 7 Feb 2019 23:10:56 +0200 From: michaelsh@mellanox.com To: wim@linux-watchdog.org, linux@roeck-us.net, andy@infradead.org, dvhart@infradead.org Cc: linux-watchdog@vger.kernel.org, platform-driver-x86@vger.kernel.org, vadimp@mellanox.com, Michael Shych Subject: [PATCH v2 0/3] introduce watchdog driver for Mellanox systems. Date: Thu, 7 Feb 2019 21:10:50 +0000 Message-Id: <20190207211053.10766-1-michaelsh@mellanox.com> X-Mailer: git-send-email 2.11.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Michael Shych This patchset introduces watchdog driver for a various range of Mellanox Ethernet and Infiniband switch systems. Mellanox watchdog device is implemented in programmable logic device. There are 2 types of HW watchdog implementations with diferent capabilities. This mlx-wdt driver supports both HW watchdog implementations. Mellanox system can have 2 watchdogs: main and auxiliary. Main and auxiliary watchdog devices can be enabled together on the same system. There are several actions that can be defined in the watchdog: system reset, start fans on full speed and increase register counter. Michael Shych (3): platform_data/mlxreg: addittions for mellanox watchdog driver. watchdog: mlx-wdt: introduce watchdog driver for Mellanox systems. Documentation/watchdog: Add documentation mlx-wdt driver Documentation/watchdog/mlx-wdt.txt | 48 ++++++ drivers/watchdog/Kconfig | 16 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/mlx_wdt.c | 323 +++++++++++++++++++++++++++++++++++ include/linux/platform_data/mlxreg.h | 6 + 5 files changed, 394 insertions(+) create mode 100644 Documentation/watchdog/mlx-wdt.txt create mode 100644 drivers/watchdog/mlx_wdt.c -- 2.11.0