From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751283AbcFRIHs (ORCPT ); Sat, 18 Jun 2016 04:07:48 -0400 Received: from terminus.zytor.com ([198.137.202.10]:56192 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbcFRIHn (ORCPT ); Sat, 18 Jun 2016 04:07:43 -0400 Date: Sat, 18 Jun 2016 01:07:38 -0700 From: tip-bot for Keith Busch Message-ID: Cc: bhelgaas@google.com, jonathan.derrick@intel.com, keith.busch@intel.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com Reply-To: linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com, bhelgaas@google.com, jonathan.derrick@intel.com, keith.busch@intel.com, tglx@linutronix.de In-Reply-To: <1466200821-29159-2-git-send-email-keith.busch@intel.com> References: <1466200821-29159-2-git-send-email-keith.busch@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] x86/PCI/VMD: Use untracked irq handler Git-Commit-ID: 30ce0350381351646ef86b64e6d3840b3869833b X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 30ce0350381351646ef86b64e6d3840b3869833b Gitweb: http://git.kernel.org/tip/30ce0350381351646ef86b64e6d3840b3869833b Author: Keith Busch AuthorDate: Fri, 17 Jun 2016 16:00:21 -0600 Committer: Thomas Gleixner CommitDate: Sat, 18 Jun 2016 10:00:55 +0200 x86/PCI/VMD: Use untracked irq handler There is no way to know which device in a VMD triggered an interrupt without invoking every registered driver's actions. This uses the untracked irq handler so that a less used device does not trigger spurious interrupt. We have been previously recommending users to enable "noirqdebug", but do not want to force a system setting just to keep this domain functional. Signed-off-by: Keith Busch Acked-by: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Cc: Jon Derrick Link: http://lkml.kernel.org/r/1466200821-29159-2-git-send-email-keith.busch@intel.com Signed-off-by: Thomas Gleixner --- arch/x86/pci/vmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/pci/vmd.c b/arch/x86/pci/vmd.c index 7792aba..613cac7 100644 --- a/arch/x86/pci/vmd.c +++ b/arch/x86/pci/vmd.c @@ -195,7 +195,7 @@ static int vmd_msi_init(struct irq_domain *domain, struct msi_domain_info *info, vmdirq->virq = virq; irq_domain_set_info(domain, virq, vmdirq->irq->vmd_vector, info->chip, - vmdirq, handle_simple_irq, vmd, NULL); + vmdirq, handle_untracked_irq, vmd, NULL); return 0; }