Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3019463lqp; Mon, 25 Mar 2024 17:15:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGWFKuMzIHYS/kX1H1sjPQtlZCeGKAT0iMZNQ+wKLtmm9P7WjAxbZRFySuqGWRo/+mwS1+EMoq2Hx0d9RO2/6KuXVtk7Q2GOpbWNz6CA== X-Google-Smtp-Source: AGHT+IEnGdeO9/lK2ExRjF6I/w8S43tJfMaOkIO0RqYeK2x0+zdCrRmCnhQO29KwfdumioRwG03X X-Received: by 2002:a05:6871:4317:b0:221:c9ef:5b with SMTP id lu23-20020a056871431700b00221c9ef005bmr8804636oab.18.1711412157391; Mon, 25 Mar 2024 17:15:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711412157; cv=pass; d=google.com; s=arc-20160816; b=mTG9cnGPHKvo2bjv2CBKUIn0vV8ahQUZt+lRxCdedvRnAqVVE/sMQKYvn/5GHcvT16 ie3CniooS+udoODwDPmWUP1QfUtSgwRbIzM/w+nJKgiLokLFHbuAYaGm9GWLbG0OTkny GAUDhvSw01Ai3vdT7Crr9dbgYd1nBJZAB2DZTEXPgsq7BBqCtPcLYqCbtQ5g9xKgxjkd OefNvZS+YqMIBdUfk+XN/TuiflOtAfh4HVabHns49PUDhFGpnCBsnAcX82se1XQik/0j mdwycgnCKbUdomRaJd6RoXEyi52aAfWH5Iphn3F34P+z73hVPTpdk7Q7qxNEWBnfNkCP 4I8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=VgxrJr7RxCBZbVsl1HuThf/tnvSo8NafdzAd0VT/Vdc=; fh=R5IYWCToCnrsniztI8TFZtwSog458TlmSryNyK1u1rs=; b=RmQKvcxkXpBeyvN0nSkwX0eSfgx4spnxp25OtG01t/5XR1NhBUi4/2i9I6JSa7neUC +02xpXNWuJI16HR60lfc928/GlsTUFRwJZ5sLHcUPShO89lu4lYqRxXAJTv1gOVqviyO 8P//8IBEfK/JUFO0pTy24feUDzVBL+nfJe3Xzjhm3HhcOi3akBHEBnmla5GftxNVYuru jYOOhs1J99ihcy7/hEMoxMhn1+uQBkporNOYQko035SCGm3H28uqEecXaD47nZbkDKmZ Giq6TNKlQ7zUfOZLOLhl50EcArC8uDfrAEpzgy2w6B/pj1sQ3L1Gf3oj8zmfUmairOqz iqFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mLzvcfxw; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s10-20020a62e70a000000b006ea97f88260si5720039pfh.296.2024.03.25.17.15.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 17:15:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mLzvcfxw; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-5246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 59BDCB63E63 for ; Mon, 25 Mar 2024 20:17:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E76E45C08; Mon, 25 Mar 2024 20:15:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mLzvcfxw" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4E7B55C33 for ; Mon, 25 Mar 2024 20:15:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711397738; cv=none; b=XEg1EChDvoDfyrAxiBuuBck8Ac8dIHOZzM9jBb53s3fU7n+sDP/qq9rVqbZoE6HruDkxwbVgWDRpBAbX9qVhd4wVSW724jah2jS+yX7gEwcu56vMVqCdBdFCEZpKni7aG+LyEieQflOZL4D7h1xhkfYr9DdUbZ+mIcKI6bVGUxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711397738; c=relaxed/simple; bh=WvYQ7tS48NKU46IjZBI+ciCPqzCBUhz05OM2yEl6/WU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=fMzFLY5OITorkBLfGMTI4dQ3GzbptDYZR1deJsvYdxafMjl8BBLije00lMhpOFhgFMQwggeK2qdPSj4tpffcFZZU+OcNnawTAO09NvJxz8sPRG2g898SPRkLdN4BGn3mpi594bdEUIc6j7WYqC0bmd+vvmHE0wR+UlbBFty3/3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=mLzvcfxw; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42PJWrB6024198; Mon, 25 Mar 2024 20:15:31 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=VgxrJr7RxCBZbVsl1HuThf/tnvSo8NafdzAd0VT/Vdc=; b=mL zvcfxw++rG8vdYyWwKKygkocE6rHlrLoR2m1zAB8qQBQezzL2shXK1jwlQ+M/HGG JHy3SKjScJgu3yStI0SLJyO0Rma4dXn7em1As6OYsTqMOIfnF1JOXvmUvR9SO4kK RmmrnhEac3/fDSJBko3kWZnUKeka1J7TlQR/WvGpPcf3BVsVtFPyEBvRTnXQ85Il 0iuDnqNtyNr6fvNyaq/XZuVNhRZpbukUHySnkNClskvRT6ivltPsOoV7UtYEsh6Z yei3TLlopMFSECODciVNBtF1XQ6shS/OmJ77eIC0Im3ULJO3Z7HIraFIWXdg33Ov yHABE2pw+XHC7V8wDCDw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x3626hjqt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 20:15:31 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42PKFUSH006736 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 20:15:30 GMT Received: from [10.227.110.203] (10.80.80.8) 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.40; Mon, 25 Mar 2024 13:15:29 -0700 Message-ID: <42eda95a-34a7-4e0a-a57d-6f7c57b8f53a@quicinc.com> Date: Mon, 25 Mar 2024 13:15:29 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3]wifi: ath12k: Add firmware coredump collection support Content-Language: en-US To: Sowmiya Sree Elavalagan , CC: References: <20240325183414.4016663-1-quic_ssreeela@quicinc.com> From: Jeff Johnson In-Reply-To: <20240325183414.4016663-1-quic_ssreeela@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: Ddah0_Vwja2chAd1N6k_CRBqGAxbGPJc X-Proofpoint-GUID: Ddah0_Vwja2chAd1N6k_CRBqGAxbGPJc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-25_19,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 mlxlogscore=691 mlxscore=0 priorityscore=1501 phishscore=0 adultscore=0 clxscore=1015 malwarescore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403250123 On 3/25/2024 11:34 AM, Sowmiya Sree Elavalagan wrote: > In case of firmware assert snapshot of firmware memory is essential for > debugging. Add firmware coredump collection support for PCI bus. > Collect RDDM and firmware paging dumps from MHI and pack them in TLV > format and also pack various memory shared during QMI phase in separate > TLVs. Add necessary header and share the dumps to user space using dev > coredump framework. Coredump collection is disabled by default and can > be enabled using menuconfig. Dump collected for a radio is 55 MB > approximately. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.2.1-00201-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Sowmiya Sree Elavalagan Acked-by: Jeff Johnson