Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2446071lqt; Mon, 22 Apr 2024 10:52:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkMFVc8b+/VLDvSVdmUWEld0/t2wWne+RzhnQjDz9LlzfKKj8UAV5zmPxI447vVpjG3Ev4l94Sa2grbmvBCqwI5ZWDtr3xTAxUUgNW5A== X-Google-Smtp-Source: AGHT+IEnp6Ewk+AqrK1eCaixdEY5LRJXV99Bkj0vcJgwkEXKvk7z/CtywLnvGZJJoXHM9O5ziqWB X-Received: by 2002:a17:906:c419:b0:a55:5e95:4c80 with SMTP id u25-20020a170906c41900b00a555e954c80mr7437997ejz.67.1713808338948; Mon, 22 Apr 2024 10:52:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713808338; cv=pass; d=google.com; s=arc-20160816; b=oil0RTW5BmofmOHeVc+q7nTkND2/x7DJOlJQvlHTiwEHRFWcvIxUgN1G0uMsjYPIst qMexwp2rrRzrwKah5jJFgp/+nhEAY3iPAU+zsvT/w5aSdXsvG0pl1SeJO4Lv59RHNIKk r2CC8+HVWIMMo3ArF/man+KmoFQOzz4LP911vuEaeWSuCbK1NlV0PdjSn9JvHOwDR4/J ebKP4HOEAoD+gVpeUYGixGxNpOneKNpKAslWGbM3qVz0RRg1h7vgPSq6272z5DxJhWMW LdlpDeS6OsK77vOOycMgoyVWkYY3XIxNz514bHG4CJkmC83ePgCTd9gImpynFr9ZrAhR ITBg== 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=35z046m/ubf15VcFNvSX9mgVEoxSwqcsu9Rds7gmzHk=; fh=b2YQfG9PfQSUw5xMVFyESXjrM9bXk1jv/UlzGGNeVIg=; b=xf+V9PMkdOyH6Dt7Vs/0aiRW38DF0N29AN3H+5Sq2cLYKhbfWng9bpVpAwbRxSYzu7 xt/0WG9WsFVqsvNw14a53oYsADeXnOFFxWmjN+ujtkuP5mVBqvemiyAA34HHNgyKL1d5 Gn4qYKAh+4klgvJpIAahnx0RbUdA3LFI/009rsEdCEaTbxfByBxe0Db3zLznZGgpDTsr XuyE3bYKp/O9Uy8+/MeuD8hfmbkB8thlvMJzV4kihJmtt/Y99wBjlFwV5wygZopNXhVB vlywzVIKQFupafEf7CiYRuc0vos3WYw9jZuoIXEYbUgnO2cgI76NbWO9FpmQLKopRIBC YlJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lQsRyRlH; 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-6687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i26-20020a170906251a00b00a46e9f5a524si3740171ejb.957.2024.04.22.10.52.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 10:52:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lQsRyRlH; 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-6687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6687-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A6E3F1F217CD for ; Mon, 22 Apr 2024 17:52:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AF8B153BF4; Mon, 22 Apr 2024 17:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="lQsRyRlH" 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 20031153BED for ; Mon, 22 Apr 2024 17:52:10 +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=1713808332; cv=none; b=NXy5Ds/qSVzkqkMRBxophkDuNXZsLawQO65wktCM+JkPeAP1mGLAQxvbSOdWXDX+JhEhO0Z0Mp/CeG6zsZejhvUykM5Gy54kwIM66vQcQlqyj1Cj+YX5IsiJnaF/owVpeTDZ7yCZvNG82WRE4gWFQJ/3pPrpy1uq2xffjBsCoTI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713808332; c=relaxed/simple; bh=JsATsaMYs6lLM1pOXEbJzu3MLnVH+wpeLvDq5ETfLyk=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=Es8E6yJJBbynF/7qROV2mmgZnMmLT8DjwMocFxLwPWa934WHpU9/F4DmxqwVzrUkfZH1lItWUvGN1pOt+9i17PgsF8VEIY3bvl6qYKtQ+H3U//noXBBw7X/wphiOwhObqzSO5zkwde77+4hW9JDCPzBiY6qdAlEKWMY8auwiK8g= 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=lQsRyRlH; 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 43MFGcEh006832; Mon, 22 Apr 2024 17:52:07 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=35z046m/ubf15VcFNvSX9mgVEoxSwqcsu9Rds7gmzHk=; b=lQ sRyRlHKPjQEM/kcniLA6/OAzc2YINE9hMsQD8elUNnmuCHRFYCWCFMYRPeUU82Dg jfZMFMX39tsaXAtFdqKe5vF+pIyEebPWdoS4vU6jW1jGPLi0XllS9/59OgGfGIYQ N6KH9cSttzgDhYQUBf6oG2w61pwSbi8mHun36+yoUhikTzNjSPmX1SAOZR1VkoNn eYnv48yQzSu+use35v/Q5UUCYWGTDVUzOE37z15L3W9nLjGW275MMY8VNsYsR8jf YuyGuDWpZXbsHeIlnNmnWzyXhiOd5iXVqncQXxmV+Nc31E7OzyrJnMuD70qa9nik 0EgaxWyc1UWGYaMtXP9g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xnm1bhhkt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 17:52:06 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43MHq6bh029330 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 17:52:06 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.1544.9; Mon, 22 Apr 2024 10:52:05 -0700 Message-ID: <09726b6f-fa0d-48fe-90f8-2e63ab6bf019@quicinc.com> Date: Mon, 22 Apr 2024 10:52:05 -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 07/10] wifi: ath12k: no need to handle pktlog during suspend/resume Content-Language: en-US To: Baochen Qiang , CC: References: <20240412060620.27519-1-quic_bqiang@quicinc.com> <20240412060620.27519-8-quic_bqiang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240412060620.27519-8-quic_bqiang@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-GUID: vMr5eV5dIj0rhVse2OD89Bep0zFbN4lm X-Proofpoint-ORIG-GUID: vMr5eV5dIj0rhVse2OD89Bep0zFbN4lm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-22_09,2024-04-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 mlxlogscore=655 lowpriorityscore=0 impostorscore=0 mlxscore=0 phishscore=0 suspectscore=0 bulkscore=0 malwarescore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404220075 On 4/11/2024 11:06 PM, Baochen Qiang wrote: > Currently pktlog is stopped in suspend callback and started in > resume callback, and in either scenarios it's basically to > delete/modify ab->mon_reap_timer and to purge related rings. > For WCN7850 it's pointless because pktlog is not enabled: both > ab->mon_reap_timer and those rings are not initialized. > > So remove pktlog handling in suspend/resume callbacks. And > further, remove these two functions and related callee because > no one is calling them. > > Other chips are not affected because now only WCN7850 supports > suspend/resume. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Baochen Qiang Acked-by: Jeff Johnson