Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp922728pxb; Tue, 9 Feb 2021 16:49:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZ41oyqrtRGZtKlNE5RNiQeRqMVjRFT30POUzZfeMfnYRmgA+2urXM3wJ4ZyG/oA8xhNIE X-Received: by 2002:a17:906:a0c:: with SMTP id w12mr351227ejf.211.1612918146554; Tue, 09 Feb 2021 16:49:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612918146; cv=none; d=google.com; s=arc-20160816; b=NlA7pPJPMzA9SplSw+01OKXEpEHpoVa9CK7BSItdOhP+HrLf4xZTlzJ/G5gfll7qeS D0gxWcp6/TIR2ygsQRRqKV2otSAfTK1NJfO2j94C1pC+SCGdWj2U0ZraJYlDNV4Hx/dq aw0U92I58w4x7CiCM22v+ZGzGEuMUm25ifQLrRjdj56h24bwiTD4bXXEVGXcikO6b+VA d/niptxDHuAEAclqBYlG/pN8emfxAIRL9ncK704Y0MJJgwQOAnjJ5uUvyiJk+UcQq+xp LroNkAYUMJoYsphnNxAd2a1TVqgcKPJXg1tKRIArIsXCj1WLAClo1Zu1hfKDkbCmRbXl fBAA== 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=etuaipsRI8VUBgOpRvDQ8x9GuLj3LBOY0jfZPD+9PZU=; b=mIL17A295j0gGwd0bu6ZmXIH1f0SbD5C8i1UemLF/gVkBZH10IgvXbK0V14amY4nMg iXrKPS3mn8DRab0V+ulIgL9yTLjRZFz8l6LKVdndwcyRxcPb2lyjxzbcgD2eu77CfRVk R2uLtWHaWFpZa+ZkjA5nhSRuxAFnDQzYuCJXar0pgX+sUrRENMaRLRkx+IeM3FRqsOJ4 ZQ14j0atQZAmKp8+oI/4cNvYXKXNbyby7QZYJ9uwb4703t+0iiQY0o7nDanuCs5p3s2+ mZM1GAezL7Gvonj4SOMhcNKvMeau77vQiFkIrSQE6ddCrCheWnbh8m6I7+G+Z8Lzm4Lf S5CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=RyZp4bKd; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si302135edb.592.2021.02.09.16.48.43; Tue, 09 Feb 2021 16:49:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=RyZp4bKd; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234463AbhBJApR (ORCPT + 99 others); Tue, 9 Feb 2021 19:45:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234629AbhBJAnR (ORCPT ); Tue, 9 Feb 2021 19:43:17 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CB1FC06174A for ; Tue, 9 Feb 2021 16:42:29 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id y11so302614otq.1 for ; Tue, 09 Feb 2021 16:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=etuaipsRI8VUBgOpRvDQ8x9GuLj3LBOY0jfZPD+9PZU=; b=RyZp4bKd5jXCGBD5pFwR/hdVXBbL9IX4AzrmLeByylFz7gzsGYVcbuRrTX+6s0BQcj kQ3nHfB7Oxxdz0toIE7NU2BIn/ub7gbfxk4EjGeBbiVXq9SdLaOpfbNhj0vLqF4fO1VK cBq9b3eJsmf+tmJeEtT48SPYH17zjGsqAo3yY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=etuaipsRI8VUBgOpRvDQ8x9GuLj3LBOY0jfZPD+9PZU=; b=HHFT872xmLGvdBgQ/fSxp5GLKyLakgi0pdfkY4nqmzsfCU0KISAm3fDQsKElgfA21F aWO9JYGMDm7DdS1+bDLx7vFCfsUi2qZuDUpFjnaOGSguQ4M8bolKX+CwijXxlojF3e/6 p4iwu/ySiZ3ySYvM9uL5nyL326VMAoE4wgBFik7m8ANg/QrEU6R55paGAW+xxBVUQYdJ ffOW/gmoKncgXQ4Dm3G9cbQUKVswTA74AU/7sm0IVE4l8y8Ebd6Bo3VOE3DmCujS1HPH ZzQxHNio2DG0H3wFPIFT5kEIMKiH7Kx7R5lD8YGpqbfeHEsGPqCXtZ1cZZbGhek05q0h DtBA== X-Gm-Message-State: AOAM530fawn/Ub+BxBgBihLrslHP3PKKBT/zV8ZS7mhFaN8/zgCMrhNb qT4mbzZPq+EPm/QuT0YWDmcI0g== X-Received: by 2002:a9d:a87:: with SMTP id 7mr227340otq.319.1612917748911; Tue, 09 Feb 2021 16:42:28 -0800 (PST) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id s123sm103060oos.3.2021.02.09.16.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 16:42:28 -0800 (PST) From: Shuah Khan To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: Shuah Khan , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] ath10k fixes for warns Date: Tue, 9 Feb 2021 17:42:21 -0700 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org I have been seeing lockdep asserts for a couple of months and finally found time to debug and fix the problems. The dmesg looks clean with these fixes. Enabling LOCKDEP and ATH10K_DEBUGFS triggers the lockdep assert and RCU warns. The first two patches in this series are fixes to lockdep assert and RCU usage bugs. The last patch (5/5) is a fix to reduce invalid ht params rate message noise. Patch 3/4 changes a message from debug to warn. Patch 4 adds detect to assert not calling ath10k_drain_tx() holding conf_mutex. Shuah Khan (5): ath10k: fix conf_mutex lock assert in ath10k_debug_fw_stats_request() ath10k: fix WARNING: suspicious RCU usage ath10k: change ath10k_offchan_tx_work() peer present msg to a warn ath10k: detect conf_mutex held ath10k_drain_tx() calls ath10k: reduce invalid ht params rate message noise drivers/net/wireless/ath/ath10k/mac.c | 13 ++++++++----- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 15 +++++++++++---- 2 files changed, 19 insertions(+), 9 deletions(-) -- 2.27.0