Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp452160rdh; Tue, 22 Aug 2023 00:07:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGK/pi1q6VTplBU9ESOo9Yve1mRLDPbM3QF0DJnLrRkzgMvBljQl910Yty2dzjZHJ2tCemV X-Received: by 2002:a05:6512:3692:b0:4f9:5ca5:f1a6 with SMTP id d18-20020a056512369200b004f95ca5f1a6mr5319302lfs.17.1692688050636; Tue, 22 Aug 2023 00:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692688050; cv=none; d=google.com; s=arc-20160816; b=DMDH6Gpz5ATtIrdfyWO2EECHcinFKUkSXuAiCO5tiDlw/4zRLbiDY4x3eujs5mYz+1 DbIYTiBVuIeMSORwkUdeT1Rp5e5uBVkcKqWjJ1u7u9x4ZgEC3qoNt+3MV2161cuQszOp /cca/OftKQPbdw5opHBydHZ69r/tpOKi1LJV28vaqUADBOBblm93SXzlJ2gJyvNfHFRL PrDHc4ARtnOfJUWu1o/f2IgbhPQzNqdNUqkryyXDUYveZjFdgpRKJmmjBB9rPaDhgub1 Ipe55pa1VqkN275TXtVXAll0qou0489QTwI1JfEUcgI37CV4SlZNpI9f1MdrrNaprRkG 71fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=B0RTMXdNrXo+jpL+zYehIvYeTpfEwW/DXoX6NawYtmg=; fh=DAhSEiSFR5qwrkQxliFz4MgwSZ5f7DjzJS1ga2ODYzA=; b=kxzAYkJ+VXRB8KaCuBVpf2kcjPUV/AL3tWLqDqh/DO9qmO+mr09Q/Z3JZ5poG99a6q BM3HLbGA1qe7+WaUomSDyoedaU+KAbycDgk1AsMoL9qeFo7mROamrQp+eA1GnLTPwPEl 0hjvkvAQ4rPt0UVm3swz4tDgyNtLDZIY9rFQ1WvbApobQbsgfbR2mkj7kG/YOTjnr3mQ ZYVFT68tKSpWkDwBZ6s4GsYAlwfCcFwdRSAkZcUKZAbU3bgC0MKwRQyNZCtR8046pg6H Z52WshJoPMBpZLGOsup+WWBSao2mbMwHcAk/jLPJJGwc1qDCLHGkTefWi9w3c1W5OgE3 LMXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DxxYZEEd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b25-20020a170906d11900b0099d804da2ebsi6837166ejz.503.2023.08.22.00.07.12; Tue, 22 Aug 2023 00:07:30 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DxxYZEEd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229637AbjHVFkx (ORCPT + 55 others); Tue, 22 Aug 2023 01:40:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232852AbjHVFkw (ORCPT ); Tue, 22 Aug 2023 01:40:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3152C130; Mon, 21 Aug 2023 22:40:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB24F61F5D; Tue, 22 Aug 2023 05:40:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1668C433C7; Tue, 22 Aug 2023 05:40:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692682849; bh=B0RTMXdNrXo+jpL+zYehIvYeTpfEwW/DXoX6NawYtmg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DxxYZEEdc991o8aCPJuW8sE5QsbAvcS0SiA1SU3ofh4lwXy5m6oEgNDdb/1lODM+E DMqqg5adLjnYraZwDq2MKoarPSW9gQZuDDTQFwL/gsBszENsiDHJ3OwuwfAgQZCuhd H2Ajme4xW62Y/pr9c8Pe2kthuzB5ag92L9uhOW9O0/D2f1NArFGjOx3EHf5p8m/EWN t1VzMrxTRQtYt/ZokST7e7XMgUbjYDbuaJG9Q4oh6t61zBmC+77MY1rXp9HB96c+LB 2RwJBh6iAnfA4yez1/uZxbqtiWq/7reZgtuHmFpOoo3KiFnaTAog4tWumToN0vCrqs ydClNHo6cQjnw== From: Kalle Valo To: Ping-Ke Shih Cc: Sergey Korolev , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: PROBLEM: kernel warns about voluntary context switch within RCU critical section in rtw88_usb References: Date: Tue, 22 Aug 2023 08:41:45 +0300 In-Reply-To: (Ping-Ke Shih's message of "Tue, 22 Aug 2023 01:47:34 +0000") Message-ID: <87pm3fws4m.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Ping-Ke Shih writes: > From: Sergey Korolev =20 > Sent: Monday, August 21, 2023 10:28 PM > To: Ping-Ke Shih ; Kalle Valo ; lin= ux-wireless@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: PROBLEM: kernel warns about voluntary context switch within RCU = critical section in rtw88_usb >>=20 >> Please note I use an unmodified driver from the upstream=C2=A028c11c2949= 4f1b34e39641eead9c60a8bd26170d >> ("wifi: rtw88: fix not entering PS mode after AP stops") build for 6.2 k= ernel (Ubuntu 23.04). > > I feel Martin has been addressed this problem during development of SDIO = and USB > by 8a1e2fd8e2da ("wifi: rtw88: Move register access from rtw_bf_assoc() o= utside the RCU") > Please take a look if this patch is existing in your source.=20 Commit 8a1e2fd8e2da was merged to v6.3-rc1 so v6.2 won't have it. --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes