From patchwork Sat Jun 15 10:00: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: 10997027 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 5A5F813AF for ; Sat, 15 Jun 2019 10:01:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 465352877B for ; Sat, 15 Jun 2019 10:01:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33D0E287A9; Sat, 15 Jun 2019 10:01:03 +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 D81122877B for ; Sat, 15 Jun 2019 10:01:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726417AbfFOKBC (ORCPT ); Sat, 15 Jun 2019 06:01:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54518 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfFOKBB (ORCPT ); Sat, 15 Jun 2019 06:01:01 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ADD228553D; Sat, 15 Jun 2019 10:01:01 +0000 (UTC) Received: from localhost (ovpn-204-44.brq.redhat.com [10.40.204.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2CA2D5C269; Sat, 15 Jun 2019 10:01:01 +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 v2 0/7] rt2800: add experimental watchdog implementation Date: Sat, 15 Jun 2019 12:00:53 +0200 Message-Id: <20190615100100.29800-1-sgruszka@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Sat, 15 Jun 2019 10:01:01 +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 v1 -> v2: - rebase on latest tree. 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 .../net/wireless/ralink/rt2x00/rt2800lib.c | 96 ++++++++++++++++++- .../net/wireless/ralink/rt2x00/rt2800lib.h | 11 +++ .../net/wireless/ralink/rt2x00/rt2800mmio.c | 31 ++++++ .../net/wireless/ralink/rt2x00/rt2800mmio.h | 2 + .../net/wireless/ralink/rt2x00/rt2800pci.c | 3 + .../net/wireless/ralink/rt2x00/rt2800soc.c | 3 + .../net/wireless/ralink/rt2x00/rt2800usb.c | 11 +++ drivers/net/wireless/ralink/rt2x00/rt2x00.h | 10 ++ .../net/wireless/ralink/rt2x00/rt2x00debug.c | 35 +++++++ .../net/wireless/ralink/rt2x00/rt2x00dev.c | 10 +- .../net/wireless/ralink/rt2x00/rt2x00link.c | 15 ++- .../net/wireless/ralink/rt2x00/rt2x00queue.h | 6 ++ 12 files changed, 221 insertions(+), 12 deletions(-)