Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp246592lqn; Thu, 11 Apr 2024 23:06:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUin4qf9d5tRehAbEUfX+a473rF7AAauqR1tKYuHjb7TL8AARkXd5yEa3qXafcMSZDwYFclO8IL5jgC/+PXJtpdhEAGYwAiAQ1nI3AYxg== X-Google-Smtp-Source: AGHT+IED9WY+4ep8/EDDiGWrtrkh+KMV9PEkD3uZp38YCxY0tI+GyioJkO6ZMAYS5njx8ueSW8us X-Received: by 2002:a50:d594:0:b0:56e:c16:fbf2 with SMTP id v20-20020a50d594000000b0056e0c16fbf2mr1070865edi.23.1712902015476; Thu, 11 Apr 2024 23:06:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712902015; cv=pass; d=google.com; s=arc-20160816; b=IPQlWvpMCMUN4VxKk8nL3aauSS6qlL8bIiYQrFxbIhehU7b3qZpV+euRnxqNwTRAQG VrtreSXqnTubSVmHMBA58DxSTiSvQu5hf5Nc7/LBTf/atiRUdlRhdMvDTOBExGXjlnTC u6LRzN0kgISmGrlFwFbMav+XQjSwqCexDsNu1Wi2pQiS1EUK90IvpLP0dQthI6VYEEQy lL6EioK2Oo4jCqLE/8wv1PnRuKwcrU8VfvNAyyBNtaYsBgi0ef2prPMyu/fY08VjGdNX Ai79aSfGR1qhHbzTYEWssI0MbZnCHI4Dl1bU4XrlbTJY8coPwqEMmMVtxOf0Lk1H0nit 05Lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=S9tuoPlp8qLUEeoWXen2+Nm4NgKMaXrZFxVw8PEbsJw=; fh=GvdSpWOTOOEO++mEtOt0MOXW4RZebXmBponUWoai99Q=; b=ckOnnhYBkd0wRMwvGXa0Xg7y9H7JDDN50DbUhIWnrm/hBmFWtjua55Zi/0XROxdyrI NS3kIrlKOpgUYXkCuC+SNh1SUU+PQIF4LO3Y715e824mXb4eVl7gDGqSmaAlDGKBflGz M4IiKrJEJx0uCtSvIUF87229IOdiofPBP3Qp9PDoDmpV4UN/JgrXIhp3ly/0YIwx22xo 7vSFSOSYqUV0Xy7qaXtYO34li2WWzaMEJN6pefRyXzqv5It8NPsr/zjriATqlAwvrP+l uonOnPhDKBW3UNpb9W3o0Q/g8B9pkf55xGoTSplDlLaEwv+0Mf7upU4JJOC7QdMF4AoM XFLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="DGDR/pv4"; 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-6215-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6215-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. [147.75.80.249]) by mx.google.com with ESMTPS id h1-20020a056402280100b0056e310e663asi1473620ede.640.2024.04.11.23.06.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 23:06:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6215-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="DGDR/pv4"; 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-6215-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6215-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 38CD31F21ECD for ; Fri, 12 Apr 2024 06:06:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE8E822EE3; Fri, 12 Apr 2024 06:06:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DGDR/pv4" 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 5CA5E1CD04 for ; Fri, 12 Apr 2024 06:06:43 +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=1712902004; cv=none; b=n+EfQxQ5T5ulGDLZYczqREBv7aMDA1X+lTXvuSOtMF3yUnUjy2hxHmgeQT+Sh4nM3pCfUWTzKItdChMRwUFrBbwczjM40KkPvFLaMfARlpy0S7vZIEvGokw2Bhs9VgDK5ZEv1tLXMoi6TRAL5Nu2BsiByjDDNL5XzxwPwXPpcpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712902004; c=relaxed/simple; bh=0W7UftcKcGHft9IaIpKJwngcEeJielJdg37zMX4hXK0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YHcE11JewHL6NdcqjROqkKBiJNWIQMMdW2Z8dDtQTp/Os8IqkH/7JV+eF3ML9vj0EjQis3B4tmClneR+RLE6wqC7wJybGd/ygkhQW6Is84qKdokrOP9Hl3N13oCE2J6WZxLiX4wX1OnE+K1bzmbGWzskDZDNxE+sqPKmvWVEQfU= 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=DGDR/pv4; 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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43C3S5a0014210; Fri, 12 Apr 2024 06:06:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=S9tuoPlp8qLUEeoWXen2+Nm4NgKMaXrZFxVw8PEbsJw=; b=DG DR/pv4nPbr2t/5R+y3tFbJdatbUohw2zNu0xRsFiSG30FjG6lCWEbv0F/sjMZrV5 dFFL+3RLnByXJ/JRURyBNUDGvbr2+BGKmnaYwhGIQS8ILWGZ3tMUakMuhuYFHrTF xP24Gwp1yn9vfbZu19pulwYMKZPFilL9sGTMbfy7P4HadPv3EwcEX/dlWfoHdyzX 8jUpoSjQQFTYWz+5u2C9jcKekVk/hK1Rvj4tRiVdp0JsZMyD3ZqqsLR2rYpTFjNQ KeMJW5cO31hH3tmprBzeLH2MOKKw6mQbCNw1RQcwpxLyU4x3xj6C9q00Vpi5CuhZ 8g65DvwbELdalUnRR3/w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xebqxb5k7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 06:06:39 +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 43C66dmK031860 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 06:06:39 GMT Received: from bqiang-SFF.qca.qualcomm.com (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; Thu, 11 Apr 2024 23:06:37 -0700 From: Baochen Qiang To: CC: , Subject: [PATCH 02/10] wifi: ath12k: remove MHI LOOPBACK channels Date: Fri, 12 Apr 2024 14:06:12 +0800 Message-ID: <20240412060620.27519-3-quic_bqiang@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240412060620.27519-1-quic_bqiang@quicinc.com> References: <20240412060620.27519-1-quic_bqiang@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: EWcHQ9kIWQx5KZgLBOkHTrlrMCCHHftp X-Proofpoint-ORIG-GUID: EWcHQ9kIWQx5KZgLBOkHTrlrMCCHHftp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-12_02,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 mlxlogscore=815 malwarescore=0 phishscore=0 suspectscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404120042 There is no driver to match these two channels, so remove them. This fixes warnings from MHI subsystem during suspend: mhi mhi0_LOOPBACK: 1: Failed to reset channel, still resetting mhi mhi0_LOOPBACK: 0: Failed to reset channel, still resetting 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 --- drivers/net/wireless/ath/ath12k/mhi.c | 56 --------------------------- 1 file changed, 56 deletions(-) diff --git a/drivers/net/wireless/ath/ath12k/mhi.c b/drivers/net/wireless/ath/ath12k/mhi.c index fd519c87ae24..403691355abf 100644 --- a/drivers/net/wireless/ath/ath12k/mhi.c +++ b/drivers/net/wireless/ath/ath12k/mhi.c @@ -18,34 +18,6 @@ #define OTP_VALID_DUALMAC_BOARD_ID_MASK 0x1000 static const struct mhi_channel_config ath12k_mhi_channels_qcn9274[] = { - { - .num = 0, - .name = "LOOPBACK", - .num_elements = 32, - .event_ring = 1, - .dir = DMA_TO_DEVICE, - .ee_mask = 0x4, - .pollcfg = 0, - .doorbell = MHI_DB_BRST_DISABLE, - .lpm_notify = false, - .offload_channel = false, - .doorbell_mode_switch = false, - .auto_queue = false, - }, - { - .num = 1, - .name = "LOOPBACK", - .num_elements = 32, - .event_ring = 1, - .dir = DMA_FROM_DEVICE, - .ee_mask = 0x4, - .pollcfg = 0, - .doorbell = MHI_DB_BRST_DISABLE, - .lpm_notify = false, - .offload_channel = false, - .doorbell_mode_switch = false, - .auto_queue = false, - }, { .num = 20, .name = "IPCR", @@ -111,34 +83,6 @@ const struct mhi_controller_config ath12k_mhi_config_qcn9274 = { }; static const struct mhi_channel_config ath12k_mhi_channels_wcn7850[] = { - { - .num = 0, - .name = "LOOPBACK", - .num_elements = 32, - .event_ring = 0, - .dir = DMA_TO_DEVICE, - .ee_mask = 0x4, - .pollcfg = 0, - .doorbell = MHI_DB_BRST_DISABLE, - .lpm_notify = false, - .offload_channel = false, - .doorbell_mode_switch = false, - .auto_queue = false, - }, - { - .num = 1, - .name = "LOOPBACK", - .num_elements = 32, - .event_ring = 0, - .dir = DMA_FROM_DEVICE, - .ee_mask = 0x4, - .pollcfg = 0, - .doorbell = MHI_DB_BRST_DISABLE, - .lpm_notify = false, - .offload_channel = false, - .doorbell_mode_switch = false, - .auto_queue = false, - }, { .num = 20, .name = "IPCR", -- 2.25.1