Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1651079pxy; Thu, 6 May 2021 12:21:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd4rOOC+yckZWHCfkNQUtjP5vnaECk85D0npdNhEDjmNl1+wFx+1fS+TRnrXt2jB7CM4Yf X-Received: by 2002:a17:90a:7a89:: with SMTP id q9mr18797485pjf.0.1620328864178; Thu, 06 May 2021 12:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620328864; cv=none; d=google.com; s=arc-20160816; b=gT/fniFthQkePp2q8/1dSVMX1i2QXfe2gY6+yOmPwcQEFRyzqFRJV1hM3SE7NrCbRr TWi2lt6Y9Zhir0/Jc3KzYl1+8I7EDcYdKYaQ5T0Irt+VvEsRO+1TrUg8mHgTNZMGoA2j 3X4Zyi4sc0ep2aoJj9ajJyahJu5LX2AmGXWC7A2qulJLh2P24U+BWZvtkcwFLJTiTBE8 jkii6mgS9Y3UJEGFq8tTcd7uNRN8F0ELz8Lh87oV5EY7YYt4YEpXI8VY9dHuE28vqIGH quz/9v6NLeJmGqbL5yLLiR0lvQVVZcnnKrU0Sz+9nZu/fH8U1zvPb2Vxz5PROA9jpJV+ I/Iw== 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 :dkim-signature; bh=RUvMIwhQ4SLMfqzAwd0TBgkljgpO55+PmA4zMgZxlK0=; b=UD/l+9/TeEqMB0nYdS/xfQ+aIduZtRsWLb5+Hmsq2gny9gT24SSV5BBnsE0U9LDg/Y uSBrByjVGtegR4eWMd8VWoszY5eWXDa/N9HRr1tUJi2qB7BqWTA2gRHO2SxS+ErixxIQ mlZuy3xsHOLG7icFomZTW7yswYTbnPOclrYSlBP507CIhYFkQvOW7tVu2bXQ5MO52axm 3ZPSECr3NugGt7PqPjXnq2YY+QZxX7q4yjYA6lQjHMeTOex3I5p53KDokKRqeYSlhpht vW9zP7U05O9TpvGlBNmEe2nhJmrUqmM7l58l7dfpOU6Ho0+c73ZfShx/mllHW04TmkCc THgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="TLRgo/bz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si4253218pgv.194.2021.05.06.12.20.51; Thu, 06 May 2021 12:21:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b="TLRgo/bz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235424AbhEFPgk (ORCPT + 99 others); Thu, 6 May 2021 11:36:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:45966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235461AbhEFPds (ORCPT ); Thu, 6 May 2021 11:33:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0797B6144C; Thu, 6 May 2021 15:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620315170; bh=oZBRW1urfkXXBJqUlknYvRg4n9R+PwWJMKIKp7WdGLI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TLRgo/bzKb6pxtGTiIRV7bR7HxY1pDTOde57U9sQ9EiLklW/kbKVQigCECUOkCaM8 Z4qvB/d7r62YiXJCMQWgOgu+tiYWrFcHNaEFQsJLeYRcyL2ZgqXIO1TLvqzJZ53cXN 1Y7urItb0D0uSMcraCw8WVLjNE2uK+lizbApLtsMML/6icHGrDvI892SKSEfrqn0Nc U8RZa/EchOaKiMC9W/PxLIwzexzqRfaTub66/MaImmI/ruV3CJWoATOMRFr0V9jYG9 nbwW9S+CQFXtvJ9ZtjrGpJS4JxsVmGE8IXPT0Qq6kDnac2nyiA2l+XUcCiR4Xie9BV JJYwk8Yf5MSzQ== Received: by pali.im (Postfix) id 2957489A; Thu, 6 May 2021 17:32:48 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Lorenzo Pieralisi , Thomas Petazzoni , Rob Herring , Bjorn Helgaas Cc: Russell King , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Remi Pommarel , Xogium , Tomasz Maciej Nowak , Marc Zyngier , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/42] PCI: aardvark: Don't mask irq when mapping Date: Thu, 6 May 2021 17:31:25 +0200 Message-Id: <20210506153153.30454-15-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210506153153.30454-1-pali@kernel.org> References: <20210506153153.30454-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 2aced8c9ae9f..08f1157e1c5e 100644 --- a/drivers/pci/controller/pci-aardvark.c +++ b/drivers/pci/controller/pci-aardvark.c @@ -940,7 +940,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); -- 2.20.1