From patchwork Tue Nov 21 02:12:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kang Yang X-Patchwork-Id: 746437 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6A1DC61D94 for ; Tue, 21 Nov 2023 02:13:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233051AbjKUCNo (ORCPT ); Mon, 20 Nov 2023 21:13:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjKUCNm (ORCPT ); Mon, 20 Nov 2023 21:13:42 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EFDCA for ; Mon, 20 Nov 2023 18:13:39 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL1kd6S016878; Tue, 21 Nov 2023 02:13:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=qUyTEiE+yeHYLgiEva1VK0la+4JxIWDiMzL/A7PgK9g=; b=jMbfpltFhe/VQ+Nyc+hjANzvFlcMI3ObfSoIGOFoCaj+0jwkMIBA3uu4a17292b2Pz6H 28f/lfqAFqRZl4H5f+oMW0cbLNzSYQFiP49HXCoB1UU/2FkG6P4lTIi108PeAo3NsBSc aTnakYVtJUwhv+wgW3b7uzm9fmkIfiy0bzXklgwlbi477AF0mwInpb07hKXhBWYXpEyJ DFqmD90XKGP/CQlGP0mtY2e4TSRD/qBGvWOX4BqHO78PUa7DnpB76DRwnLtIu7ExVHtj bkn80u3LGZZS6iLoXnM1de1W8hWiaqyjnfQupdfIHexhfDzp0ZoVe/M7kgRjwREhB+Z5 aw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ugcqs0tam-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:13:33 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AL2DWqd019723 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:13:32 GMT Received: from yk-E5440.qca.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 20 Nov 2023 18:13:31 -0800 From: Kang Yang To: CC: , Subject: [PATCH v2 0/7] wifi: ath12k: support one MSI Date: Tue, 21 Nov 2023 10:12:56 +0800 Message-ID: <20231121021304.12966-1-quic_kangyang@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: CWMNK2X6byfo9FlV5430u6yENMJJRLOi X-Proofpoint-GUID: CWMNK2X6byfo9FlV5430u6yENMJJRLOi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-20_22,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 phishscore=0 bulkscore=0 clxscore=1015 mlxlogscore=297 mlxscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210013 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This patch set is to support one MSI vector for WCN7850. v2: delete blank line in patch#5 before '}'. Kang Yang (7): wifi: ath12k: get msi_data again after request_irq is called wifi: ath12k: add CE and ext IRQ flag to indicate irq_handler wifi: ath12k: use ATH12K_PCI_IRQ_DP_OFFSET for DP IRQ wifi: ath12k: refactor multiple MSI vector implementation wifi: ath12k: add support one MSI vector wifi: ath12k: do not restore ASPM in case of single MSI vector wifi: ath12k: set IRQ affinity to CPU0 in case of one MSI vector drivers/net/wireless/ath/ath12k/core.h | 2 + drivers/net/wireless/ath/ath12k/mhi.c | 16 ++- drivers/net/wireless/ath/ath12k/pci.c | 180 +++++++++++++++++++++---- drivers/net/wireless/ath/ath12k/pci.h | 2 + 4 files changed, 172 insertions(+), 28 deletions(-) base-commit: 9a36440d929d134c56030a8492405708a143f580