Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp282525rdb; Thu, 19 Oct 2023 04:37:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGg3LwmyXj5r7pD9NmGIP+FcUbb2bSaoN9umWGudqUk8NsYsZjg4mYiwBQrMxrlRYMCsPh+ X-Received: by 2002:a05:6e02:8ed:b0:351:47fd:e9d4 with SMTP id n13-20020a056e0208ed00b0035147fde9d4mr2153010ilt.20.1697715450020; Thu, 19 Oct 2023 04:37:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697715449; cv=none; d=google.com; s=arc-20160816; b=kCmpPrUkG2YyjwCBjsH1/uClcLPrUmt+24HoWB9u5Y5nT69/HzSQfol5NFtB0LDrmC jbSKTCBnW6wtX4Zz9YE3LptQeAFnpI5vRkRLq4kfPfpfJEi3pna7TQP6mDxalga5Nep+ XHnDGBeBN8CVnamHLy2fMRBnochA8EOIrjxHrIGW0jVT2prxqK+4l3w+AOM79eu9dYMj Cs6PnfEEpJvEQ8ZP7wKRveoJ/CTH8KmWUA++KjUzjA5XtqzOdhxJ6fMaSzoqSL0iqSyX uw8LFzBIsV8r64lNF08hjdsN0ifCzHpcjHh6IKUYl1BJIDw8kgN211OYx8jBy/fVKUSo LHRA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nv3bfj+ZWp/xAg6KXd25cCfTRS33AdfbHVEBg9iRX3E=; fh=XrVkwYI0p5DKwEazfp3k2QgXA6E5/Z8Ey41bGUWOtn0=; b=k1Z7cjIxM5xRWdmGunkqENqvybUx4lzmQqpslytDHHjCxbUM1eTvLGU9C8WxHDEVR+ nT3ncpt0+ZplEDLv3tjN5I5J0jS3lAfngvhjHkzNm9pJo5912CbyWkpmXSUU0Q6Nb6pf How0ogVyXei4/9ujYKCxmCedt8gGUbJ6RR1g7G3h+eK2MXnIzcOTMScfspsjBz3nvJzr vToPDUfTvxVvR8ov7CdTiFOeyI60IpSWuLS2qs3JV4SB3qAkLnhs5vbXojVPJR885upu xAl1uHy68Ida2qZoKjCq6BgSg6PwemjYNpE0u50/6xaajAaNb718pcWJaFwU1MSuZrm6 U9Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qmRuIlXI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id bz22-20020a056a02061600b0059d48c43152si589483pgb.40.2023.10.19.04.37.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 04:37:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qmRuIlXI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1EB888122890; Thu, 19 Oct 2023 04:37:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345377AbjJSLhY (ORCPT + 52 others); Thu, 19 Oct 2023 07:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345251AbjJSLhX (ORCPT ); Thu, 19 Oct 2023 07:37:23 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 503B812D; Thu, 19 Oct 2023 04:37:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C08C3C433CA; Thu, 19 Oct 2023 11:37:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697715441; bh=XRLiFEfMwPbR8a7nAVapktcO0NcTy6NCdxqoQM3snxg=; h=From:To:Cc:Subject:Date:From; b=qmRuIlXIR74X5BKQOa/KowjNG5uJeJiJ6i+tre6pUhvGQ2DkBCeoBtdGWga2qZs5g fgCNo5+CbGFk4UbfgkX9QTHPEhTQbZ0m6paBxhyUk/X6bmT4VkRW21N0ArYVRGYI2l YJdnZpIEdAVVPsHkeEAIwHVNwABELZlIQB2DrWspIgqk6avSx0Wfs2p3ZXhP9+XB1H 8R5Hr1WDlsNlYHi0j6q+ARCIkxkzrVDiDoOkORsfDbXbobEuXqmNOJNvAL4xQ8tlZA LROdrQSqlROmkbAgsVLw2jbvU2iqO1ufL5UVkWlRdjQlQGowOtDhJnf77IIS5UM6no Y/vZpgGaCRT7g== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qtRLA-0002Me-2u; Thu, 19 Oct 2023 13:37:24 +0200 From: Johan Hovold To: Kalle Valo Cc: Jeff Johnson , ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] wifi: ath12k: fix event locking Date: Thu, 19 Oct 2023 13:36:48 +0200 Message-ID: <20231019113650.9060-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 04:37:25 -0700 (PDT) As was reported here: https://lore.kernel.org/lkml/20231019104211.13769-1-johan+linaro@kernel.org/ https://lore.kernel.org/lkml/20231019112521.2071-1-johan+linaro@kernel.org/ RCU lockdep reported suspicious RCU usage in the ath11k temperature event handling code and code review revealed a few more handlers with similar problems. Apparently these issues have also been reproduced in the ath12k driver. Note that these were found through inspection and that this series has only been compile tested. Johan Johan Hovold (2): wifi: ath12k: fix dfs-radar and temperature event locking wifi: ath12k: fix htt mlo-offset event locking drivers/net/wireless/ath/ath12k/dp_rx.c | 7 +++++-- drivers/net/wireless/ath/ath12k/wmi.c | 8 +++++++- 2 files changed, 12 insertions(+), 3 deletions(-) -- 2.41.0