All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Coelho <luca@coelho.fi>
To: kvalo@kernel.org
Cc: luca@coelho.fi, linux-wireless@vger.kernel.org
Subject: [PATCH 09/13] iwlwifi: use 4k queue size for Bz A-step
Date: Fri,  4 Mar 2022 13:21:25 +0200	[thread overview]
Message-ID: <iwlwifi.20220304131517.10ea0e115d05.Idfb3706133bf3b15f1f68f1145e77e89947449d1@changeid> (raw)
In-Reply-To: <20220304112129.219513-1-luca@coelho.fi>

From: Johannes Berg <johannes.berg@intel.com>

There's a hardware bug in Bz A-step that can be worked
around by using 4k queue size, so do that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
 drivers/net/wireless/intel/iwlwifi/queue/tx.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/intel/iwlwifi/queue/tx.c b/drivers/net/wireless/intel/iwlwifi/queue/tx.c
index 42e631cc16e8..726185d6fab8 100644
--- a/drivers/net/wireless/intel/iwlwifi/queue/tx.c
+++ b/drivers/net/wireless/intel/iwlwifi/queue/tx.c
@@ -1199,6 +1199,10 @@ int iwl_txq_dyn_alloc(struct iwl_trans *trans, u32 flags, u32 sta_mask,
 	};
 	int ret;
 
+	if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_BZ &&
+	    trans->hw_rev_step == SILICON_A_STEP)
+		size = 4096;
+
 	txq = iwl_txq_dyn_alloc_dma(trans, size, timeout);
 	if (IS_ERR(txq))
 		return PTR_ERR(txq);
-- 
2.35.1


  parent reply	other threads:[~2022-03-04 11:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-04 11:21 [PATCH 00/13] iwlwifi: updates intended for v5.18 2022-03-04 Luca Coelho
2022-03-04 11:21 ` [PATCH 01/13] iwlwifi: bump FW API to 71 for AX devices Luca Coelho
2022-03-04 11:21 ` [PATCH 02/13] iwlwifi: mvm: add a flag to reduce power command Luca Coelho
2022-03-04 11:21 ` [PATCH 03/13] iwlwifi: Configure FW debug preset via module param Luca Coelho
2022-03-04 11:21 ` [PATCH 04/13] iwlwifi: mvm: remove cipher scheme support Luca Coelho
2022-03-04 11:21 ` [PATCH 05/13] iwlwifi: yoyo: disable IMR DRAM region if IMR is disabled Luca Coelho
2022-03-04 11:21 ` [PATCH 06/13] iwlwifi: mvm: add support for IMR based on platform Luca Coelho
2022-03-04 11:21 ` [PATCH 07/13] iwlwifi: yoyo: dump IMR DRAM only for HW and FW error Luca Coelho
2022-03-04 11:21 ` [PATCH 08/13] iwlwifi: pcie: fix SW error MSI-X mapping Luca Coelho
2022-03-04 11:21 ` Luca Coelho [this message]
2022-03-04 11:21 ` [PATCH 10/13] iwlwifi: dbg: in sync mode don't call schedule Luca Coelho
2022-03-04 11:21 ` [PATCH 11/13] iwlwifi: dbg: check trigger data before access Luca Coelho
2022-03-04 11:21 ` [PATCH 12/13] iwlwifi: acpi: move ppag code from mvm to fw/acpi Luca Coelho
2022-03-04 11:21 ` [PATCH 13/13] iwlwifi: bump FW API to 72 for AX devices Luca Coelho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iwlwifi.20220304131517.10ea0e115d05.Idfb3706133bf3b15f1f68f1145e77e89947449d1@changeid \
    --to=luca@coelho.fi \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.