Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1418015ybb; Thu, 9 Apr 2020 01:30:46 -0700 (PDT) X-Google-Smtp-Source: APiQypIFtdqkP3UmppsGcOqeLhJUA2qlzWUfsn7OxW7zON2in9xQgczKsMBzwLbGWIBbCRoG/ywV X-Received: by 2002:aca:b245:: with SMTP id b66mr5466423oif.170.1586421046525; Thu, 09 Apr 2020 01:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586421046; cv=none; d=google.com; s=arc-20160816; b=jrOoAD9myHgV8nRhSmaS8Gghw0y7WuHOZCIxf6csDHsQBKJ2TA+ZtiDmH9VNcKfBEv h++dZ97GaE/HJ+IjGJfnab+FC91lqLZc8nc1bKKLoygqOuitLq2OVjvmwCy8+QBMuWek 6bDvvK7smpb45cvhBqHMRcBw3IgymQT4CSZpONcC6DXzl2TEQik52u5+f1bS/81D/5IR 16pPzGXWrSyT4TJzx7REjgsDYp369hoc/6OSq2fW2znPsgolG7PqaheQRpUHL3SHPtIv VK+DZibHHdzmlYOgL5AvfdbXcGnnwzH9O/yovmsIYbj5vXey4fobSjP80lYcMpTK38yG PT2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=UhDwT9XHx9i0JJElicqUHzv8NJfJXbAaCaXgCEfyyk8=; b=G7mNN0I9p9V1gAgSkvDRUA+sbp+APDKbCrDBfIqk/Or5nR29Z0oOT9GLOK8XbukvGZ 8zbRSn7N6Z/JhPEPeBU06tvkpBcOUzsQ05bU/aQCv33X7QIl64Lw3gFN8eyfhtVdVMSR iCDq/b3uaLwEtSW0GK4EzxO+BBt2VgvfIgFtrU5CaufYnXm9jfVaiXa+pPY9CH0AlxmF TSMMpMnU2axp16dh/wzFERu5qYnzyE17osLXMPbr8SyFkPL43+VBBPzhlG8lX8w8NIuk Ua3NSWOQZu6Jx7bweUZMBAYYSi60wtuIp0d58MJ5jJpQX+XEsDyYEVxEbtP01k1WETmE iNyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=KpnLjXFu; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si3442525oix.27.2020.04.09.01.30.32; Thu, 09 Apr 2020 01:30:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=KpnLjXFu; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726052AbgDIIa3 (ORCPT + 99 others); Thu, 9 Apr 2020 04:30:29 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:28543 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgDIIa3 (ORCPT ); Thu, 9 Apr 2020 04:30:29 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586421029; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=UhDwT9XHx9i0JJElicqUHzv8NJfJXbAaCaXgCEfyyk8=; b=KpnLjXFuBrphTPz5Am4hBzgqjdFvqvpqgbpzdhnxpXhsUBHDbx7GJR89xgp+rQjPneUSbtwh ysxajRIHcWFNJKhHqinNVkmjcb9SnWyoDhe393dqXh86dg1mO/i9jYrMTd5oI8LHg7LxHiJO A1hN9IfA+BMfYiIkwG0eJxR4Q1Y= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5e8edd24.7f309064bae8-smtp-out-n02; Thu, 09 Apr 2020 08:30:28 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C192EC433F2; Thu, 9 Apr 2020 08:30:27 +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=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from vnaralas-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: mpubbise) by smtp.codeaurora.org (Postfix) with ESMTPSA id C623FC433D2; Thu, 9 Apr 2020 08:30:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C623FC433D2 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=none smtp.mailfrom=mpubbise@codeaurora.org From: Manikanta Pubbisetty To: ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Manikanta Pubbisetty Subject: [PATCH] ath11k: set IRQ_DISABLE_UNLAZY flag for DP interrupts Date: Thu, 9 Apr 2020 14:00:13 +0530 Message-Id: <1586421013-23025-1-git-send-email-mpubbise@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Unlike CE interrupts, DP interrupts are not enabled/disabled at source; they are enabled/disabled only at GIC level, therefore it is required to set IRQ_DISABLE_UNLAZY flag to avoid spurious interrupts. Signed-off-by: Manikanta Pubbisetty --- drivers/net/wireless/ath/ath11k/ahb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k/ahb.c index 59342d2..3b2b76d 100644 --- a/drivers/net/wireless/ath/ath11k/ahb.c +++ b/drivers/net/wireless/ath/ath11k/ahb.c @@ -788,7 +788,7 @@ static int ath11k_ahb_ext_irq_config(struct ath11k_base *ab) irq = platform_get_irq_byname(ab->pdev, irq_name[irq_idx]); ab->irq_num[irq_idx] = irq; - irq_set_status_flags(irq, IRQ_NOAUTOEN); + irq_set_status_flags(irq, IRQ_NOAUTOEN | IRQ_DISABLE_UNLAZY); ret = request_irq(irq, ath11k_ahb_ext_interrupt_handler, IRQF_TRIGGER_RISING, irq_name[irq_idx], irq_grp); -- 2.7.4