From nobody Fri Apr 17 10:37:22 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D47F9C4332F for ; Thu, 17 Nov 2022 15:11:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240655AbiKQPLn (ORCPT ); Thu, 17 Nov 2022 10:11:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240363AbiKQPJ5 (ORCPT ); Thu, 17 Nov 2022 10:09:57 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C16490B1; Thu, 17 Nov 2022 07:08:34 -0800 (PST) Date: Thu, 17 Nov 2022 15:08:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668697712; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rUJ8CspZ0v+ELSclYE/XQ8O/kg00c2EM8DtH+fEMTf4=; b=VLq4Iu52psv1FpsFQAF4VSBE2iiLDct/nNOuYlt4ikswTRan0cpx2zxnTepp/cyx6yVE65 hqIBtzMmXWwep9o9JpfeocCp35HHr9uVaMcOt8fEayguy29f/ltw+estb24yl367mkl4AM hjl9u2903McVabhsGGMpndRk+CqXZw/nTLf+C0ai8tXVpo8Zz0Tr2IGuoTzKl5hFimGhkG WNDhwVBwkSOJ7wHdaamP+BZcjwdaHc7NxCXvcmPZlxpAFMEDsmBfdHytQzEBZJfpnVCISp w7mAKG7UClIar8LcZzmVNeQEcXykl33rK6YGAbQHJ/vvoXw0Iv4gsReX19vsKw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668697712; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rUJ8CspZ0v+ELSclYE/XQ8O/kg00c2EM8DtH+fEMTf4=; b=pQO29+nVdB3L3DWOKK1WNUg0D2g61FHMOZAaaLMxyuAUZP2uiOzas/1greU/gLmgLmfrna yIkOXn2pMXewuqCQ== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] iommu/vt-d: Remove bogus check for multi MSI-X Cc: Thomas Gleixner , Ashok Raj , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20221111122013.713848846@linutronix.de> References: <20221111122013.713848846@linutronix.de> MIME-Version: 1.0 Message-ID: <166869771167.4906.10116563938839220650.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: 527f378c42eaac0b48a8c6ff16da99a6177ff9e3 Gitweb: https://git.kernel.org/tip/527f378c42eaac0b48a8c6ff16da99a61= 77ff9e3 Author: Thomas Gleixner AuthorDate: Fri, 11 Nov 2022 14:54:17 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 17 Nov 2022 15:15:18 +01:00 iommu/vt-d: Remove bogus check for multi MSI-X PCI/Multi-MSI is MSI specific and not supported for MSI-X. Signed-off-by: Thomas Gleixner Reviewed-by: Ashok Raj Link: https://lore.kernel.org/r/20221111122013.713848846@linutronix.de --- drivers/iommu/intel/irq_remapping.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iommu/intel/irq_remapping.c b/drivers/iommu/intel/irq_= remapping.c index 5962bb5..0b80a27 100644 --- a/drivers/iommu/intel/irq_remapping.c +++ b/drivers/iommu/intel/irq_remapping.c @@ -1334,8 +1334,7 @@ static int intel_irq_remapping_alloc(struct irq_domai= n *domain, =20 if (!info || !iommu) return -EINVAL; - if (nr_irqs > 1 && info->type !=3D X86_IRQ_ALLOC_TYPE_PCI_MSI && - info->type !=3D X86_IRQ_ALLOC_TYPE_PCI_MSIX) + if (nr_irqs > 1 && info->type !=3D X86_IRQ_ALLOC_TYPE_PCI_MSI) return -EINVAL; =20 /*