Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1977665rdb; Thu, 7 Dec 2023 14:31:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFk4MCWcWHI8JeOP/ghBGPiciMH9ftPZRo3geAJvCVFGok99jJ2I7WV2g6cIwEcl8DsXyTE X-Received: by 2002:aa7:c313:0:b0:54c:4837:a64a with SMTP id l19-20020aa7c313000000b0054c4837a64amr2031821edq.55.1701988279904; Thu, 07 Dec 2023 14:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701988279; cv=none; d=google.com; s=arc-20160816; b=vD9sTej1RNuB4sERj4PVrwi2fXRDf/Tx6Wpur+T7w7tqiL1kj2FLmsoEmavb1+CW5D ZYPAYtAEr0c9FjNPxEQya1A2hf/sBquZv3vciIcsFdXLhltKO5Um1nwQCLTMY20ayqd2 hsltgBY0Xaivi764R7ijLodXR3IapdjvFpItcuoORR6T8uVC/uaV84i3n+aXkqm/Ihdr P+fCfPByfz8XilpQuDd6kQrQMHfikF8uibqY/Z/s0cXUbwvWKVQJSBJhfCopTx6NQbvx uJ5uu+zmNqYSyXdHWXfVcIlUPU1zp4ZuUld6/Ss0LeCpKVvDzFQL9Bzg0En11RNtxHij Ap/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:organization:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=gBs1ev+3aKSv77VVkYzJjfPEBFxD6wNu31/YR5/QUqU=; fh=K4gOUbyokoRzT06WSWwluzYswtcrzAeHGlQmjB/J/iw=; b=ENMvCagH7Wl8moXqxXFj0p3i4gY96o15dfaXtjKfGFLlZnPlrJal8fPoSumaGPZhVU Ky/BlED0pfrFnXOS2fUEAsgsUDPjfVJvYGYgQIuQdsu4PH4ipSSWCppplq+5oo+Wl3Sp Omb4srBUlivhsVxvgHeru6C3s5400uujK3F2jIB9Kfr+e2jvzw6UiUC9it/24uDBdmUI 2XXfwYcy3ouf9RmdQcFiSorK+ZhEzb/pwBEHs18VfTe+oMy8Cimi8BbHvZLo5z9zfJmM UZi4BgSdAfaj5moLmzKLeMvLZsyfKVJyo8GC2CPJH4rKTOfK6mEfpPh+oSswFNEnl5aw IIuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="E/Wgz/m3"; spf=pass (google.com: domain of linux-wireless+bounces-560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m22-20020a509316000000b0054c838a8cdasi236235eda.535.2023.12.07.14.31.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 14:31:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="E/Wgz/m3"; spf=pass (google.com: domain of linux-wireless+bounces-560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 998951F21041 for ; Thu, 7 Dec 2023 22:31:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A74657302; Thu, 7 Dec 2023 22:31:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="E/Wgz/m3" X-Original-To: linux-wireless@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88C76A4 for ; Thu, 7 Dec 2023 14:31:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701988275; x=1733524275; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9c4OqDL9uM1O4qAKCxZ63Qu3L+Sv5X7NG+CW5iiGSqA=; b=E/Wgz/m31bjKNmAk9kxgXgmm54rSXc1+vWfmhHLOxqm19zcjlq9tzMue +cYMZANqkWF5C2E//NbdZGfiL6UlyPPt78emdXSpcQUlpq2EnLwpu1JCJ nMN01sIzlfF6F812s0VGvZ9kUyjxrpzve64NahRYqfW4cKHcul+gWYdRH 9rUZ5u8pxZ+g5qrqvkqJR2psbeFlqZVFnhgcGpvziV8jJyhz5gPAeQLO5 /GcRNnyVUZiVT9/PYWEw2vR/qZFSHZg+o/At952RUV4161hFc/GaaAOz9 dvpqIZ/Se7rp3pbwkmHWNt8MFLQ20dqRpo7D2V8FfskvmsGWDnd0IdNBo Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="1396132" X-IronPort-AV: E=Sophos;i="6.04,258,1695711600"; d="scan'208";a="1396132" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 14:31:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="721636313" X-IronPort-AV: E=Sophos;i="6.04,258,1695711600"; d="scan'208";a="721636313" Received: from unknown (HELO WEIS0040.iil.intel.com) ([10.12.217.108]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 14:31:13 -0800 From: Miri Korenblit To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Brian Norris Subject: [PATCH 13/13 v2] wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock Date: Fri, 8 Dec 2023 18:32:02 +0200 Message-Id: <20231208183100.e79ad3dae649.I8f19713c4383707f8be7fc20ff5cc1ecf12429bb@changeid> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Organization: Intel Israel (74) Limited Content-Transfer-Encoding: 8bit X-Spam-Level: *** From: Johannes Berg Hi, I Added the 'wifi' prefix Thanks, Miri Evidently I had only looked at all the ones in rx.c, and missed this. Add bh-disable to this use of the rxq->lock as well. Fixes: 25edc8f259c7 ("iwlwifi: pcie: properly implement NAPI") Reported-by: Brian Norris Signed-off-by: Johannes Berg Signed-off-by: Miri Korenblit --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c index f39c436f0b6d..fc64e1e7f5ee 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c @@ -3092,7 +3092,7 @@ static u32 iwl_trans_pcie_dump_rbs(struct iwl_trans *trans, struct iwl_rxq *rxq = &trans_pcie->rxq[0]; u32 i, r, j, rb_len = 0; - spin_lock(&rxq->lock); + spin_lock_bh(&rxq->lock); r = iwl_get_closed_rb_stts(trans, rxq); @@ -3116,7 +3116,7 @@ static u32 iwl_trans_pcie_dump_rbs(struct iwl_trans *trans, *data = iwl_fw_error_next_data(*data); } - spin_unlock(&rxq->lock); + spin_unlock_bh(&rxq->lock); return rb_len; } -- 2.34.1