Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2445927lqt; Mon, 22 Apr 2024 10:52:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX4YxzTjbzvjbjjpi0xTyZQT0EVmxPI1xOgnGOttONffKQF/8WeKuVhIQMEOzePLi3tnyfKa/i5vFPE7ykrzXkHeqc+FcEiG+Q9HN1z+Q== X-Google-Smtp-Source: AGHT+IHRgag7hfL3v3bhOvidTJBdNJws/3mNJbNVzw+wmYNY2OxDTLSH3nWE251tl0jp9RrhLuh8 X-Received: by 2002:ad4:4f11:0:b0:69b:54d6:5458 with SMTP id fb17-20020ad44f11000000b0069b54d65458mr617204qvb.27.1713808323678; Mon, 22 Apr 2024 10:52:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713808323; cv=pass; d=google.com; s=arc-20160816; b=rCDMJ7NQl6PhpG7CjPYu0w7c7ZVq3xpHeN69K7efn7ujQ4lJYnmFXspPke+BTL31+b 68+x047ExRRFxf0qa15IYMyVIo0J6BUi5qOMjRz6/0FN+xrUk2KOWTtF9jSIQVM/gsy7 948qinxigPIttjB0NnS3KAIyqMokHTrnIcTxcte7z5WE+cu6RnWZXf4hex7XKDF83W1w l6ppNHvwHVq4rRiI4yTew7SlMGNTjFeb6S8odP7Kgi/O57v++9/ViubeIVAOUpyFToNZ 6p10VUdcZEW6eu5rBJ0xOvK2iIpqRbskbSIwgwybIn1dzk1rF6Qw8Zw/QPBaHnRIEDCz mf+g== 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=Ce9ixlufvOniWp6BK9xsrtg8SNp8Ht860qQ/XEhJ5Z0=; fh=b2YQfG9PfQSUw5xMVFyESXjrM9bXk1jv/UlzGGNeVIg=; b=cljhkuBleewmYnpayH+lb4X4Rg3hEUsRgcH7ra8QR+Ja5ff7FKBXMnWeFyphSoB775 +Ana7AjIghaf4Bkq60y40ZFjwJlbQgpq7uEC6mHCqY/dU5M13R4egWGFwlLDg3SKrrxY oE8x89jkw416ymdwhXTdIUv/9QD0Mbzq4HiGY8f02PgYxCMd/03RojjP9EchNart4V7p Wd5vBbMDzz1NMWCCgD6Fyte4vzsSNn3YbUkc8sCCOqZZsOvkbB1KmqH8/M/F5aNXSzzh b13EEDOJ61FOm7tTUcBFa8R+v8Rxj0n7O4SAwP6iX3XF/0/nys9rfGeDbBj7J0Y9r2XA +5PA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kr8Lpnaa; 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-6681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6681-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. [147.75.199.223]) by mx.google.com with ESMTPS id gs1-20020a056214226100b006a05301aaf7si10878719qvb.171.2024.04.22.10.52.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 10:52:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kr8Lpnaa; 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-6681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6681-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 DC25D1C209EE for ; Mon, 22 Apr 2024 17:51:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A4A0153BED; Mon, 22 Apr 2024 17:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="kr8Lpnaa" 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 8F917152197 for ; Mon, 22 Apr 2024 17:51:50 +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=1713808311; cv=none; b=VlBdh4AMlVJJmPcY4zlK1/2WRcWlg7USLXHC0gRu9hpYAo1rVHOYS6tTMEf29psxjRD5xo0rX3Vg2xgDqq0mvywbgqRWkLup+cb9huTVVjyi//G5TpnX0Y/IlM/7UhvNq/+9xtYtQfjNS/VPuQwH56CPsa5CylD1Xdocs4gNgRo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713808311; c=relaxed/simple; bh=s04089sxmZATzgjRbffY8gkh+VT/7Wj111OI4qfiL1s=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=PcMe5DxHoS1jIyVVxJb32g5cNwVbdgx92xZW+9tURMzakn2wg6lJMdolQL8oGA18xqJVWP3QxmMI6jWDL4wbN1TOS0z5CR4zUMZdLSbYdj966G1qLeX28oyoHe3UgLULFmaNaYrZR2kwKDOXfjXcxcUeqzQnUVeOTUIBsb+Qks4= 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=kr8Lpnaa; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43MEKeWQ025428; Mon, 22 Apr 2024 17:51:46 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=Ce9ixlufvOniWp6BK9xsrtg8SNp8Ht860qQ/XEhJ5Z0=; b=kr 8Lpnaa+W7otCf+uFF+7cYt1ydbf3vgyG/DBojulVS6gj6G5MqqynrIurm2Z0M0k3 CxHJcezaoekrp671IkwLHEBeEllsRq1GXdA8yj+M7jXwkMiAmDfPMl1L6hFZE+d2 1ovfQ+X6839ApAcHLHah79aaddA2UIM9HGuWhFQ0ppcwkt3GO9oR063FP/RJLbjl k5FATA/qdP3lgKlFxft+hs3q4Uu6ReXToiIQFDoP4hr5Cm4fGVJlXQYsrwJQ0Nny N2vT408wd3tmQ64XVHGB5bJh4z+xcdDOgY7mhwSUXSTfvWuPHS/biqUrfmA227NR uGdzen8QP9sueoNWsOsw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xnsjggk84-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 17:51:45 +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 43MHpiBf009030 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 17:51:44 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:51:44 -0700 Message-ID: Date: Mon, 22 Apr 2024 10:51:43 -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 01/10] wifi: ath12k: rearrange IRQ enable/disable in reset path Content-Language: en-US To: Baochen Qiang , CC: References: <20240412060620.27519-1-quic_bqiang@quicinc.com> <20240412060620.27519-2-quic_bqiang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240412060620.27519-2-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: k0J4c4Eh3gyfaPFZ6cKffVC0OMxAbRCe X-Proofpoint-ORIG-GUID: k0J4c4Eh3gyfaPFZ6cKffVC0OMxAbRCe 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 clxscore=1015 suspectscore=0 phishscore=0 mlxlogscore=526 lowpriorityscore=0 adultscore=0 mlxscore=0 impostorscore=0 spamscore=0 malwarescore=0 priorityscore=1501 bulkscore=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: > For non-WoW suspend/resume, ath12k host powers down whole hardware > when suspend and powers up it when resume, the code path it goes > through is very like the ath12k reset logic. > > In order to reuse that logic, rearrange IRQ handling in the reset > path. > > 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