Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1261990lqj; Mon, 3 Jun 2024 15:59:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZAxj/z/WRD/KgdnNykZb6TUNZtkOMyUxUhzjgXmYlOXE1hOq9cauT5WTdKxDyB1vzxRyxU3M+OWynCrI6AVc3CoCpmZ3VVcNL/bCcfw== X-Google-Smtp-Source: AGHT+IHyTCHzttx54/T7y/z4BFA/jZhhybSslMkJmSI2y02SMJud2m2Z08LGlKx676EoBCH3eql1 X-Received: by 2002:a17:902:ce88:b0:1f6:2a3a:cdfb with SMTP id d9443c01a7336-1f636fd984dmr136811675ad.8.1717455593057; Mon, 03 Jun 2024 15:59:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717455593; cv=pass; d=google.com; s=arc-20160816; b=BDMjKhZMiIBdSoA9vGYy7C5mrk5sN+zo7W1iDynBCUninRIRlduffMEyn4Bd5UrOq8 1Pc9ATt1MqTguy0ty1oiqPFCWBboQJSsr4XqjBWJI/4qVQ1MPtMe87D9pKhYR5l4MuK7 d+fT1RZHE9JIjDEKiI3MRqZ79pLhQNWtLuRCuW3HlSX0DGGi42yfRBddcEk7Kg60643i mcRJtTTBGrjbz3vT/C2Hp6ee7q6+Zg+XtxddVJq2k3jFe7MnvB/mCvkAVlJPEHBqtGQL pKHtkWzCqcF3j3aGRKoeNrKXB1FJPYyVcPZcOlY5bt5nD3CelxIwy5me/00BPWp5Hmyc 3/cQ== 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=Px4qKugSVxGRibAEece6XmaRLJzAdYMUN0V3+r8mfGI=; fh=Et0jfo7/FeuvVhODON3frg3as46vzU/Gbal7P4+dul8=; b=EnqoN13am01IqkOevkCoTgCxf3Oj3K0z/NNL8iQwXWTHeukeLzmF976nmsVW7IYgiE 2E8Z7oycRElJO+/t2wphHY8PrupZOfU04sx80nw2e9UaDyWPde8rgHISKjjagFq31F4h L5DNKoWHfO+yDCKvFnEelSbwkpjOlA01bVmKApasfc4Ps06nsnrSuYFG7dICm+sIBoMa 8AH981Y+TlFhkfH6DDOyncZi0TqZJ3QMFihNaySREZJGsj7q/4ksTa8eAblkPCHouHUz mWJEyt2QDPrICkjpla5eXgysSW5ij45UqKJEcthHke7NgwHIzzTU8JfuN6nXRFodjucp g2QQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ndu32Zz3; 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-8449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323dda10si72025365ad.213.2024.06.03.15.59.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:59:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ndu32Zz3; 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-8449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8449-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A9EF528281C for ; Mon, 3 Jun 2024 22:59:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B853135A46; Mon, 3 Jun 2024 22:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ndu32Zz3" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 B9784F9E9 for ; Mon, 3 Jun 2024 22:59:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717455589; cv=none; b=ihq8GapZbS/M+atS9zxUTZrJxOuLup6q2fVzP6no7RR0aYwPgVdWNQcNy5YRuBTOXfu3Mb6ws+98F56Z097yehnKY7QPX+MLU5DqpixmintRjDOL6Zbmz3ykibtIKA7qH7O0bG0YSKrIzY8cJWjGw0gp2WvhWDXS/NhJui0AD3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717455589; c=relaxed/simple; bh=kDab/tn/JR0uKt0wLEWVt+3Kzi3GA6RasluJ2dOxl30=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=n/gQypkIKxDWReYcpfwa+T8PL6PiUGB/2r0fo0dRMmgvAdjNEt/SWv59IEwwPwGQPlBmoRyZ9OSl5OpltnHT9GylK2dwmg3KfFaMzRxGUTRk5gdCrm09JHLQqWLJUFBDsWHpo4V8UIthjtX7yIsgDGFE9FDOU34xMRY+hoewmIk= 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=ndu32Zz3; arc=none smtp.client-ip=205.220.180.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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 453KeI92011909; Mon, 3 Jun 2024 22:59:42 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= Px4qKugSVxGRibAEece6XmaRLJzAdYMUN0V3+r8mfGI=; b=ndu32Zz3PGYXyeoz Q5VLgKdpSUO6m0O3X5h3Pcm4DkhOtzT10ZiKSXW2uAZHJ+Ejs97HaziBlKrHBkS0 XCAU1z9mEP+OzWbekV6fgEabyqr9W3HVaSzN7aWRToUB52LdGTFoFb2FSsBJzD2k 2AhnP/sjsaJeC0QfmBTvkBc15LOAnxkS9ahElbCnPtVzuEPCjMm24N4T/7WQyllN DvQdSrFTWeY0CfeIY8zGxmaop52HbSXUSBTd9WI+DUqcElUL8M8bIse0/zBJMbFH nd0Y6b42Prh/UcV1lSGG6ERLvQx60y8jT9khwb8TJl0q//E6RZRTLNlsshgB/kEP lxC7vA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw4bd6ed-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 22:59:41 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 453Mxe5b005285 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Jun 2024 22:59:40 GMT Received: from [10.48.241.139] (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; Mon, 3 Jun 2024 15:59:39 -0700 Message-ID: <75f1a3ae-c1ca-46a6-b38f-b0eb1fa3bdb2@quicinc.com> Date: Mon, 3 Jun 2024 15:59:38 -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] wifi: ath11k: Add firmware coredump collection support Content-Language: en-US To: Miaoqing Pan , CC: , References: <20240531064019.3687581-1-quic_miaoqing@quicinc.com> From: Jeff Johnson In-Reply-To: <20240531064019.3687581-1-quic_miaoqing@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: c4qeob8dJAYcFkjVPZ8yALmig6vl2Jl3 X-Proofpoint-GUID: c4qeob8dJAYcFkjVPZ8yALmig6vl2Jl3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-03_17,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 phishscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=746 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406030185 On 5/30/2024 11:40 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 Kalle, I don't have hardware to validate this, so hope you can do so.