All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.19] iwlwifi: 1000: set the TFD queue size
@ 2018-09-25 13:56 Luca Coelho
  2018-09-27 18:21 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Coelho @ 2018-09-25 13:56 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, Pavel Machek, Emmanuel Grumbach, Luca Coelho

From: Pavel Machek <pavel@ucw.cz>

.max_tfd_queue_size was ommited for 1000 card serries leading to oops in
swiotlb.

Fixes: 7b3e42ea2ead ("iwlwifi: support multiple tfd queue max sizes for different devices")
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
 drivers/net/wireless/intel/iwlwifi/cfg/1000.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/1000.c b/drivers/net/wireless/intel/iwlwifi/cfg/1000.c
index 591687984962..497fd766d87c 100644
--- a/drivers/net/wireless/intel/iwlwifi/cfg/1000.c
+++ b/drivers/net/wireless/intel/iwlwifi/cfg/1000.c
@@ -51,6 +51,7 @@
 
 static const struct iwl_base_params iwl1000_base_params = {
 	.num_of_queues = IWLAGN_NUM_QUEUES,
+	.max_tfd_queue_size = 256,
 	.eeprom_size = OTP_LOW_IMAGE_SIZE,
 	.pll_cfg = true,
 	.max_ll_items = OTP_MAX_LL_ITEMS_1000,
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 4.19] iwlwifi: 1000: set the TFD queue size
  2018-09-25 13:56 [PATCH 4.19] iwlwifi: 1000: set the TFD queue size Luca Coelho
@ 2018-09-27 18:21 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-09-27 18:21 UTC (permalink / raw)
  To: Luca Coelho; +Cc: linux-wireless, Pavel Machek, Emmanuel Grumbach, Luca Coelho

Luca Coelho <luca@coelho.fi> wrote:

> From: Pavel Machek <pavel@ucw.cz>
> 
> .max_tfd_queue_size was ommited for 1000 card serries leading to oops in
> swiotlb.
> 
> Fixes: 7b3e42ea2ead ("iwlwifi: support multiple tfd queue max sizes for different devices")
> Tested-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Pavel Machek <pavel@ucw.cz>
> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>

Patch applied to wireless-drivers.git, thanks.

3baafeffa48a iwlwifi: 1000: set the TFD queue size

-- 
https://patchwork.kernel.org/patch/10614047/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-27 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 13:56 [PATCH 4.19] iwlwifi: 1000: set the TFD queue size Luca Coelho
2018-09-27 18:21 ` Kalle Valo

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.