Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3196448rdh; Mon, 27 Nov 2023 08:21:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFj1EGe0WhlssIc+uodlOleNCugHEiRHQEXlQFfYMpr9Q6anA38QcOCpZZ+JhEd1j78hGyB X-Received: by 2002:a17:90b:350d:b0:285:b239:f4ed with SMTP id ls13-20020a17090b350d00b00285b239f4edmr5811343pjb.34.1701102100899; Mon, 27 Nov 2023 08:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701102100; cv=none; d=google.com; s=arc-20160816; b=Ovz/nJDnm/v/wbiSjLeh241j+Ph2WrFD7JMFONiep4cHOnO7jjqUluY9kSmANa1MoR 3NM04UIvvRhFY7XJpCFzOpE1C67jPa5XQUyC3DW0AymSOaK2zptbtq08R25ZPm2/EreH P8aAfVJjSE1MjKvjeFiDheNJ8VAf2ph+FLX1CJLebqaAJh8AxYcuptwQAUKlQrxNQyre Z+m1NlGEEKMm+L3B6v4PqcodQLZNMrYg7iUDMxlR0MXIh2yzNbD3TzAeDP/RDk/WhqKo FJXDO0qbNbNPbndj+t3OnQFR65t4okqldu78H5Svy8EJ68M/oRke/PMVnASNYKGNmcJF YDpA== ARC-Message-Signature: i=1; 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=sfZGeX3eqPiBPxTpLJN76kVFsNUldYCHoXgVz0C+7Oc=; fh=DsmpQugfDyHzy3r7IhaRWgu+h4RwOFD/lORqFRmQRCg=; b=ACrh91sN5TM3LCNJ0rRzLSgw6t1fo9ph9tt3nh8AmQCt95+LI9Hc/lKU6/BF6R/Uia I8FjZ+YB4B5COTpcz/o+CqnPxIlnK2Yvb4jpI2Li+dC6bmeTusU9rShxa6GDY2rLRBXK Si4cZ5vLsQJiZyq9jumzFmYjsFOTp3PWmYQJgPVEcr4aor9lPhXh2+f8CoZEWMD4QozJ KEZr7wAB0xECcYuzpSYcKtiIlCLYXysiNbLuxo4c9vXalnvii62hJ0LhxuKDaZyt/r03 QwepBdk6A5rCinRuHHhJ5RVDXc1nWgMBtBrtlci5+ohGue1WbbKxtz1PoRfwB5fP6hDx RXEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l0EimS7o; spf=pass (google.com: domain of linux-wireless+bounces-111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-111-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j12-20020a17090a840c00b002850fa45ad1si9670185pjn.95.2023.11.27.08.21.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:21:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l0EimS7o; spf=pass (google.com: domain of linux-wireless+bounces-111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-111-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DB9E9B2163B for ; Mon, 27 Nov 2023 16:20:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED61937162; Mon, 27 Nov 2023 16:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l0EimS7o" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C68123715D; Mon, 27 Nov 2023 16:20:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79054C433C7; Mon, 27 Nov 2023 16:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701102030; bh=LNEksZLotht/ms11Nv+Tw98dnLkWdicrZoVyJ2Dx/0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l0EimS7oGDxQWJBltBhatbLHrfsbHD+KmyfHfwtkkfOyesv7086QCNLtlnnV2wULK iH5QcnaKzpFmXZ5T3Dv5rHy1cUiwKT6WgOddOIghiKinRxEPko1gBb24PQ9coBnQw2 yt3dTn0dLEUPfa1sD8nNjdwGBuOcPl427TcQL6jJylDi9DleRDHhqurO7upKLcKLSW DzBjHgxVd5VftVEM74g1LdGPo4+188waPWlsqVRmKn8OEMnq4l4OFfGZ198tEF/rZI nux5FH/xlYvoiT2ojmiEcgG5VnF2QWlh0f++Bdv6pF6Y9i00qn5ORs8884HNXpumct 6KvzwLM71hHLg== From: Kalle Valo To: mhi@lists.linux.dev Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH RFC v2 4/8] wifi: ath11k: remove MHI LOOPBACK channels Date: Mon, 27 Nov 2023 18:20:18 +0200 Message-Id: <20231127162022.518834-5-kvalo@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231127162022.518834-1-kvalo@kernel.org> References: <20231127162022.518834-1-kvalo@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Baochen Qiang 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: Baochen Qiang Signed-off-by: Kalle Valo --- 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 afeabd6ecc67..579af57f7377 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.39.2