From patchwork Thu Jul 25 09:32:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 11058307 X-Patchwork-Delegate: kvalo@adurom.com 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 AB3DA13A0 for ; Thu, 25 Jul 2019 09:32:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99DF028998 for ; Thu, 25 Jul 2019 09:32:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DB562899B; Thu, 25 Jul 2019 09:32:59 +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 54B3428998 for ; Thu, 25 Jul 2019 09:32:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388031AbfGYJc5 (ORCPT ); Thu, 25 Jul 2019 05:32:57 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:48258 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727328AbfGYJc5 (ORCPT ); Thu, 25 Jul 2019 05:32:57 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hqa7L-0001aN-6Q; Thu, 25 Jul 2019 11:32:55 +0200 From: Johannes Berg To: Kalle Valo Cc: linux-wireless@vger.kernel.org Subject: pull-request: iwlwifi-fixes 2019-07-25 Date: Thu, 25 Jul 2019 11:32:47 +0200 Message-Id: <20190725093249.16587-1-johannes@sipsolutions.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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 Hi Kalle, So, I hope I finally have this figured out :-) I'm just replacing Luca and using my usual workflow like with Dave, so ... Anyway, LOTS of fixes accumulated, so I guess this is bigger than usual, but a lot of these have been around for a long time and are quite important, as many people are running into them. Please pull and let me know if there's any problem. Thanks, johannes The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes.git tags/iwlwifi-fixes-for-kvalo-2019-07-25 for you to fetch changes up to 2f0d5845da92517cbbef39bde712b3a7d04da1fe: iwlwifi: mvm: fix a use-after-free bug in iwl_mvm_tx_tso_segment (2019-07-23 16:50:25 +0200) ---------------------------------------------------------------- We have a lot of fixes, most of them are also applicable to stable. Notably: * fix use-after-free issues * fix DMA mapping API usage errors * fix frame drop occurring due to reorder buffer handling in RSS in certain conditions * fix rate scale locking issues * disable TX A-MSDU on older NICs as it causes problems and was never supposed to be supported * new PCI IDs * GEO_TX_POWER_LIMIT API issue that many people were hitting ---------------------------------------------------------------- Colin Ian King (1): iwlwifi: mvm: fix comparison of u32 variable with less than zero Emmanuel Grumbach (8): iwlwifi: mvm: prepare the ground for more RSS notifications iwlwifi: mvm: add a new RSS sync notification for NSSN sync iwlwiif: mvm: refactor iwl_mvm_notify_rx_queue iwlwifi: mvm: add a loose synchronization of the NSSN across Rx queues iwlwifi: mvm: fix frame drop from the reordering buffer iwlwifi: don't unmap as page memory that was mapped as single iwlwifi: mvm: fix an out-of-bound access iwlwifi: mvm: fix a use-after-free bug in iwl_mvm_tx_tso_segment Gregory Greenman (4): iwlwifi: mvm: add a wrapper around rs_tx_status to handle locks iwlwifi: mvm: send LQ command always ASYNC iwlwifi: mvm: replace RS mutex with a spin_lock iwlwifi: mvm: fix possible out-of-bounds read when accessing lq_info Ihab Zhaika (1): iwlwifi: add 3 new IDs for the 9000 series (iwl9260_2ac_160_cfg) Johannes Berg (2): iwlwifi: mvm: disable TX-AMSDU on older NICs iwlwifi: fix locking in delayed GTK setting Luca Coelho (2): iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT on version < 41 iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support Mordechay Goodstein (1): iwlwifi: mvm: avoid races in rate init and rate perform Shahar S Matityahu (2): iwlwifi: dbg_ini: move iwl_dbg_tlv_load_bin out of debug override ifdef iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef drivers/net/wireless/intel/iwlwifi/fw/api/rx.h | 3 +- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 4 +- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 29 +- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 58 ++- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 8 +- drivers/net/wireless/intel/iwlwifi/mvm/nvm.c | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 4 +- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 539 ++++++++++++---------- drivers/net/wireless/intel/iwlwifi/mvm/rs.h | 3 +- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 185 ++++++-- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 6 +- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 12 +- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 3 +- drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 4 +- drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 3 + drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 2 + 16 files changed, 523 insertions(+), 342 deletions(-)