Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp797204pxb; Thu, 15 Apr 2021 06:54:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhno2tjqkE2sETq8Sv+LtOie/XC8VMKuhT2adk4Qy5XFF915PY04IKOokYmmx/DotKd73P X-Received: by 2002:a17:906:265b:: with SMTP id i27mr3582483ejc.450.1618494898883; Thu, 15 Apr 2021 06:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618494898; cv=none; d=google.com; s=arc-20160816; b=ej1A5vVdLV8oT9YuQDvcAHqLR2l37Zkww7htpBVXba9+fCulox3I5GY0ZXwXU/ECUW 0PTbVNt702Aw6TpnB8IZZm/4Yor97Fuis9lhZJE3ml8o46BbJdLPR0eEHzk/eV9I6wO2 eMU5tr1NhXIjMuOAMt5wONL+k9Qru7HgU8Ax6KoB8vzGecoXl03rw+Gm3F3J5D22uKaw c1ABcLs6DTlwQT1NJooaepAkeMDuzUhQEXBF5TMlIpA4YCrbiXgXTNG8nPRGx0stYr9R qWshIMTG7VY5+9J9DFz/xUspiS2KAkTpIoswe1fA29Oz3fpFsywrP6eUF+kI4xqbkVm+ /xBA== 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 :user-agent:references:in-reply-to:date:cc:to:from:message-id; bh=hv48yyWiMZquj/StAnNygkh7/stMUsZDSBFiBl9WEKo=; b=UUgLt6CPmgwPewRlhpWhNBQJH+dMyTS+vcLWnohTjFjoJFgQkTb6RPM1Gu90Tt2HM8 LlE1w3WmLdKZuRSakULLUQCEho7kuITplNTVF7j2NRkCKQwn+qSIOihzJ2dbbBYv3czD fjYd7N1Z6tozDSySoFM1Dqjjaqi0b8r4rQ9l6FTUm3GernQRxJDmgmzGuOVwgh1vtspr 0hPCpOuqVArl73hmxzZSuCkkBeyGgCQjeNGYQuKvB1+ct1KM3q4Aqa6Q7gxV4zaFs7YT W900l20xqo8S7FxljzTTGuV++Xw5GoEpfgZRol2mk2eTTfa6JSEOsruKubI25bMBCfiU dyDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si2612560eda.505.2021.04.15.06.54.36; Thu, 15 Apr 2021 06:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232993AbhDONxK (ORCPT + 99 others); Thu, 15 Apr 2021 09:53:10 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:44906 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231549AbhDONxH (ORCPT ); Thu, 15 Apr 2021 09:53:07 -0400 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=[192.168.100.150]) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lX2Q7-000Mfx-Pl; Thu, 15 Apr 2021 16:52:37 +0300 Message-ID: From: Luca Coelho To: kvalo@codeaurora.org Cc: jikos@kernel.org, hdegoede@redhat.com, johannes@sipsolutions.net, linux-wireless@vger.kernel.org Date: Thu, 15 Apr 2021 16:52:35 +0300 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.5-pre1 Subject: Re: [PATCH for -next] iwlwifi: pcie: don't enable BHs with IRQs disabled Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2021-04-15 at 16:48 +0300, Luca Coelho wrote: > From: Johannes Berg > > After the fix from Jiri that disabled local IRQs instead of > just BHs (necessary to fix an issue with submitting a command > with IRQs already disabled), there was still a situation in > which we could deep in there enable BHs, if the device config > sets the apmg_wake_up_wa configuration, which is true on all > 7000 series devices. > > To fix that, but not require reverting commit 1ed08f6fb5ae > ("iwlwifi: remove flags argument for nic_access"), split up > nic access into a version with BH manipulation to use most > of the time, and without it for this specific case where the > local IRQs are already disabled. > > Signed-off-by: Johannes Berg > Signed-off-by: Luca Coelho > --- Kalle, I'm going to assign this one to you too, but this time for -next and not for -fixes. This is related to the fix Jiri made, but to avoid some conflicts and a broken v5.13-rc, we want to get it into v5.13 if still possible. So can you please take this on top of my latest pull request? Additionally, can you tag it for stable? Thanks! -- Cheers, Luca.