Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp597734pxb; Tue, 14 Sep 2021 04:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymAjM3B95TLGXlb6rJAgY+i03EAt9qsXuZf8xDnR+O8jafcocfN2DbZ7yWkkH4PxB5QTYY X-Received: by 2002:a17:906:cc57:: with SMTP id mm23mr18467015ejb.540.1631620189839; Tue, 14 Sep 2021 04:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631620189; cv=none; d=google.com; s=arc-20160816; b=WOpqc7fnDokkjStslQdyKRfe6EfdgLXT5ca0za9RWCMxJUwkm6T7GscCMbmnDIdp5S a7yXriR4GhcXpUbTrpOLkhN8NKyv2tCxU+wZZc/nBUzSeVoLa/gC7hGxFZPxRUvW6u2W XPMC5SYOtYEQrqXkMs9B3yUhPQ+j1rXfGgWFSGv443vyoKoj9alO3Vix6vlcytZMuXCN kEj/UegqDKsVF8XJZk7KF4u1GJKbSbh1zS1LG4iOCU8z3jdd23H5efrZvSc+nNTxEhrZ 852PDBQim5Oko0G9DLoWsmUPh62VdhdEoHCyld3mbdok9120Gxn2W3wjmUr27O8cGUO4 Xb6g== 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=EOtH9WS/4iXtERH7CSFot0gSomJRx6WI/kIINzHLHaE=; b=gUlaQ+APLeqqdhF+S6rw2SNVOFUkvN7kEb1DF4rm3nZbs9m4UQ/9R0d52h5TbfY2H+ uZwHFqxv41EQ1BgJPwjsteMFdafqZEeG4DCI/AWP9pzTYR9geKJk1y553oYHex4lVRVI Ow1vaEfPAdRRrzqdLAQa7E+FFTpG8uHE/3NZtuwxI5cn1MjYiQVevMCwCXR4pK0OCDFq kHiGYOIvWzZ8Mg8KVpWPwwruqNlotvlURMyStLLlV2pTerMF8vcxKzAg3yvEouBZT9cI fI35HxGfPyM5N0lnmNoRmGquzRhl3jjbfpu1cSKbKFUsQ1/GbYszqU9suLSG3HZLdFT0 4fiA== 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 dm14si2589216ejc.226.2021.09.14.04.49.19; Tue, 14 Sep 2021 04:49:49 -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 S232194AbhINLuJ (ORCPT + 99 others); Tue, 14 Sep 2021 07:50:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232394AbhINLtz (ORCPT ); Tue, 14 Sep 2021 07:49:55 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050::465:201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79889C061574; Tue, 14 Sep 2021 04:48:37 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4H81nv4nfSzQlRK; Tue, 14 Sep 2021 13:48:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= To: Amitkumar Karwar , Ganapathi Bhat , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski Cc: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= , Tsuchiya Yuto , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Maximilian Luz , Andy Shevchenko , Bjorn Helgaas , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Heiner Kallweit , Johannes Berg , Brian Norris Subject: [PATCH v2 0/2] mwifiex: Work around firmware bugs on 88W8897 chip Date: Tue, 14 Sep 2021 13:48:11 +0200 Message-Id: <20210914114813.15404-1-verdre@v0yd.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C163426B Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This is the second revision of the patch, the first one is here: https://lore.kernel.org/linux-wireless/20210830123704.221494-1-verdre@v0yd.nl/ Changes between v1 and v2: - Only read-back the register write to the TX ring write pointer, not all writes - Mention firmware version in commit message+code comment for future reference - Use -EIO return value in second patch - Use definitions for waiting intervals in second patch Jonas Dreßler (2): mwifiex: Use non-posted PCI write when setting TX ring write pointer mwifiex: Try waking the firmware until we get an interrupt drivers/net/wireless/marvell/mwifiex/pcie.c | 59 +++++++++++++++++---- 1 file changed, 50 insertions(+), 9 deletions(-) -- 2.31.1