From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 12649C433DB for ; Tue, 9 Mar 2021 18:08:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D71356523A for ; Tue, 9 Mar 2021 18:08:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230457AbhCISI0 (ORCPT ); Tue, 9 Mar 2021 13:08:26 -0500 Received: from z11.mailgun.us ([104.130.96.11]:12934 "EHLO z11.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231522AbhCISHz (ORCPT ); Tue, 9 Mar 2021 13:07:55 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1615313275; h=Message-ID: References: In-Reply-To: Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=Y4KeOfpkZTj5+LOTg2wydvLswiN6LaDodSLe+3I8/jE=; b=qtj0s+Qw7kCYdBd0as4eFKkE+oKB6lpcmxZfDoGDr5QW3sFgBQ3qhHjELYopeJfKzOzGdPVV u4X73O6peOT7s51Dt+0LJQBXKy3SJ+kjCGIKf0lA4IyskOQlWpWvNDPbWdFc6+t95U2LeqIu qf6ynf4ePk5iSxXHJ0LHwW/us1k= X-Mailgun-Sending-Ip: 104.130.96.11 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 6047b975bb6300df75dbf4d0 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 09 Mar 2021 18:07:49 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 19B9BC433C6; Tue, 9 Mar 2021 18:07:49 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id 110CAC433CA; Tue, 9 Mar 2021 18:07:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 09 Mar 2021 10:07:48 -0800 From: Bhaumik Bhatt To: Kalle Valo Cc: Manivannan Sadhasivam , Hemant Kumar , linux-arm-msm@vger.kernel.org, ath11k@lists.infradead.org, kvalo=codeaurora.org@codeaurora.org Subject: Re: [regression] mhi: mhi_pm_st_worker blocked for more than 61 seconds. Organization: Qualcomm Innovation Center, Inc. Reply-To: bbhatt@codeaurora.org Mail-Reply-To: bbhatt@codeaurora.org In-Reply-To: <87k0qgz38r.fsf@codeaurora.org> References: <87im6755ii.fsf@codeaurora.org> <20210304151004.GA29563@work> <87blby6dir.fsf@codeaurora.org> <87k0qgz38r.fsf@codeaurora.org> Message-ID: X-Sender: bbhatt@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 2021-03-09 08:44 AM, Kalle Valo wrote: > Kalle Valo writes: > >> Manivannan Sadhasivam writes: >> >>> Hi Kalle, >>> >>> On Thu, Mar 04, 2021 at 04:59:33PM +0200, Kalle Valo wrote: >>>> Hi MHI folks, >>>> >>>> I upgraded my QCA6390 x86 test box to v5.12-rc1 and started seeing >>>> kernel crashes when testing ath11k. I don't recall seeing this on >>>> v5.11 >>>> so it looks like a new problem, but I cannot be 100% sure. >>>> Netconsole >>>> output is below. I have most of the kernel debug functionality >>>> enabled >>>> (KASAN etc). >>>> >>>> I can fairly easy reproduce this by looping insmod and rmmod of mhi, >>>> wireless and ath11k modules. It does not happen every time, but I >>>> would >>>> say I can reproduce the problem within 10 test loops or so. >>>> >>>> Any ideas what could cause this? I have not bisected this due to >>>> lack of >>>> time, but I can test patches etc. >>>> >>> >>> Not sure if this is related, Loic sent a patch which fixes an issue >>> with >>> "mhi_pm_state_worker": >>> >>> https://patchwork.kernel.org/project/linux-arm-msm/patch/1614161930-8513-1-git-send-email-loic.poulain@linaro.org/ >>> >>> Can you please test see if it fixes your issue also? >> >> Thanks for the link, but unfortunately not :( I was able to reproduce >> the issue just after 3 insmod/rmmod loops. > > I investigated this a bit more, I was actually able to reproduce this > in > v5.11 as well. So this is not a new regression. The reason why I > started > seeing this until now is that I enable more debug options in the > kernel, > the diff below. Without those changes I don't see the problem. > > I also found a workround, if I add sleep(1) after insmod ath11k_pci in > my test script I see 200 loops without crashes. But when I removed the > sleep the test script crashed only after 19 loops. So there definitely > is a race condition somewhere, just don't know where. I don't have time > to investigate this more, so I'll just use the workaround for the time > being. > > --- ../configs/nuc-debug-5.11 2021-02-21 08:55:53.836061988 +0200 > +++ .config 2021-03-09 16:22:53.598684524 +0200 > @@ -12,6 +12,7 @@ > CONFIG_CC_CAN_LINK_STATIC=y > CONFIG_CC_HAS_ASM_GOTO=y > CONFIG_CC_HAS_ASM_INLINE=y > +CONFIG_CONSTRUCTORS=y > CONFIG_IRQ_WORK=y > CONFIG_BUILDTIME_TABLE_SORT=y > CONFIG_THREAD_INFO_IN_TASK=y > @@ -280,6 +281,7 @@ > CONFIG_ARCH_WANT_GENERAL_HUGETLB=y > CONFIG_ZONE_DMA32=y > CONFIG_AUDIT_ARCH=y > +CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000 > CONFIG_HAVE_INTEL_TXT=y > CONFIG_X86_64_SMP=y > CONFIG_ARCH_SUPPORTS_UPROBES=y > @@ -748,8 +750,7 @@ > # CONFIG_MODULE_SIG is not set > # CONFIG_MODULE_COMPRESS is not set > # CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set > -# CONFIG_UNUSED_SYMBOLS is not set > -# CONFIG_TRIM_UNUSED_KSYMS is not set > +CONFIG_UNUSED_SYMBOLS=y > CONFIG_MODULES_TREE_LOOKUP=y > CONFIG_BLOCK=y > CONFIG_BLK_SCSI_REQUEST=y > @@ -1164,7 +1165,6 @@ > # CONFIG_NET_NCSI is not set > CONFIG_RPS=y > CONFIG_RFS_ACCEL=y > -CONFIG_SOCK_RX_QUEUE_MAPPING=y > CONFIG_XPS=y > # CONFIG_CGROUP_NET_PRIO is not set > # CONFIG_CGROUP_NET_CLASSID is not set > @@ -1685,7 +1685,6 @@ > # > # Distributed Switch Architecture drivers > # > -# CONFIG_NET_DSA_MV88E6XXX_PTP is not set > # end of Distributed Switch Architecture drivers > > CONFIG_ETHERNET=y > @@ -1700,6 +1699,7 @@ > # CONFIG_NET_VENDOR_AQUANTIA is not set > # CONFIG_NET_VENDOR_ARC is not set > # CONFIG_NET_VENDOR_ATHEROS is not set > +# CONFIG_NET_VENDOR_AURORA is not set > # CONFIG_NET_VENDOR_BROADCOM is not set > CONFIG_NET_VENDOR_BROCADE=y > # CONFIG_BNA is not set > @@ -1914,7 +1914,6 @@ > # CONFIG_MT7615E is not set > # CONFIG_MT7663U is not set > # CONFIG_MT7915E is not set > -# CONFIG_MT7921E is not set > # CONFIG_WLAN_VENDOR_MICROCHIP is not set > CONFIG_WLAN_VENDOR_RALINK=y > # CONFIG_RT2X00 is not set > @@ -4500,7 +4499,7 @@ > CONFIG_DEBUG_INFO_COMPRESSED=y > # CONFIG_DEBUG_INFO_SPLIT is not set > # CONFIG_DEBUG_INFO_DWARF4 is not set > -# CONFIG_GDB_SCRIPTS is not set > +CONFIG_GDB_SCRIPTS=y > CONFIG_FRAME_WARN=2048 > # CONFIG_STRIP_ASM_SYMS is not set > # CONFIG_READABLE_ASM is not set > @@ -4540,13 +4539,13 @@ > CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y > CONFIG_PAGE_OWNER=y > CONFIG_PAGE_POISONING=y > -# CONFIG_DEBUG_PAGE_REF is not set > +CONFIG_DEBUG_PAGE_REF=y > # CONFIG_DEBUG_RODATA_TEST is not set > CONFIG_ARCH_HAS_DEBUG_WX=y > CONFIG_DEBUG_WX=y > CONFIG_GENERIC_PTDUMP=y > CONFIG_PTDUMP_CORE=y > -# CONFIG_PTDUMP_DEBUGFS is not set > +CONFIG_PTDUMP_DEBUGFS=y > CONFIG_DEBUG_OBJECTS=y > # CONFIG_DEBUG_OBJECTS_SELFTEST is not set > CONFIG_DEBUG_OBJECTS_FREE=y > @@ -4568,8 +4567,8 @@ > CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=y > CONFIG_DEBUG_VM=y > CONFIG_DEBUG_VM_VMACACHE=y > -# CONFIG_DEBUG_VM_RB is not set > -# CONFIG_DEBUG_VM_PGFLAGS is not set > +CONFIG_DEBUG_VM_RB=y > +CONFIG_DEBUG_VM_PGFLAGS=y > CONFIG_DEBUG_VM_PGTABLE=y > CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y > CONFIG_DEBUG_VIRTUAL=y > @@ -4581,7 +4580,13 @@ > CONFIG_HAVE_ARCH_KASAN_VMALLOC=y > CONFIG_CC_HAS_KASAN_GENERIC=y > CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y > -# CONFIG_KASAN is not set > +CONFIG_KASAN=y > +CONFIG_KASAN_GENERIC=y > +# CONFIG_KASAN_OUTLINE is not set > +CONFIG_KASAN_INLINE=y > +CONFIG_KASAN_STACK=1 > +CONFIG_KASAN_VMALLOC=y > +# CONFIG_TEST_KASAN_MODULE is not set > # end of Memory Debugging > > CONFIG_DEBUG_SHIRQ=y Thanks Kalle. We will have to try to reproduce and investigate this on a different controller as well to dive in and fix any race if seen. Thanks, Bhaumik --- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 C50A7C433DB for ; Tue, 9 Mar 2021 18:08:14 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 65CAE6525F for ; Tue, 9 Mar 2021 18:08:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 65CAE6525F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To: Subject:Cc:To:From:Date:MIME-Version:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9aXiax5Pke8mABWLCbfIv6N2ka4wrXengBYYUWN1AsQ=; b=dTR4KLB1uM3Qlr VU3AcqOPUAQEOBqenU+sc0nmnVxBdFyKHzWBqxWFc807Wd2z5FSLqU51xAuM7Ku1SOHxSMOzL1DGj JuENdjRUF1+IXqyWdqqa+axuPZfHXTpQVoyXNEcDnki8dMybYmysSAezIDdPnXY2e2PvbhlQaBt9t DhHV5j0akVLgtO0cVxZ+ZsWZNXQggVgIUGbO+TZrzwcr0jzcH0JZAMP+bqWykh6V6P8rMn5aYYtEA MjETwujLd/QfPfyQ9REmJRMG49VAmLSywcHeb3T8BTStpNmOkDac9QJycoOr22Tu6cDC8eXJiz0my LjX9nP6AvbHqCiaycTuw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJgm8-005EIG-2M; Tue, 09 Mar 2021 18:08:08 +0000 Received: from z11.mailgun.us ([104.130.96.11]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJgm2-005EHE-1H for ath11k@lists.infradead.org; Tue, 09 Mar 2021 18:08:05 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1615313283; h=Message-ID: References: In-Reply-To: Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=Y4KeOfpkZTj5+LOTg2wydvLswiN6LaDodSLe+3I8/jE=; b=MN/jS7X7tbIHY2WJ7nMI655cx6eg13HhQdzBxQOibtybesVWlnWKKWmYT4PfRS4mq3gjRqsD tv400wfWtY36ikSWML7x8E+JAMaqerv92b9I0lIloZv4ve09qQvBZsUI8qIVs/DhOa96THEH gW4unrVcsSXAH13icy7230Tn29Y= X-Mailgun-Sending-Ip: 104.130.96.11 X-Mailgun-Sid: WyJmOGQ2ZiIsICJhdGgxMWtAbGlzdHMuaW5mcmFkZWFkLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 6047b975fa6ebd85e8844e69 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 09 Mar 2021 18:07:49 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 1026EC433ED; Tue, 9 Mar 2021 18:07:49 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id 110CAC433CA; Tue, 9 Mar 2021 18:07:48 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 09 Mar 2021 10:07:48 -0800 From: Bhaumik Bhatt To: Kalle Valo Cc: Manivannan Sadhasivam , Hemant Kumar , linux-arm-msm@vger.kernel.org, ath11k@lists.infradead.org, kvalo=codeaurora.org@codeaurora.org Subject: Re: [regression] mhi: mhi_pm_st_worker blocked for more than 61 seconds. Organization: Qualcomm Innovation Center, Inc. Mail-Reply-To: bbhatt@codeaurora.org In-Reply-To: <87k0qgz38r.fsf@codeaurora.org> References: <87im6755ii.fsf@codeaurora.org> <20210304151004.GA29563@work> <87blby6dir.fsf@codeaurora.org> <87k0qgz38r.fsf@codeaurora.org> Message-ID: X-Sender: bbhatt@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_180803_991868_A7E17F0B X-CRM114-Status: GOOD ( 28.71 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bbhatt@codeaurora.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath11k" Errors-To: ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org On 2021-03-09 08:44 AM, Kalle Valo wrote: > Kalle Valo writes: > >> Manivannan Sadhasivam writes: >> >>> Hi Kalle, >>> >>> On Thu, Mar 04, 2021 at 04:59:33PM +0200, Kalle Valo wrote: >>>> Hi MHI folks, >>>> >>>> I upgraded my QCA6390 x86 test box to v5.12-rc1 and started seeing >>>> kernel crashes when testing ath11k. I don't recall seeing this on >>>> v5.11 >>>> so it looks like a new problem, but I cannot be 100% sure. >>>> Netconsole >>>> output is below. I have most of the kernel debug functionality >>>> enabled >>>> (KASAN etc). >>>> >>>> I can fairly easy reproduce this by looping insmod and rmmod of mhi, >>>> wireless and ath11k modules. It does not happen every time, but I >>>> would >>>> say I can reproduce the problem within 10 test loops or so. >>>> >>>> Any ideas what could cause this? I have not bisected this due to >>>> lack of >>>> time, but I can test patches etc. >>>> >>> >>> Not sure if this is related, Loic sent a patch which fixes an issue >>> with >>> "mhi_pm_state_worker": >>> >>> https://patchwork.kernel.org/project/linux-arm-msm/patch/1614161930-8513-1-git-send-email-loic.poulain@linaro.org/ >>> >>> Can you please test see if it fixes your issue also? >> >> Thanks for the link, but unfortunately not :( I was able to reproduce >> the issue just after 3 insmod/rmmod loops. > > I investigated this a bit more, I was actually able to reproduce this > in > v5.11 as well. So this is not a new regression. The reason why I > started > seeing this until now is that I enable more debug options in the > kernel, > the diff below. Without those changes I don't see the problem. > > I also found a workround, if I add sleep(1) after insmod ath11k_pci in > my test script I see 200 loops without crashes. But when I removed the > sleep the test script crashed only after 19 loops. So there definitely > is a race condition somewhere, just don't know where. I don't have time > to investigate this more, so I'll just use the workaround for the time > being. > > --- ../configs/nuc-debug-5.11 2021-02-21 08:55:53.836061988 +0200 > +++ .config 2021-03-09 16:22:53.598684524 +0200 > @@ -12,6 +12,7 @@ > CONFIG_CC_CAN_LINK_STATIC=y > CONFIG_CC_HAS_ASM_GOTO=y > CONFIG_CC_HAS_ASM_INLINE=y > +CONFIG_CONSTRUCTORS=y > CONFIG_IRQ_WORK=y > CONFIG_BUILDTIME_TABLE_SORT=y > CONFIG_THREAD_INFO_IN_TASK=y > @@ -280,6 +281,7 @@ > CONFIG_ARCH_WANT_GENERAL_HUGETLB=y > CONFIG_ZONE_DMA32=y > CONFIG_AUDIT_ARCH=y > +CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000 > CONFIG_HAVE_INTEL_TXT=y > CONFIG_X86_64_SMP=y > CONFIG_ARCH_SUPPORTS_UPROBES=y > @@ -748,8 +750,7 @@ > # CONFIG_MODULE_SIG is not set > # CONFIG_MODULE_COMPRESS is not set > # CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set > -# CONFIG_UNUSED_SYMBOLS is not set > -# CONFIG_TRIM_UNUSED_KSYMS is not set > +CONFIG_UNUSED_SYMBOLS=y > CONFIG_MODULES_TREE_LOOKUP=y > CONFIG_BLOCK=y > CONFIG_BLK_SCSI_REQUEST=y > @@ -1164,7 +1165,6 @@ > # CONFIG_NET_NCSI is not set > CONFIG_RPS=y > CONFIG_RFS_ACCEL=y > -CONFIG_SOCK_RX_QUEUE_MAPPING=y > CONFIG_XPS=y > # CONFIG_CGROUP_NET_PRIO is not set > # CONFIG_CGROUP_NET_CLASSID is not set > @@ -1685,7 +1685,6 @@ > # > # Distributed Switch Architecture drivers > # > -# CONFIG_NET_DSA_MV88E6XXX_PTP is not set > # end of Distributed Switch Architecture drivers > > CONFIG_ETHERNET=y > @@ -1700,6 +1699,7 @@ > # CONFIG_NET_VENDOR_AQUANTIA is not set > # CONFIG_NET_VENDOR_ARC is not set > # CONFIG_NET_VENDOR_ATHEROS is not set > +# CONFIG_NET_VENDOR_AURORA is not set > # CONFIG_NET_VENDOR_BROADCOM is not set > CONFIG_NET_VENDOR_BROCADE=y > # CONFIG_BNA is not set > @@ -1914,7 +1914,6 @@ > # CONFIG_MT7615E is not set > # CONFIG_MT7663U is not set > # CONFIG_MT7915E is not set > -# CONFIG_MT7921E is not set > # CONFIG_WLAN_VENDOR_MICROCHIP is not set > CONFIG_WLAN_VENDOR_RALINK=y > # CONFIG_RT2X00 is not set > @@ -4500,7 +4499,7 @@ > CONFIG_DEBUG_INFO_COMPRESSED=y > # CONFIG_DEBUG_INFO_SPLIT is not set > # CONFIG_DEBUG_INFO_DWARF4 is not set > -# CONFIG_GDB_SCRIPTS is not set > +CONFIG_GDB_SCRIPTS=y > CONFIG_FRAME_WARN=2048 > # CONFIG_STRIP_ASM_SYMS is not set > # CONFIG_READABLE_ASM is not set > @@ -4540,13 +4539,13 @@ > CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y > CONFIG_PAGE_OWNER=y > CONFIG_PAGE_POISONING=y > -# CONFIG_DEBUG_PAGE_REF is not set > +CONFIG_DEBUG_PAGE_REF=y > # CONFIG_DEBUG_RODATA_TEST is not set > CONFIG_ARCH_HAS_DEBUG_WX=y > CONFIG_DEBUG_WX=y > CONFIG_GENERIC_PTDUMP=y > CONFIG_PTDUMP_CORE=y > -# CONFIG_PTDUMP_DEBUGFS is not set > +CONFIG_PTDUMP_DEBUGFS=y > CONFIG_DEBUG_OBJECTS=y > # CONFIG_DEBUG_OBJECTS_SELFTEST is not set > CONFIG_DEBUG_OBJECTS_FREE=y > @@ -4568,8 +4567,8 @@ > CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=y > CONFIG_DEBUG_VM=y > CONFIG_DEBUG_VM_VMACACHE=y > -# CONFIG_DEBUG_VM_RB is not set > -# CONFIG_DEBUG_VM_PGFLAGS is not set > +CONFIG_DEBUG_VM_RB=y > +CONFIG_DEBUG_VM_PGFLAGS=y > CONFIG_DEBUG_VM_PGTABLE=y > CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y > CONFIG_DEBUG_VIRTUAL=y > @@ -4581,7 +4580,13 @@ > CONFIG_HAVE_ARCH_KASAN_VMALLOC=y > CONFIG_CC_HAS_KASAN_GENERIC=y > CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y > -# CONFIG_KASAN is not set > +CONFIG_KASAN=y > +CONFIG_KASAN_GENERIC=y > +# CONFIG_KASAN_OUTLINE is not set > +CONFIG_KASAN_INLINE=y > +CONFIG_KASAN_STACK=1 > +CONFIG_KASAN_VMALLOC=y > +# CONFIG_TEST_KASAN_MODULE is not set > # end of Memory Debugging > > CONFIG_DEBUG_SHIRQ=y Thanks Kalle. We will have to try to reproduce and investigate this on a different controller as well to dive in and fix any race if seen. Thanks, Bhaumik --- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k