From patchwork Tue Sep 14 11:48:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jonas_Dre=C3=9Fler?= X-Patchwork-Id: 511460 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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 35416C4332F for ; Tue, 14 Sep 2021 11:49:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E48B61168 for ; Tue, 14 Sep 2021 11:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232194AbhINLuJ (ORCPT ); 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_Dre=C3=9Fler?= To: Amitkumar Karwar , Ganapathi Bhat , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski Cc: =?utf-8?q?Jonas_Dre=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_Roh=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 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(-) Tested-by: Brian Norris