Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp83171pxb; Wed, 1 Sep 2021 22:37:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6xCCvkRQJOQD/IYrPxYuzl10iMhP7G+SgLTFTTGh6HD+la07F8qAGe0YrlDZI5lUcuL/G X-Received: by 2002:a17:906:28db:: with SMTP id p27mr1835961ejd.94.1630561040111; Wed, 01 Sep 2021 22:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630561040; cv=none; d=google.com; s=arc-20160816; b=TWQEsCs5H5SC5AY8wfcdNxOdkXtmVIpFODY5ta3IyxhlICKa1ECeWzx9pf9eBRhL8r JC28N9wRUA+KXgxioD+Vlw25RGVV2qq1KLbWrulH7JbEJAMxN3+rh908zFfE38rxlSHH bj2DR76KT+AjAwq+7fzHcu+dc+Ltd796T3+EH1KuPRQt2Twna3+/Oh5gXUcfxlFfvbaz +yr6xVI8cvPhBdRy9+WGhAFUR+FYH49RbVj9OS04tbKBQXNSiY0RtwilxfppPN7QdLa3 EHt5psZ1E+Rn4G1lYLUaNyUjpGi+iFDPH1Blh88EikCfdhYjKa51FFzRTkw2D/0O8iJT UdLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=gjWRnhydAOjk1sR8RwwNsZBpFXGxC0oX6s53M8gpWVo=; b=NJajqGLalDzJvL4vFxcl0idLqg31DaSFZC/W/17YF0E5MBBUdv39wUuQhGtSYaek4J cMiZFS7i1BOBzjLw9PSFxjuqm1+f/PJUWSdfm4OBANH4kciwsek+sQ/qmLehCZj5/ViI OPOOMLYZePgT7k1ihSD9RbH/vTJUUg1ttkIL0hhxYv9AdmwJXp7HIxiA0sQoQnHI9200 uuOvyccIdXo6qmbUhLrd/g/4htneAutIbqJBu2xGAP1uekGRn/UGodmr72TkVV5EE1Yh 4tQaLH96D74sKHgFQ5+HVTV7nUfW0A+i8eT83GR6rvW+Fu1hfFfwrRO319xtUmzjzBGX fk0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=bBzYEml6; 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 n10si1334060edx.387.2021.09.01.22.36.56; Wed, 01 Sep 2021 22:37:20 -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=bBzYEml6; 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 S231340AbhIBFfk (ORCPT + 99 others); Thu, 2 Sep 2021 01:35:40 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:36254 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbhIBFfk (ORCPT ); Thu, 2 Sep 2021 01:35:40 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1630560882; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=gjWRnhydAOjk1sR8RwwNsZBpFXGxC0oX6s53M8gpWVo=; b=bBzYEml6B6ZV76kq2sPaHOey0Rd2k71tXs7fLOnTwYIZLL+VbHYmyAHBQfKFiPFe4/IOTZsZ n3ppeqrdR/3JuELF9iEKE9oeyLTxGBr5eKzcQ1r1HZf1LE4e1iJFfShNq1fH7SUOy81vPs58 MToD1k0CZbbnKClm0OlRtp/8hYk= 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-n04.prod.us-west-2.postgun.com with SMTP id 6130627189cdb620613e1e1e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 02 Sep 2021 05:34:41 GMT Sender: ppranees=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 73BD6C43460; Thu, 2 Sep 2021 05:34:41 +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 ppranees-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ppranees) by smtp.codeaurora.org (Postfix) with ESMTPSA id E485AC4338F; Thu, 2 Sep 2021 05:34:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org E485AC4338F 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=codeaurora.org From: P Praneesh To: kvalo@codeaurora.org Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, P Praneesh , Sriram R , Jouni Malinen Subject: [PATCH v3 01/12] ath11k: disable unused CE8 interrupts for ipq8074 Date: Thu, 2 Sep 2021 11:03:29 +0530 Message-Id: <1630560820-21905-2-git-send-email-ppranees@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1630560820-21905-1-git-send-email-ppranees@codeaurora.org> References: <1630560820-21905-1-git-send-email-ppranees@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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: Jouni Malinen Signed-off-by: P Praneesh --- 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 de8b632..b6ffe03 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.7.4