Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5336320ybl; Tue, 27 Aug 2019 03:06:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqysGZhxG2JS89n1vKFHAyscjxobKr9mSQRqyDbM5R5DqcNlQkIQtyJHq49YyWyleQbIGhBe X-Received: by 2002:a63:dc4f:: with SMTP id f15mr20854586pgj.227.1566900418715; Tue, 27 Aug 2019 03:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566900418; cv=none; d=google.com; s=arc-20160816; b=FCN9Q5g/YLYZX1LWJNB1Eq2KYSMxuYnBZKZ+V99JF+FP89c50UcWVq0EBb23JA9jEH j577q7o0opJrMihN6skUO+hvkE1eKtnno338M28DWA1dNb5ErO8+ZuocdLRxBZzsV2Yu ZaPc42+gotkQzkV79f3LTpkVv7RaxaUUxMTOmhqnYapCQ7XD37UcDjPZDGC08pFyQQjd ELDvEFxcpclUXPgwNUX9i0a5fggjoo7kHu7LhtfioTUvRwgBkXWpykABMPIIv6WbMxAs E+a0F7o+yj940ycl4kDrb8go12Z7ohYp+aZ7lW6Ec0raD4mbREsJNsurdlN7z2E+M31P wiBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=H5oEg8swbPaaUt+BIs7AcscyMu6JdspUq4AfFlMZSUs=; b=rSMHgCFYVheMcz5fkLe8Zf10bAMhtZhV/fSNV2Rn92IXhnDat7++F2J41P1/iB8Srf gBe5hb3bfSDEu6Prn82y/C31d1pfGnfALK3MlDxCgiSNQoCaJLgESIlLBOxXSyqR9EJF Kct/VsQ+urTayUATBBE8PHljDx9BfDm3cNRgHHQNoCpIsHzIYLUeRrMN8aPH40FZBhvN lG7rUewKUWEBDsgJJS0MsZ0Axh0nAlF87c28CQygWgRIkptVXH0wh1OWhpdu0Mgn6l/g R4KfCgByXI+31aDQmQhQ67u+NtUSM/aYvmKH2yuQaT+X8nh5RHHCwzWE7ZRoDHniueAf Dfpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=JTF6S9Am; dkim=pass header.i=@codeaurora.org header.s=default header.b=V2sQStDL; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si2072921pjr.41.2019.08.27.03.06.36; Tue, 27 Aug 2019 03:06:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=JTF6S9Am; dkim=pass header.i=@codeaurora.org header.s=default header.b=V2sQStDL; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729377AbfH0KEa (ORCPT + 99 others); Tue, 27 Aug 2019 06:04:30 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34230 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727815AbfH0KE3 (ORCPT ); Tue, 27 Aug 2019 06:04:29 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1A7C3611BE; Tue, 27 Aug 2019 10:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566900268; bh=mKpU5ukQpG6xrPPNu7zxQ/8rKR28a4u1rfmuS6oZCKU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JTF6S9AmpNr5ouKcSHU0BibXx4iYspj14ler8tmdLkvg3LYfiYR/6zakZyzVgC8Br b5L6hmEeV58gVWUpXYwgGiPDhmvhDxmFK298pttNMKvenjBXr3L+EbGxmgHAbY2+nr k2IEpWKyor6sX2m5nl7jWDGCiCz8k15Z+AutA7xc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 2EBE7611BF; Tue, 27 Aug 2019 10:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566900267; bh=mKpU5ukQpG6xrPPNu7zxQ/8rKR28a4u1rfmuS6oZCKU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=V2sQStDLFK36TxSrONAP4t5GIMVbyLnZgb3T/CD1Bj93s8yK+AuKfaaWCcUgemxVv ugybbW+CRhI7T0ffX3LSay6+B9R1Kt0an4jlUtNyoseGXvrvCjnfQHx6FwJbn8KkdG ZPaT9hFG2uNnSuW/vpPVZ1Mvjq0JmrkHiy7FgKW4= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 27 Aug 2019 15:34:27 +0530 From: Anilkumar Kolli To: Sven Eckelmann Cc: ath11k@lists.infradead.org, devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, Kalle Valo Subject: Re: [PATCH 10/49] ath11k: add debug.c In-Reply-To: <18655975.RomJW5s5WE@bentobox> References: <1566316095-27507-1-git-send-email-kvalo@codeaurora.org> <4441194.D8eDD6Tzdi@bentobox> <6622b83f754404ec05b9442027757c5e@codeaurora.org> <18655975.RomJW5s5WE@bentobox> Message-ID: X-Sender: akolli@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019-08-27 15:23, Sven Eckelmann wrote: > On Tuesday, 27 August 2019 11:04:23 CEST Anilkumar Kolli wrote: > [...] >> > Yes, but it shouldn't kill the complete system. >> > >> This will not kill the whole system, This will crash target and we >> have >> mechanism to recover the system. >> >> Hope u have generated the crash with below patch, >> https://source.codeaurora.org/quic/qsdk/oss/system/feeds/wlan-open/tree/mac80211/patches/019-ath11k-disable-q6-recovery-to-crash-kernel.patch?h=win_ap.1.0 >> >> Please remove this patch to see the target recover after the crash. > > John also pointed me to this patch yesterday and I have now removed it. > > But the wifi hardware doesn't recover after issuing an assert. All(?) > firmware > request will just timeout: > > [ 1093.114530] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1093.114555] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1093.118903] ath11k c000000.wifi1: Failed to set dtim period for > VDEV 0: -11 > [ 1096.124532] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1096.124554] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1096.128902] ath11k c000000.wifi1: Failed to set CTS prot for > VDEV: 0 > [ 1099.134527] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1099.134547] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1099.138895] ath11k c000000.wifi1: Failed to set preamble for > VDEV: 0 > [ 1102.144526] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1102.144546] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1102.148894] ath11k c000000.wifi1: failed to set mgmt tx rate -11 > [ 1105.154526] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1105.154547] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1105.158895] ath11k c000000.wifi1: failed to set beacon tx rate > -11 > [ 1114.164529] ath11k c000000.wifi1: wmi command 16387 timeout > [ 1114.164553] ath11k c000000.wifi1: failed to send > WMI_PDEV_SET_PARAM cmd > [ 1114.168899] ath11k c000000.wifi1: Failed to set beacon mode for > VDEV: 0 > [ 1117.174527] ath11k c000000.wifi1: wmi command 28675 timeout > [ 1117.174550] ath11k c000000.wifi1: failed to send > WMI_BCN_TMPL_CMDID > [ 1117.178899] ath11k c000000.wifi1: failed to submit beacon > template command: -11 > [ 1117.185231] ath11k c000000.wifi1: failed to update bcn template: > -11 > [ 1120.184524] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1120.184545] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1120.188893] ath11k c000000.wifi1: Failed to set dtim period for > VDEV 0: -11 > [ 1123.194527] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1123.194548] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1123.198895] ath11k c000000.wifi1: Failed to set CTS prot for > VDEV: 0 > [ 1126.204526] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1126.204547] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1126.208894] ath11k c000000.wifi1: Failed to set preamble for > VDEV: 0 > [ 1129.214527] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1129.214548] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1129.218897] ath11k c000000.wifi1: failed to set mgmt tx rate -11 > [ 1132.224525] ath11k c000000.wifi1: wmi command 20488 timeout > [ 1132.224546] ath11k c000000.wifi1: failed to send > WMI_VDEV_SET_PARAM_CMDID > [ 1132.228894] ath11k c000000.wifi1: failed to set beacon tx rate > -11 > > ath11k must be unloaded + loaded again to fix this problem. > Could you plz try removing below patch? https://source.codeaurora.org/quic/qsdk/oss/system/feeds/wlan-open/tree/mac80211/patches/072-ath11k-print-stats-on-crash.patch?h=win_ap.1.0 -- Thanks Anil.