Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp343764rdb; Mon, 22 Jan 2024 06:07:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyVEHGTi7b+Pd+DNNCB+MnyefahfC/yEcwy5eQP8fTZAGG5fudB+6FQGkEisTHqS9mOEYA X-Received: by 2002:a05:6402:520c:b0:55c:43ea:ff4c with SMTP id s12-20020a056402520c00b0055c43eaff4cmr914189edd.72.1705932466777; Mon, 22 Jan 2024 06:07:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705932466; cv=pass; d=google.com; s=arc-20160816; b=qd3Mj9zlOjLEQg2Z4PFUuzjaKB/6paMAjE5KG0Zdvgl8ZgpapNGNLHtjNsZQV2ymbk uAR/M1CmxMiV5H0FhFLIt0h3bi/TnuwKOkOfMIiZS63lAIW9Ht4aGpbr+Vg1fKZg1PS/ 0g7gDgtRkWfrKH930CPPqW/oRW4WbA9Gvk6BrvKQWcJuF3w8TMXqQ9IsGdusDbAJ4jDP 4MJLh3JVsChUGYZQCUwsEWJLracIDFQG7I2kbb1U3fi6gwTo8kjdmQqNwSMgPSCX29IH 6y4zMN0JGTesvTPbdLM9hTMgARP7YDAvf7SxJ6z5zOAtSzmL6E4SRrsxSGiZn/d8cANU dGYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0wLsVDqbRVVzD6Jk899cSgYYI5UODFHw/IeHEPQKx/U=; fh=SVS83+KE03bUHTgEXtum7BojjOmzfwYtzB/b8ehRDwg=; b=s5Utl540RJ4nhexFiVKhbp4J07gz4DNM+TJ/UVcCmn15l2PncBW3IfaUZsh8D+cN9W KHBG0x2h1r1QYYYmCeDqJXazTretC9ljmoTpqCFsvByXfnzj6eLas7v2gtyoKKjNb+uf +GS2gfRXJAYZLVP0wmfEXks9XKjJl8B7IkLtWtISWbCoIG6XbSHWg9EmnFi0qetGFje1 E3dVYiQmWfzHbICjAKeNu7HR7jrg+EGJhHH5c5QFZp0bk9mWRLpIouxTeeGiHUOh5WfA UOhdqzykN2sge9LKSG19of3O4e1hI4qcXNfAAhKdLCmhILg85ht/CNh8A5f8ySostQ+2 4NRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CzEHrh1l; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 9-20020a508749000000b00559048a3c17si9475622edv.197.2024.01.22.06.07.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 06:07:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CzEHrh1l; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7936D1F229D3 for ; Mon, 22 Jan 2024 14:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 494943D38D; Mon, 22 Jan 2024 14:04:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CzEHrh1l" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 202DD3D388; Mon, 22 Jan 2024 14:03:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705932240; cv=none; b=nZtjgkxnRMqcsfLeBOsv+54B+RcZ5vaYO+PhxnuecdCD51PU/yh/sCwQ7/94YfTCW1GzEQwQqgIs55dbrXwsI9jGIP+MTIU9VNKgs6L4xvNRz7PtfZzj/vyPrLDMppF1Fa1SqwvhX2WMJSEOQBzMbqhBTqnvdpNESDuPzo7PBzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705932240; c=relaxed/simple; bh=uB+xAUnhOKylzIpbYFxEwD5Rje9Cwg6aWG5W9GJI7Cs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=irxmVM/1IGY1lHemNmiesYhhfm/1XjBzQZfWO3gdr47LTq8MzrgB5w2IS0NsXmJoVxywI1VR/G2Md+R/vDNarhz6gdt6owkosCIoGCpZhA3nay1eQIDZz69NhoyFBkA9DZuS8Cu/izaO9scs0jCPzhuFcVsv4nN/P5izMXC0jmU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CzEHrh1l; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ADDCC433F1; Mon, 22 Jan 2024 14:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705932239; bh=uB+xAUnhOKylzIpbYFxEwD5Rje9Cwg6aWG5W9GJI7Cs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CzEHrh1lPdFqtVb9l+WgSxQUnjB7Aw6g1D1N9dKatukMp6j8UbcCiZDJsth8RLU/u G73PtI+HjAQsBN7eW9AjxM+QyiGiD35Ny449HnyBltZc6FV4QIZcVS5KH6vWWl3W6x gyAIh8znB+E3vF6UJlPPFq0gaaITQd7E8zmf40EjDv3RVrYoCpgnj5hewia4Huh/t7 9U34BJhmnQsdGnAfs3p6MAycc/3hGrbTpInJ6fMxHf8qGTAD15XtYqdBQmBi1Pu+9d 106XbGZ4nC7sxWHW8XeBmfVSIkVspsAlJzztUKOUJR71KjL5GWu21GeR0yF7xL78U1 MgwwAVdSWfBwg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rRuuJ-000000008K2-1TOS; Mon, 22 Jan 2024 15:04:11 +0100 Date: Mon, 22 Jan 2024 15:04:11 +0100 From: Johan Hovold To: Kalle Valo Cc: Johan Hovold , Jeff Johnson , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: ath11k: checking RCU usage Message-ID: References: <20231019153115.26401-1-johan+linaro@kernel.org> <87o7goxget.fsf@kernel.org> <87zfx98r6a.fsf_-_@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jan 22, 2024 at 02:10:17PM +0100, Johan Hovold wrote: > On Sat, Jan 13, 2024 at 12:26:53PM +0200, Kalle Valo wrote: > > I just found out that sparse has __must_hold(): > > > > https://lore.kernel.org/linux-wireless/87sf31hhfp.fsf@kernel.org/ > > > > That looks promising, should we start using that in ath11k and ath12k to > > check our RCU usage? > > I see that Johannes already commented on this in the thread above. > > I'm pretty sure smatch can't be used for this. I meant "sparse"... Johan