Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp958685pxb; Tue, 14 Sep 2021 12:34:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS8/SI/lR+CK3CnWXy5eeufHfpccdsBPFd9wtTlZPZjUjuxQavjtLTZ49ausX0IL68x8TZ X-Received: by 2002:a5e:850f:: with SMTP id i15mr12105721ioj.83.1631648096735; Tue, 14 Sep 2021 12:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631648096; cv=none; d=google.com; s=arc-20160816; b=FNXbP3P9/3WXfoT3E7XiS1bvMoq+bgxDp5d4zEZXRNKBQ7cv27HKikX3rypYiPZGZ7 CV7gTe1OFxqUtvUEpzgIwUGRCdhpGnxoT15zoEpB4ut+sMr6nep9OFNYY1TrARU6s0pu atho3D/WWdvLyldWIbOv6+lMN9m6LHBOqMsHphIN5Gim6R3H2to2w7atwStsV4TlfzpA aq6GTlAtqrrGk56ef/25MAu7GY0qxRyrIdZHp8O6kd3BshQRLxVOLNf+WunpM/belVF6 75JvjgduHqfV9bruW2/NBSOZ4ziIVhisOk/Np8h9rLL8HrWqoxgJmTB5iJXYEw1OKtUG B6sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iPms0fTzyrBpvuqxat9hK5FHFX9EUC+d7Vi7NXYdrx8=; b=erFY6mQ1ODHJnj9w9R20YLep4J2Z8Xo/IHb/oy3p5da6X87BgA417qbzLBcYCxzw2J nFZda5NM4pe8oG3K/WN/zUl0SufrryKSPZ8aLQSGYM6EzoVurfpf6b01XWDv75bBmxUW XbBLlGNt4Wj81X3A+Ic1MQqS7wzAp17sSKghmay4NtoKUYcimZwmA5OrTwSBb1vdHqp9 SLjJVddhIaJFdpXoJEIBCOLArbzYIJCYm/MsipLJ5aM7hlbMRMknV2WU77bqqFrMU1zm /P6B/uGf5mdaX0ELbCAywQInnKu8SM+cyZyokEt4ZYV/tWMsFcXp2Y7qFT8Y6sxp1sOR 8h/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si8542290ios.63.2021.09.14.12.34.35; Tue, 14 Sep 2021 12:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232957AbhINTez (ORCPT + 99 others); Tue, 14 Sep 2021 15:34:55 -0400 Received: from mail.aperture-lab.de ([116.203.183.178]:44928 "EHLO mail.aperture-lab.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbhINTey (ORCPT ); Tue, 14 Sep 2021 15:34:54 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D7D2E3EA6B; Tue, 14 Sep 2021 21:25:25 +0200 (CEST) From: =?UTF-8?q?Linus=20L=C3=BCssing?= To: Kalle Valo , Felix Fietkau , Sujith Manoharan , ath9k-devel@qca.qualcomm.com Cc: linux-wireless@vger.kernel.org, "David S . Miller" , Jakub Kicinski , "John W . Linville" , Felix Fietkau , Simon Wunderlich , Sven Eckelmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] ath9k: interrupt fixes on queue reset Date: Tue, 14 Sep 2021 21:25:12 +0200 Message-Id: <20210914192515.9273-1-linus.luessing@c0d3.blue> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, The following are two patches for ath9k to fix a potential interrupt storm (PATCH 2/3) and to fix potentially resetting the wifi chip while its interrupts were accidentally reenabled (PATCH 3/3). PATCH 1/3 adds the possibility to trigger the ath9k queue reset through the ath9k reset file in debugfs. Which was helpful to reproduce and debug this issue and might help for future debugging. PATCH 2/3 and PATCH 3/3 should be applicable for stable. Regards, Linus