Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp541207lqr; Wed, 5 Jun 2024 13:22:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVknUM0THGv493tISy2+z2rurKfze09uqQHLzALN21MT7aZyTrA92PKst7Qludzk6Hm9/dowhYGCYLIqhMDaxAFXOgnAsfMHoRVVzvLtQ== X-Google-Smtp-Source: AGHT+IGtvceeRFc8ZDMUhMRa8buunCecvCe4x7i4MKIHJZlDJ7bQNJ0c334M20LJkzP7texeFfSF X-Received: by 2002:a05:620a:a97:b0:790:9823:190b with SMTP id af79cd13be357-79523d24b38mr378553685a.16.1717618956058; Wed, 05 Jun 2024 13:22:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717618956; cv=pass; d=google.com; s=arc-20160816; b=Y6e/mbPJzwq1sMQTaiSBOyMxj8k0ld6ioPdppiC1M+Fsg57pbySGSLDw+1Ycv9kbc1 /kMF9BsdlJX3rLVz2ZwK0uJ8RXIiu7QOvh8tg+PXSSJfR2fQ3abURhFzRyoJkxwM5k1g JfUS5SVQyiyHZ2D1szDcRvb35oLFjUU9KUFcvJ8/lh56IC1vMioG8gPL08vg+aRSSbQS ufR6vp3KLG6r4N9cX1EldnvxLmm1rWWdgKdZpppQmZxZccHlLwdhQtIilTtsBciUCO0L Uc50hIzXRFuZCHZy7uwe7oU8/1surnDlDf9nTGypkpJBDhyiiprMMfiBViCg6TzviBXp io6A== 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=AoLSOOfu0Rq61jGunDVKM1zwfZuGllcOvCZC04Mbbjo=; fh=Et0jfo7/FeuvVhODON3frg3as46vzU/Gbal7P4+dul8=; b=um/Ij5nr8nA2jYnLbKj9proHSlsHY8lLJirdoJ8HIAi05HLRegNDLYgr+6fIJNpqg2 mNiJskmAE/Woji0MlIs0Sd0pKWYCCdwcXYn5dfjRMBDojV34XTLL9ULn/1hakOj4+DkV ZjiAECjqb2T14aawZB22DeHADgdDlPXvmsy308+xsj+JVelvjPi2wKkeBFodFAax/2mC y4cS0K8ka1GbufbdmEjnXZWJ0q7UjkzHyQstivsT6OBuSLuwp9y8I+nh6i+4HKaDg1IL SKalG/QUpLnSvUEIEO+rGk36JA2uQROQcj58EWs+GAjDcw2gJKiruP7F3MIem84fwn10 RcUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dkb+sgNO; 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-8591-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8591-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-7951497a449si508795785a.53.2024.06.05.13.22.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8591-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dkb+sgNO; 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-8591-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8591-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C6FF11C2129E for ; Wed, 5 Jun 2024 20:22:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2ACE1586F5; Wed, 5 Jun 2024 20:22:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dkb+sgNO" 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 4B054152793 for ; Wed, 5 Jun 2024 20:22:31 +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=1717618953; cv=none; b=dqPhyThsjmPtIuk0386ommuGnAvwqhsE+Yl6oQ+fDZEuoRikXgdbxg5guyEXMFqYAbjWgoaqENpmy8sG3TP98jb82OijFXZKLE2Kw1E0Qi4a0YW7RAGd8y6bnjyjFUhSVNJv9khCT1gnIJEBgtoKo4kah3t0Qibh3NguhmV1RHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717618953; c=relaxed/simple; bh=Fg8pN3lU640Yp4jcD4fDCkiN5CpiGiZlXX9nFZjEcGo=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=JPrQidLKstIoQIAINKOAo47vEc2l/nbaMjTtlgkti8TD0KtNykCD0MJkvbxgT7b27wtVX1+AuRnNDoSA8Rel7EythJUfDkI7sp4HkahaHsdOjOrDGwx85wStBAjgoDJCIoPwasvwWGcKJAfHZlH7becZ43rmj9YOklcTuVhwwXM= 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=dkb+sgNO; 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 455I2iIh013962; Wed, 5 Jun 2024 20:22:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= AoLSOOfu0Rq61jGunDVKM1zwfZuGllcOvCZC04Mbbjo=; b=dkb+sgNOLE4DSfI2 a/29JuCIly2r98Gb8UbG5mCqdcnoSftazuDS9RpVFStAbew71Cb5rpxA1YZrLkzT 4aWvjdrameNgszfLuIYAbzP7Vceqv/RVID8KZTjSlSDM7IH7wtQnasSQQV/TEUdw ZiPq4yKhddffHhVyBEIb/0hDhEIm1G619QE4hScUd6XWlLgnIsf3qzFjeg33huvk 7Oh8BRrZ6t2Sl2ymjuZFYeGyYQwqc8dXXT9xl22MoRF25j1uVixFWQElbknV0wv+ kmW4RJSHhjGUKltP4nJqavwWDAS51GPiCoopjU++Fbb8nIihSJA8Uxkzkei17KLS fWjbqA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjvxy8a3a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jun 2024 20:22:22 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 455KMLEx002001 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jun 2024 20:22:21 GMT Received: from [10.48.241.109] (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.1544.9; Wed, 5 Jun 2024 13:22:21 -0700 Message-ID: <67afba59-91c4-431f-82ef-94f907a54b46@quicinc.com> Date: Wed, 5 Jun 2024 13:22:20 -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 v2] wifi: ath11k: Add firmware coredump collection support Content-Language: en-US To: Miaoqing Pan , CC: , References: <20240605034639.3942219-1-quic_miaoqing@quicinc.com> From: Jeff Johnson In-Reply-To: <20240605034639.3942219-1-quic_miaoqing@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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-ORIG-GUID: 6OXrSVjRsboMLUc4WZE66STUuCSYHVHC X-Proofpoint-GUID: 6OXrSVjRsboMLUc4WZE66STUuCSYHVHC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-05_02,2024-06-05_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 mlxscore=0 adultscore=0 bulkscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=744 impostorscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406050154 On 6/4/2024 8:46 PM, Miaoqing Pan 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. > > The changeset is mostly copied from: > https://lore.kernel.org/all/20240325183414.4016663-1-quic_ssreeela@quicinc.com/. > > Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04358-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > > Signed-off-by: Miaoqing Pan Acked-by: Jeff Johnson