From patchwork Thu May 2 09:06:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Gruszka X-Patchwork-Id: 10926393 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4873B15A6 for ; Thu, 2 May 2019 09:07:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36ED928CF2 for ; Thu, 2 May 2019 09:07:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 281D628E78; Thu, 2 May 2019 09:07:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD93228479 for ; Thu, 2 May 2019 09:07:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726379AbfEBJHE (ORCPT ); Thu, 2 May 2019 05:07:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34218 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbfEBJHD (ORCPT ); Thu, 2 May 2019 05:07:03 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ECEAF5945E; Thu, 2 May 2019 09:07:02 +0000 (UTC) Received: from localhost (ovpn-204-54.brq.redhat.com [10.40.204.54]) by smtp.corp.redhat.com (Postfix) with ESMTP id 67CED1001E85; Thu, 2 May 2019 09:07:02 +0000 (UTC) From: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Cc: =?utf-8?q?Tomislav_Po=C5=BEega?= , Daniel Golle , Felix Fietkau , Mathias Kresin Subject: [PATCH 0/7] rt2800: add experimental watchdog implementation Date: Thu, 2 May 2019 11:06:53 +0200 Message-Id: <1556788021-6531-1-git-send-email-sgruszka@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 02 May 2019 09:07:03 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add watchdog to address some remaining problems of Ralink devices random hungs. RFC -> v1 - better description for module parameter - fix white space Stanislaw Gruszka (7): rt2x00: allow to specify watchdog interval rt2800: add helpers for reading dma done index rt2800: initial watchdog implementation rt2800: add pre_reset_hw callback rt2800: do not nullify initialization vector data rt2x00: add restart hw rt2800: do not enable watchdog by default drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 96 ++++++++++++++++++++++-- drivers/net/wireless/ralink/rt2x00/rt2800lib.h | 11 +++ drivers/net/wireless/ralink/rt2x00/rt2800mmio.c | 31 ++++++++ drivers/net/wireless/ralink/rt2x00/rt2800mmio.h | 2 + drivers/net/wireless/ralink/rt2x00/rt2800pci.c | 3 + drivers/net/wireless/ralink/rt2x00/rt2800soc.c | 3 + drivers/net/wireless/ralink/rt2x00/rt2800usb.c | 11 +++ drivers/net/wireless/ralink/rt2x00/rt2x00.h | 10 +++ drivers/net/wireless/ralink/rt2x00/rt2x00debug.c | 35 +++++++++ drivers/net/wireless/ralink/rt2x00/rt2x00dev.c | 10 ++- drivers/net/wireless/ralink/rt2x00/rt2x00link.c | 15 ++-- drivers/net/wireless/ralink/rt2x00/rt2x00queue.h | 6 ++ 12 files changed, 221 insertions(+), 12 deletions(-)