From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AC85275118 for ; Thu, 5 Jun 2025 17:17:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.129.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749143865; cv=none; b=B+fOdC1Nc3C4HELJPSmipT3rpd0A1Rbf0nE0vd5xCrTTo28T317Z4hbSvq8Kd73d6x8+xkFZWefFw4axLUPzySw52ZOSaGqiTFgjKQOz+IgB9DqdtVHs+X5UQvwYy0Au37P4+NQbPcTQx7uWiLbJZAFoRE2+ZJKhkZvF7tVvsXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749143865; c=relaxed/simple; bh=pcqFadWfsfKrqR97jyj8RHYbUTDAgZDdJhSw2w0+aRk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XNQq/u/1ShMO7A3BoAO92qNb0Pz0B5Ndb46ExLuriDG0JkySfl6iNBVpSZpAIIpFN97oAOPq4nKikxSgkCBH81bU1yKQXrQK6u0HSPcxnhRcaOwGpnY/PAXBUDzDrmMuNedn4NYKY7m731wJnI6i+Hh2QzgriUiU5XKQMSCBTtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=candelatech.com; spf=pass smtp.mailfrom=candelatech.com; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b=Q/Bn2HkU; arc=none smtp.client-ip=148.163.129.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=candelatech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=candelatech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b="Q/Bn2HkU" Received: from engine.ppe-hosted.com (unknown [10.7.65.207]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 5DC9F600D9; Thu, 5 Jun 2025 17:17:43 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mail3.candelatech.com (mail.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 77C9BC045DB; Thu, 5 Jun 2025 17:17:41 +0000 (UTC) Received: from [192.168.100.159] (unknown [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id B875B13C2B0; Thu, 5 Jun 2025 10:17:40 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com B875B13C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1749143861; bh=pcqFadWfsfKrqR97jyj8RHYbUTDAgZDdJhSw2w0+aRk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Q/Bn2HkUcDDWAFdZxqPfhuTM+UgBWdO3FDCdBSmbwD0xlANqir13cO/g3eaEKdIYl kKFDVcP5H+o8U7Z583riUGEFT/q75RUBAZCCdiVemkTRyHSWJFzSzvrgNDEQsrjtS/ ZcDob1+FzAn6c/neMPvSPJod1kkchr1FgnfKIldY= Message-ID: <7c99ee6d-2c2c-79ff-87c7-84b820da783a@candelatech.com> Date: Thu, 5 Jun 2025 10:17:40 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH mt76 5/5] wifi: mt76: Remove RCU section in mt7996_mac_sta_rc_work() Content-Language: en-US To: Lorenzo Bianconi Cc: Felix Fietkau , Ryder Lee , Shayne Chen , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Bo Jiao , Peter Chiu , linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20250605-mt7996-sleep-while-atomic-v1-0-d46d15f9203c@kernel.org> <20250605-mt7996-sleep-while-atomic-v1-5-d46d15f9203c@kernel.org> <909d2ca8-8409-997a-768f-8e9be4c5168e@candelatech.com> <7b381baa-61a5-2a19-1bd6-47ad4abfdf3d@candelatech.com> From: Ben Greear Organization: Candela Technologies In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MDID: 1749143862-yFCG8EsQALAX X-PPE-STACK: {"stack":"us5"} X-MDID-O: us5;ut7;1749143862;yFCG8EsQALAX;;cd09869c97ce2e719a3744df88686fd8 X-PPE-TRUSTED: V=1;DIR=OUT; On 6/5/25 10:15, Lorenzo Bianconi wrote: > On Jun 05, Ben Greear wrote: >> On 6/5/25 09:57, Lorenzo Bianconi wrote: >>>> On 6/5/25 04:14, Lorenzo Bianconi wrote: >>>>> Since mt7996_mcu_add_rate_ctrl() and mt7996_mcu_set_fixed_field() can't >>>>> run in atomic context, move RCU critical section in >>>>> mt7996_mcu_add_rate_ctrl() and mt7996_mcu_set_fixed_field(). This patch >>>>> fixes a 'sleep while atomic' issue in mt7996_mac_sta_rc_work(). >>>>> >>>>> Fixes: 0762bdd30279 ("wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO") >>>>> Signed-off-by: Lorenzo Bianconi >>>> >>>> Thanks for the quick fix on this, it appears to solve the problems we >>>> saw related to this. >>> >>> ack, thx. Can you please add your 'tested-by' tag in this case? >> >> Tested-by: Ben Greear > > I am assuming this is for the full series ;) Yes, and to be clear, I had to re-work the patches a bit to get them into my tree, but that was just because I have a lot of mtk upstream patches and my own hacks in this code. I still think the tested-by is valid though. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com