Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4044513pxj; Tue, 15 Jun 2021 14:14:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbXyr/rv87C0y2Qa6plYLxhzcrVGoZ0l+EmNBaF1Pm0vPxt+Vh6Ldn2kjpMZCSKS6R2/nq X-Received: by 2002:a17:906:311a:: with SMTP id 26mr1568578ejx.517.1623791699112; Tue, 15 Jun 2021 14:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623791699; cv=none; d=google.com; s=arc-20160816; b=EBD39bgr89dRcDPTwm4h/O/JBA52zb6flI3HL7c8ZROsyf6nIamvi4+Z587KfdPhQv HN8HQEoaum/r6Db7Y1VdVes/5V/4TndSjIjqYivf24CDNINedk13d4VmFVEca4z1Sf9v Cf6/Gjfw4v5P4efJjENXHgEGwgUnfm0qkopOo/eTZYwIt4mMcf6Cvi+ComZh+ouU8Q1J vblez9nIgVjJFiliLroZtFxFHUi/hdUt5ohrosdlQEvYQxxI647p8JaWeOgpOPThB0zX 235uhAXRuE4eeoy865qPt/hYLYfHSt8Ago0WiJkvvjyOh5STDf+tPM1mYSX30xN4At7n zWTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:sender:dkim-signature; bh=Fwx7RqCzIFftBYwTqEVDj+GHfFMQ4Kel2lTbluNMZyM=; b=EgMheE+tetw2Wre7tK7MBzJ5gaU430l+QrozJ7qbPaoI5ItJ5QHU4F9MZNJ1Z8/NB9 FiN1muZ9pTjiv3HFyWb8Iq1EL//mDbD9gFai/m72sHsSYV1xwn9EogVUQB8YS5eKpNco 6S7wqv92J+U0paEPTPLa71oaGB9hRDUU0fLjFb0XP41FvHt0yYXutbLRPsUi8K0rMY9I pYXj79AbwzqyF68irwGTyW+mhugtLNfdb09nl2EwH76v8O9GlAqWtos7vLphtQoIbl++ eTq6igOHb66azlAo/hn6tJUqeDu+HKb7YcS6ubiRPkrLH1ZgLWbvLLEEF21JOC0498kf mNqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=dW3wZYiu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si102803ejz.593.2021.06.15.14.14.35; Tue, 15 Jun 2021 14:14:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=dW3wZYiu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231280AbhFOVQf (ORCPT + 99 others); Tue, 15 Jun 2021 17:16:35 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:40679 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231272AbhFOVQe (ORCPT ); Tue, 15 Jun 2021 17:16:34 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623791670; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Fwx7RqCzIFftBYwTqEVDj+GHfFMQ4Kel2lTbluNMZyM=; b=dW3wZYiupO4waIrwJkvu4zCH3gQdMaesR05W7xe6jPKrCZWMbY4Xx8vN9m4EKWGltVStX1pT R6IXualq6BOhPcT96spycWtuNxcFNRWkMxORIot5Fv+NdwTLKNp6UVvc1OsRHgtDcVwOrQBm nhSkzfp9Tiii0bERyVadxsrEKf4= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 60c91832ed59bf69cc36bad8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 15 Jun 2021 21:14:26 GMT Sender: jouni=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8E65BC43217; Tue, 15 Jun 2021 21:14:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from jouni.codeaurora.org (85-76-78-13-nat.elisa-mobile.fi [85.76.78.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jouni) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4661BC433D3; Tue, 15 Jun 2021 21:14:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4661BC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=jouni@codeaurora.org From: Jouni Malinen To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, P Praneesh , Sriram R , Jouni Malinen Subject: [PATCH 01/12] ath11k: disable unused CE8 interrupts for ipq8074 Date: Wed, 16 Jun 2021 00:13:56 +0300 Message-Id: <20210615211407.92233-2-jouni@codeaurora.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210615211407.92233-1-jouni@codeaurora.org> References: <20210615211407.92233-1-jouni@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: P Praneesh Host driver doesn't need to process CE8 interrupts (used by target independently) The volume of interrupts is huge within short interval, CPU0 CPU1 CPU2 CPU3 14022188 0 0 0 GIC 71 Edge ce8 Hence disabling unused CE8 interrupt will improve CPU usage. Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1 Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1 Co-developed-by: Sriram R Signed-off-by: Sriram R Signed-off-by: P Praneesh Signed-off-by: Jouni Malinen --- drivers/net/wireless/ath/ath11k/ce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/ce.c b/drivers/net/wireless/ath/ath11k/ce.c index de8b632b058c..b6ffe032855f 100644 --- a/drivers/net/wireless/ath/ath11k/ce.c +++ b/drivers/net/wireless/ath/ath11k/ce.c @@ -77,7 +77,7 @@ const struct ce_attr ath11k_host_ce_config_ipq8074[] = { /* CE8: target autonomous hif_memcpy */ { - .flags = CE_ATTR_FLAGS, + .flags = CE_ATTR_FLAGS | CE_ATTR_DIS_INTR, .src_nentries = 0, .src_sz_max = 0, .dest_nentries = 0, -- 2.25.1