Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1860660rwp; Thu, 13 Jul 2023 18:38:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlFjadzeShgrOpK8YAMgXhZ35nOO30NB7eCYI2oWnvExSHSjFqA9lDeDkXQrZ6xscrheM8bn X-Received: by 2002:adf:fd4a:0:b0:30f:c012:b529 with SMTP id h10-20020adffd4a000000b0030fc012b529mr3287982wrs.56.1689298716321; Thu, 13 Jul 2023 18:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689298716; cv=none; d=google.com; s=arc-20160816; b=V/0xVEEAgv0EI/5045pxnRRWq6kCNORxeh61fQ9DOwHrAZAgh0fVLhchQKDWgbR/mZ 4w9jErurvfeOk1hKHwctwEUuBT34ETPzmzgBHHGF1QT5ZIeX5sfoyKV1VEmMYhUJn4Et O9VfWPZsCxbrk/Upxc/qvczOqq7j0NhMMHrdEaMM8YuhwSBI0im8BwhBJFpP/oqxpLE9 GClbRgGOTW8HjF6gm/GqNDD8boPgZogrhNduKnyqTcjUuEOeBBToSzY7OujmLhM0y1ot toSVXQnLB/a9Hes8GdmrJ8U6Fi2owcCx/O5V4AENbHTdyk9vg5S4X0IrPLqiuWqX0r5t myXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iIYd+ndnBP9Et0RdX1MT727gSCrDVeXp4gIeVGs58Xo=; fh=jN9tdtGJBhlNaeFlwdrx4CCqX+1uZxSo9jUBiEIEYy4=; b=gPAvlM5mtkap6cbEkuBNhDd7I3N+7di7LzpQPWOhGYd5nWnCvDPRdlit2AMzR5pY6B MR1WWblNZdN7r4uaCGN5DZoIGgedDuBLsKnsp1N1oFYrdm/TPoLtDmaYwKO4TZ8aJbPF mWRmk/9Bb5eGkQGK7nG+PKbVx6eDZHJnsjAg2sOTIMdNpyod/cKucAZXfejWP4y+u3vB gkWURigbrYa74/mL8KGJYp8JytWP1dK654SGxoYGK7M0rNGA89ut68BRWY6LXNxnEFKE GNyM7TG6m+x7IaD2EZBQKnqptbihWGsc7dqi5jQ8h0QypIQtQelyy8fZglDjNUVvj7NI 7l6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Bn837O5N; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020aa7d0c8000000b0051e2757995esi7473957edo.628.2023.07.13.18.38.16; Thu, 13 Jul 2023 18:38:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Bn837O5N; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233557AbjGNBa5 (ORCPT + 59 others); Thu, 13 Jul 2023 21:30:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233753AbjGNBay (ORCPT ); Thu, 13 Jul 2023 21:30:54 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A07D2D7B for ; Thu, 13 Jul 2023 18:30:42 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36E1JQ5d009251; Fri, 14 Jul 2023 01:30:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=iIYd+ndnBP9Et0RdX1MT727gSCrDVeXp4gIeVGs58Xo=; b=Bn837O5NuhmHE4Z7uzcSiFILDjnM239SjcdIG7ZjO9JcP25UZn+GAU3sXYNlxS8tA8cM pgU2aPzQ4zn2KSOUD0KedJTgBCxdTG1gh2IH/okgl6O8yxsuGM0tdYVNP4Ucz9oA8OHb BH8KaK2XjwsEmAFap0SjwtqRysJiEE32+fUO31r+EjDANG5H/1Tm93dH6mGyTefCsU03 RNWbpJitLIvQCLPFOIQk6a9rInGjH4iX9D0nO0IQwjcNV7W/HBQCB3EHEa1lLWKK2O9l lsvd9smMeDbeMjB9ktWD+/uOUyCJi6xGYyKtyNXSOINrN+DcG76twxsjaptNkbt4lpsS 4A== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rtptu8kcv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 01:30:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36E1UT7C026872 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 01:30:29 GMT Received: from [10.111.182.44] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Thu, 13 Jul 2023 18:30:29 -0700 Message-ID: Date: Thu, 13 Jul 2023 18:30:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [v4] wifi: ath11k: Add crash logging Content-Language: en-US To: Arowa Suliman , CC: References: <20230714001126.463127-1-arowa@chromium.org> From: Jeff Johnson In-Reply-To: <20230714001126.463127-1-arowa@chromium.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Y9nnnd2rj8rolU2ha7XreZeiABh70oYe X-Proofpoint-ORIG-GUID: Y9nnnd2rj8rolU2ha7XreZeiABh70oYe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-13_12,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 spamscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307140012 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/13/2023 5:10 PM, Arowa Suliman wrote: > Currently, the ath11k driver does not print a crash signature when a > crash happens. Checked by triggering a simulated crash using the command > [1] and checking dmesg for logs. > > [1] echo assert > /sys/kernel/debug/ath11k/../simulate_fw_crash > > Change the crash logging from debug to informational and add a warning > when firmware crash MHI_CB_EE_RDDM happens. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23 > > Signed-off-by: Arowa Suliman Reviewed-by: Jeff Johnson