Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3290450rwl; Sun, 2 Apr 2023 04:46:22 -0700 (PDT) X-Google-Smtp-Source: AKy350YiX0dHE/IDHyzaEBOSAmarA6n+ywAbnP1ZajhkRsqnhb6VcZtBDEjdSJICKvi+m2G1Vc8E X-Received: by 2002:a17:907:84a:b0:947:87a2:31d7 with SMTP id ww10-20020a170907084a00b0094787a231d7mr12322186ejb.33.1680435982336; Sun, 02 Apr 2023 04:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680435982; cv=none; d=google.com; s=arc-20160816; b=ppiXVUMJdyvFDESxVfU3M7tktFgppREuHQJlrz3uRCEleOjt2O4QRJ2bsa3JIqvl3Q UsaNbsNELSNOKfueLqoouWCK2NP0+x8+b5XCtV96IPIycz7LCF0ZFK9xZnchZNmXAGMe JMwd7NHW4Dm39Olw3+4ZNUgW2bikG8PUu5kQNhL2I3DAESUQdGMRW5faQGgNoRNuFMUF QtiaYqssnYgeZpHLhBsUMFRs2TKe1iI9hZ+CBsFKcN2e9a1t2sYixjXpTFAsdRnv6Kif Kp6lgy80mBTKAojKGyHZNqarB3w4eAM+QsPvVm0J+NfiR74XsDnrcq+kTa86LmOoQUKi E14Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=cHNWbyMBsEcaCu5wezku4EZVDTXMxoka64y4AYomTcU=; b=gGkppapKIimpgJs0yl0ZxZWuzYoAEVUrjNWHeSxjZDQtZSVeBaJbsqWriNHc7csQIP C/rVTa4Z+CmpxKFlyoZpViyR8w1nTZjZDRHDnupai/j9zckMfeoTY40ptjkMYieWKwuC HaJT4TN+LiOlPmnh32zHlMIviyUXbgc+puu1dFglZDJclPxjgasmR67GUB6uQRJaAjgv kaNk1l47vu8YikkqDGEl2kEyQGjgq6ZeWzFmUrvxHA0nNMkufH5G0N5jwyl/MwI/kJO9 e2to2C3VYZFx3MbR46F49T4QP6DAq5Xkk8jIEYQ0PCQ8KUIiLChSiEqtVv2f3NcgDmIJ hU8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a170906c40e00b0092bde9d2ed7si3367036ejz.988.2023.04.02.04.46.02; Sun, 02 Apr 2023 04:46:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230332AbjDBLae (ORCPT + 59 others); Sun, 2 Apr 2023 07:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjDBLac (ORCPT ); Sun, 2 Apr 2023 07:30:32 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95C5ECA26; Sun, 2 Apr 2023 04:30:31 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pivum-0005xd-ER; Sun, 02 Apr 2023 13:30:28 +0200 Message-ID: <8ab36d80-8417-628f-9f51-e75eaf6b1a51@leemhuis.info> Date: Sun, 2 Apr 2023 13:30:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 1/3] wifi: rtw88: Move register access from rtw_bf_assoc() outside the RCU Content-Language: en-US, de-DE To: Sascha Hauer , Martin Blumenstingl Cc: linux-wireless@vger.kernel.org, tony0620emma@gmail.com, kvalo@kernel.org, pkshih@realtek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Linux kernel regressions list References: <20230108211324.442823-1-martin.blumenstingl@googlemail.com> <20230108211324.442823-2-martin.blumenstingl@googlemail.com> <20230331125906.GF15436@pengutronix.de> From: "Linux regression tracking #adding (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <20230331125906.GF15436@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1680435031;642136e3; X-HE-SMSGID: 1pivum-0005xd-ER X-Spam-Status: No, score=-2.4 required=5.0 tests=NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org [CCing the regression list, as it should be in the loop for regressions: https://docs.kernel.org/admin-guide/reporting-regressions.html] On 31.03.23 14:59, Sascha Hauer wrote: > On Sun, Jan 08, 2023 at 10:13:22PM +0100, Martin Blumenstingl wrote: >> USB and (upcoming) SDIO support may sleep in the read/write handlers. >> Shrink the RCU critical section so it only cover the call to >> ieee80211_find_sta() and finding the ic_vht_cap/vht_cap based on the >> found station. This moves the chip's BFEE configuration outside the >> rcu_read_lock section and thus prevent "scheduling while atomic" or >> "Voluntary context switch within RCU read-side critical section!" >> warnings when accessing the registers using an SDIO card (which is >> where this issue has been spotted in the real world - but it also >> affects USB cards). > > Unfortunately this introduces a regression on my RTW8821CU chip. With > this it constantly looses connection to the AP and reconnects shortly > after: Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced c7eca79def44 #regzbot title net: wifi: rtw88: RTW8821CU constantly looses connection to the AP and reconnects shortly after #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.