Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51E23C43461 for ; Wed, 2 Sep 2020 22:54:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 23E0620767 for ; Wed, 2 Sep 2020 22:54:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b="WChM0vVJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726384AbgIBWyf (ORCPT ); Wed, 2 Sep 2020 18:54:35 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:35614 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbgIBWye (ORCPT ); Wed, 2 Sep 2020 18:54:34 -0400 Received: from [192.168.254.6] (unknown [50.34.202.127]) (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 A362A13C2B0; Wed, 2 Sep 2020 15:54:33 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com A362A13C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1599087273; bh=pHxVwMxACrBCil+q7AoKu4vAQ8nmnpHC4/aVbpTswGM=; h=To:From:Subject:Date:From; b=WChM0vVJSxgPWIqFy1cQ8hOP5BTpiSNwxr9TPS54zHNLIV4Xd3odBsQxEygE9irDW L4MqKvpkbR3Wf87blUQFXZWrduk5p3+kcl2DHZ6OYF0yKdZSCyh1n2G2cZPGrflu8Z JX3ntO5/Aw5JCHQcVq+BdQMYAqzxDczCjqJDUxDQ= To: "linux-wireless@vger.kernel.org" , Wen Gong From: Ben Greear Subject: lockdep splat in kvallo ath tree Organization: Candela Technologies Message-ID: <0ef69472-9613-c265-0635-ff2ef0cf274f@candelatech.com> Date: Wed, 2 Sep 2020 15:54:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The patch below adds a call to ath10k_debug_fw_stats_request(ar), which expects ar->conf_mutex to be held, but it is *not* held in this code path. This leads to warnings when lockdep is enabled. greearb@bendt7 ath10k]$ git show 4913e675630ec commit 4913e675630ec1a15c92651f426a63755c71b91b Author: Wen Gong Date: Thu Apr 23 10:27:58 2020 +0800 ath10k: enable rx duration report default for wmi tlv When run command "iw dev wlan0 station dump", the rx duration is 0. When firmware indicate WMI_UPDATE_STATS_EVENTID, extended flag of statsis not set by default, so firmware do not report rx duration. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com