Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2114932rdb; Tue, 20 Feb 2024 18:47:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPw8BtHhbshzTWyE//z8ddhWgBVP0ua4EUG9DVdKuH62zYinfk3LfMdFImiGXclDNIkYm3fZkUxoV64WYbtA0Nsn4UN83yLJMmqUiAmQ== X-Google-Smtp-Source: AGHT+IGpWBZlkQKIbljF56/0zYdHYzDp+ioYX/bEBGQ2AKNvbga7SDiPT4hfTVCHY9E1jHkxd8cI X-Received: by 2002:a05:6870:84c4:b0:21e:a892:fc17 with SMTP id l4-20020a05687084c400b0021ea892fc17mr10396100oak.17.1708483678157; Tue, 20 Feb 2024 18:47:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708483678; cv=pass; d=google.com; s=arc-20160816; b=sR8/xUAeqCNK8mrzjyijTFZzFWgIHar1ctVrE9eQawiBHVCvUnCwMGPO4womDtihkc YcvCJiOZxkiDVf0G6AL7kNa/LHM0Hz6oJBt+Og8f8AElCjEYkhMQXg1CaJAlvaGEvp/k WkMOnyCzTC/+iHHYAA5Qvi02twb9oSQJC5YWSg/q13RLM5PrZ4qArQH7oxJrS2HzJsP2 Cudz1kWrcY/IcVNDOWkrBP99S/8rcJPqqFvSL9EUo4QRc/goQAt9MI9Jbu+M0CS6rmMr YXgnB86mMOarxVktM6voP3nxx3vFKJOZwQCgCXVfkOLI+AkYNHllaMeW6oCEKbQy5E4I PyzQ== 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=o6gJzHioBJRwCmu0esn2YqKsWJnJrcVj7kqyNEMDwaE=; fh=j480mrNlK527R2LSjAa5EczedEomDzgwrIPbXwRGWTc=; b=AODIDhAR6H+nVbo+qDfbTnXK4FjM+vQM9uAVy+yJNpXqSbhZ4dGiF4cq3hrqT3fcnt nrXK3ERTyJLEys52K0884F5IC2BQy/NtUwAxEfGOfgnpPoCMTsP4r64jRuy73tWI7xHB vbPL2Clha03JX2bLKI+dMVgcm/Doax2Uhgkhg5xouARSw08XA+ZcAyWIZ5AqfgFjY4v3 314iLaRYns5MarD4KWYCCSSBTe82K/uaz4KgKUEIi4l1sIjTnOqVcTf2PpIZo6w+Ct8f hgTCS1q7sQU8+TH4C1f6ABLUWSmbvzmOLnZR0qkrNtCNzwQE6/gFu502C6B+my79PGzM sCyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=G64mmN6i; 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-3828-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3828-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. [139.178.88.99]) by mx.google.com with ESMTPS id a22-20020a637056000000b005dc4328dc23si2710190pgn.780.2024.02.20.18.47.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 18:47:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3828-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=G64mmN6i; 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-3828-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3828-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 D2A8D285B65 for ; Wed, 21 Feb 2024 02:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACFC228383; Wed, 21 Feb 2024 02:47:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="G64mmN6i" 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 0917928370 for ; Wed, 21 Feb 2024 02:47:46 +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=1708483668; cv=none; b=JMGbD3oD6n5o1WIIRFryjFsSVcK3YTYeQ4+OO3hBvr3Kk5YhgcRYgoGmP8p80LgdOupGrDaWt2yZYtQ2vSlKrQ8Wwa/J41go/a1JizsHJ3kr/sWfYvwH095xxO/ZdtAf++Rw3PhnkP4aXsN3KA07siP6YG5ABvynnwQLEitLGGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708483668; c=relaxed/simple; bh=wTZK5WyvswRMi4eAaX4A2Q04wuEbgMTImlfx5+nGGEI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Yo9uEow04F4/p6moV762mo09EyjkO+lhWCSYSf7Z0wCqrHN00JX47i0KMhiEy6woKbLe3Yy5aj0mTCIoLqXg6IOvKf6G7x6nVKfQPyXQ43X4sTrOsAKdwRrTXSL0g9LYBGV80kIddmokTHxAy0dRe+ctRx3ANd1mFiNmb8mZSi0= 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=G64mmN6i; 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.17.1.24/8.17.1.24) with ESMTP id 41L2TE5H032555; Wed, 21 Feb 2024 02:47:44 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=o6gJzHioBJRwCmu0esn2YqKsWJnJrcVj7kqyNEMDwaE=; b=G6 4mmN6i3V2HvOjz7D9IyiwqHvhkYQPYLRfwxs/mSf+B81gowzRy/pxeM+aHhnCion 8g7rk/H4KdVPJ2XURg9q9gxvy6sqHljofcMoEi9Ewmz60HKvUqooB8gDgHr9sxBK tvzlC1pv+bqRSFG03HKj8JyH55SqJhup8kD4bzFf+Am2o2xAgaCBYDm1LcjGQTEo 5hK1cIZ59VAjzS/RurYhq1Bp/E6ozUktZac17p36uobMVf8IdZtI1GUViBzGzoez wjWKJxwRd4dUByJ1jbU+j8ZrUUSlzHIxNkdkFnZBxGZ+8Lv+hLKmBzGJNkvKubJz Sfms57XhXRZEItoRt3zg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wd230rrkg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Feb 2024 02:47:43 +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 41L2lgYL009053 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Feb 2024 02:47:42 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.1118.40; Tue, 20 Feb 2024 18:47:41 -0800 From: Baochen Qiang To: CC: , Subject: [PATCH 2/5] wifi: ath11k: remove MHI LOOPBACK channels Date: Wed, 21 Feb 2024 10:47:22 +0800 Message-ID: <20240221024725.10057-3-quic_bqiang@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240221024725.10057-1-quic_bqiang@quicinc.com> References: <20240221024725.10057-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-ORIG-GUID: NZzo9Rb5PsQ4OJR2XtA8_X-lQVDwp9wD X-Proofpoint-GUID: NZzo9Rb5PsQ4OJR2XtA8_X-lQVDwp9wD 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-02-20_06,2024-02-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 spamscore=0 mlxscore=0 impostorscore=0 suspectscore=0 mlxlogscore=852 priorityscore=1501 clxscore=1015 lowpriorityscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402210018 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: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 Signed-off-by: Kalle Valo Signed-off-by: Baochen Qiang --- drivers/net/wireless/ath/ath11k/mhi.c | 56 --------------------------- 1 file changed, 56 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/mhi.c b/drivers/net/wireless/ath/ath11k/mhi.c index b53659145fcf..3de7fa6f88d0 100644 --- a/drivers/net/wireless/ath/ath11k/mhi.c +++ b/drivers/net/wireless/ath/ath11k/mhi.c @@ -21,34 +21,6 @@ #define RDDM_DUMP_SIZE 0x420000 static struct mhi_channel_config ath11k_mhi_channels_qca6390[] = { - { - .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", @@ -114,34 +86,6 @@ static struct mhi_controller_config ath11k_mhi_config_qca6390 = { }; static struct mhi_channel_config ath11k_mhi_channels_qcn9074[] = { - { - .num = 0, - .name = "LOOPBACK", - .num_elements = 32, - .event_ring = 1, - .dir = DMA_TO_DEVICE, - .ee_mask = 0x14, - .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 = 0x14, - .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