Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp748544qtx; Thu, 17 Nov 2022 07:28:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5hNLaIaYrqFDPElxdy237pceL5l4s4AFMiW0bSFK1MW14wUzaCRrAUfnRMXwAPNbJCIKXt X-Received: by 2002:a05:6a00:f8a:b0:56c:2576:9d2a with SMTP id ct10-20020a056a000f8a00b0056c25769d2amr3427396pfb.60.1668698912552; Thu, 17 Nov 2022 07:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668698912; cv=none; d=google.com; s=arc-20160816; b=RRjT7pZOtc5t1Rl9M36bNF5hCLaHvRnI3uD+kuhQHw0xSn0yCf3AoTBPpzHToFs0LY Ld8WctofYf3jzlGX7el35SCCwydhgalS/bOXT7JDoF7G6fpS5PkEXnvLL+K4b29+a7JJ MLSRacicpfkZaFuFt64/LBCWOqEqxs0mbGQmrvAfNV1ARsTDAzgvNiqn7v+LCjJBAGHQ qqHEA96zw6rgEr/V2AcyXO7Jsqu4UeuB71RaCIU00+zVSLTqFDZpcq6jspKW1VzCFJhy NzViTVx6li2VlyVxM8taz1kmSHtuxFJ/eY8q3mWf/HHusIFLN1Jxvsb1LUZXqcitX9sz 8wJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=rUJ8CspZ0v+ELSclYE/XQ8O/kg00c2EM8DtH+fEMTf4=; b=R8NdEcXesm431PyF0hTkAiXt0rZJqnYKHJrUDKXDZCp7WHbnqlPwdSL6KY6bg6fyFw VjG9Gm/zeiumg3rIRlRqrxHYTLuHrzJ6+/IQIKL/iN+pa1ti2JuQyhiIBltzIZ2yvi0D uhGwyry7zQx9y8LzfpMwFjR/Iwd6sFN4swrWeRAjXguKodFV19OQotx8tf9WMbxumGaP stfFWrC3KWUK8JrS912SZcV/zjOWuWoV35Aa0AVuTXo65aVMoXb1ug5c6UsTcLYZG6AT orWUwK2nXq4NvqQkmmcwSSVMEk4KpOi2f37hLDhfff23K+Tvi4WG+3PxxOIZFdYymO+6 w8HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VLq4Iu52; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=pQO29+nV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na10-20020a17090b4c0a00b00212eb5485afsi1218440pjb.77.2022.11.17.07.28.21; Thu, 17 Nov 2022 07:28:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VLq4Iu52; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=pQO29+nV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240301AbiKQPLl (ORCPT + 92 others); Thu, 17 Nov 2022 10:11:41 -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: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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/527f378c42eaac0b48a8c6ff16da99a6177ff9e3 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_domain *domain, if (!info || !iommu) return -EINVAL; - if (nr_irqs > 1 && info->type != X86_IRQ_ALLOC_TYPE_PCI_MSI && - info->type != X86_IRQ_ALLOC_TYPE_PCI_MSIX) + if (nr_irqs > 1 && info->type != X86_IRQ_ALLOC_TYPE_PCI_MSI) return -EINVAL; /*