Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2227550pxm; Fri, 4 Mar 2022 11:50:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJylHcPAOLWA6+XZMppydtmG0mXrtlvE1J/YukmWXNKz5EF1AbhLbClwJY3bGVf5GHbx0CbF X-Received: by 2002:a17:90a:7e95:b0:1bc:5d56:8d4c with SMTP id j21-20020a17090a7e9500b001bc5d568d4cmr12225541pjl.93.1646423451034; Fri, 04 Mar 2022 11:50:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646423451; cv=none; d=google.com; s=arc-20160816; b=foteYEACOn7Fm9UzvUbUgb9cU4zDxaVk/rryOQBL45fkeOUGbR85EK0fdfRNcD7OgN XKsmAbCNBvzX9XqdrYxVpPEDXDKTZvPeXohKvoz1He2AoB9xA/U7qM7j89YgBdc3HDzs suFqywwkdHgXehuvGlI3pQ/kWEuFLaEZup+rOZdZP42Oj3BZnxaeLI559gDlswFFvWET LdvdlpQnjIdhJ21/1QGkGBGuO4rwuPK5IgVJewlcZM9hLnEPxoouIvfZGtSzho5dmMhy 9uJh8wm1iGwmCnioTd9p7tQxmn3Be6SvWRvWqRzIVAv9hU8tI61zuaR7odQZYG154ldT 1sCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from; bh=aTRN5qeAuWV0foPb83prTEtKCvCN+SGlzto8vD91Qp8=; b=RIV1iPu2g6mNpMHiFbJUt3uLtW+8BPAGk1KauBNReahuqQUkhjU9Tyhl/UAYndgBYn 4tobX0w96YtrTRSFniidjAsdfa6WiK2K9UkmLiVjAB5ePrdd5fy3vCeRy7bII5O2l9Y4 bhfKsWO2tKXygOZTa1gSOHzWuy8fNhxZI5wYI+oBMKPABdveYfVlcYkHZ1HsemqTTLvl 3hLvykgccUzNJ+XkGjA5/offt2HqPddTT5Jc8aKTngvma2XobiVMyptFcpOq1mi18v2C a4fi87mBPQYK0iETmzmUimcGdnJGV2lsa4xhrX5WyzkirPvTyg5J8WbgWFCSIdGjwtEX gZGw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b1-20020a170902d50100b00151a594bb97si6253474plg.532.2022.03.04.11.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 11:50:50 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 600832335CC; Fri, 4 Mar 2022 11:20:28 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239399AbiCDLWi (ORCPT + 72 others); Fri, 4 Mar 2022 06:22:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239360AbiCDLWc (ORCPT ); Fri, 4 Mar 2022 06:22:32 -0500 Received: from farmhouse.coelho.fi (paleale.coelho.fi [176.9.41.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32ED71B0C45 for ; Fri, 4 Mar 2022 03:21:44 -0800 (PST) Received: from 91-156-4-241.elisa-laajakaista.fi ([91.156.4.241] helo=kveik.ger.corp.intel.com) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nQ60E-000QSW-JA; Fri, 04 Mar 2022 13:21:43 +0200 From: Luca Coelho To: kvalo@kernel.org Cc: luca@coelho.fi, linux-wireless@vger.kernel.org Date: Fri, 4 Mar 2022 13:21:25 +0200 Message-Id: X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220304112129.219513-1-luca@coelho.fi> References: <20220304112129.219513-1-luca@coelho.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Subject: [PATCH 09/13] iwlwifi: use 4k queue size for Bz A-step Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg 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 Signed-off-by: Luca Coelho --- 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