From patchwork Fri Jun 25 09:03:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 1497066 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=qu4yU4BS; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4GBB0s2cZYz9sRf for ; Fri, 25 Jun 2021 19:05:17 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231158AbhFYJHf (ORCPT ); Fri, 25 Jun 2021 05:07:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:58010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbhFYJHe (ORCPT ); Fri, 25 Jun 2021 05:07:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7C74461436; Fri, 25 Jun 2021 09:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624611913; bh=qwjHHo7IaX3Xq/QUrlAe0vmXBBdE06HBmCIPvLbwMlM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qu4yU4BSuS2PuQAeH4d9ZkwNPs4a7xLK1Lbf4Tere70haxHYndy2ZBKh+2BVIIZxs NvXpnVT5DymP+GBvYJHHEqLQarC/iwfSyTFYyxyfgxDcqG5gdQvpOxn+q5MrY5Uk5s sPVP8T/ZxSCgF57mgyfm1k5/zsItKQTtBBmyiWFGhUwsd4PsWQCclkNXg8V7LexelV EEGMBmMEWEeYSQc7HlE1d7mJpLMI6coQ4QuSLFj2srLYlDa82egeyriSi7HP+bMwfq K9yCCHWTDlZayzkfBDN/JKuIu9Vy2Wb4BrwA1JCbHRrtVOapA+bSMiSYlTSRG3GPMB FQ8P5TlVp2PaQ== Received: by pali.im (Postfix) id 3F0F060E; Fri, 25 Jun 2021 11:05:13 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Lorenzo Pieralisi , Thomas Petazzoni , Bjorn Helgaas , Rob Herring Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , Marc Zyngier , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] PCI: aardvark: Don't mask irq when mapping Date: Fri, 25 Jun 2021 11:03:16 +0200 Message-Id: <20210625090319.10220-5-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625090319.10220-1-pali@kernel.org> References: <20210625090319.10220-1-pali@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org By default, all Legacy INTx interrupts are masked, so there is no need to mask this interrupt during irq_map callback. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- drivers/pci/controller/pci-aardvark.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c index bf44d6bfd0ca..c4fa64a31733 100644 --- a/drivers/pci/controller/pci-aardvark.c +++ b/drivers/pci/controller/pci-aardvark.c @@ -1060,7 +1060,6 @@ static int advk_pcie_irq_map(struct irq_domain *h, { struct advk_pcie *pcie = h->host_data; - advk_pcie_irq_mask(irq_get_irq_data(virq)); irq_set_status_flags(virq, IRQ_LEVEL); irq_set_chip_and_handler(virq, &pcie->irq_chip, handle_level_irq);