Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6409153rwb; Mon, 5 Dec 2022 11:56:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZE26B8ulN3L3/e6m3XPWnl7/DxaTDVXHqe1tNi+O/cKckHl1J2k6JudeV6WIyWWx38gcm X-Received: by 2002:a17:906:ad86:b0:7c0:7e90:ec98 with SMTP id la6-20020a170906ad8600b007c07e90ec98mr1828301ejb.537.1670270179233; Mon, 05 Dec 2022 11:56:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670270179; cv=none; d=google.com; s=arc-20160816; b=G9Pb+GeQTh454NZJrcuxhnQBmBbAVubqNv0/DZzrun0mVxN8AT7FYLY913PoqgTycB xGQwMTTIWHjtcAKHCaVvspEur+IP9T/31dLznxO7tEc/opsiirh8YHUbJYRyL6iSFVIv BfNYaiVbTxeqAeVMJXrbXGKtfDBo9DGxfzUofJaTqC1oZBzOBx/3BnEzrqDOYcYuTo04 IsLwbxFzOBpsWpF0Bu+cGz7U980YrrbTmTpNQj0wciB9qsOn+rVghamwyTDDSb4KvTj5 Q+WyP3+93yVjbBR2G6+ToMLv/Adiint6AJ4cb+sHMEW4dtEdGE9VacEdyeXslANlJl4e R8hQ== 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=EI8e3+sROLX8uOVQzyPrEeWjNzPPzsZz/BnvJQPCq1A=; b=k4yj6UkzW7HFBMqKIR1EbJJjseY96hiGOi5Dd1Sdd90GIjeY8AEiaIq4lSSHylOQ8J vghSXYxdYMHD6rUarsXvqd1LYtsJi+BXcWPIh60wGymmNjD8SA9julT+RHt0/ZXNZmTl xP4p1rhiBn08wQ05RWZdG1NeUNyI57wuVE4AhFRda79USyObH76pFXG6F7Qi6u2lARek AtI1P43Nq4VxxiJi9VOPGGwwpr4XHykvf3qEHT4PJR7KVMo1FPkgRUZ5CcJeFoZF3Y2E WFvWFHUNdxYVqGGxgI8+cINVvO4bD7Bqr/CD4aVKRHFiqo7fVxmqtImBCFT4ZjdpJ6aw 8oOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=g7ufrmFE; dkim=neutral (no key) header.i=@linutronix.de; 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 y8-20020a056402440800b00469045e6a07si310051eda.540.2022.12.05.11.56.00; Mon, 05 Dec 2022 11:56:19 -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=g7ufrmFE; dkim=neutral (no key) header.i=@linutronix.de; 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 S232976AbiLESZn (ORCPT + 81 others); Mon, 5 Dec 2022 13:25:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232300AbiLESZP (ORCPT ); Mon, 5 Dec 2022 13:25:15 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34FB82098A; Mon, 5 Dec 2022 10:25:15 -0800 (PST) Date: Mon, 05 Dec 2022 18:25:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670264711; 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=EI8e3+sROLX8uOVQzyPrEeWjNzPPzsZz/BnvJQPCq1A=; b=g7ufrmFEE+LeGtLwj+/hfZFEH4l9CrneAEa02n5SYQoEwZsTFIqIhCNNBYvH25Aviz8NjK b62uaYeamoYXb4DzbSe2W9DC44vMXj40bYHhbSZaUOJdHPFZd8f9arh1MwoJ+Adx+zE28H lB81F7x4JigD1FEhVcPSmJbuWV/NXhnbE3udSycGhR+7YQeR/BuCf0FM4c2uJpJ2sgbULI dDVEVewM6fzaMAYEO8ir38OzNlhpFgt7t1HEKx8xLg05SKykiSnESUauV7JeXILGdCvaW7 Umhv96UanOmKQyz1z/8NnrOM4AW6SmZ3HCrqPmfNPXv0lqe0Q6dYhWSIRR57RQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670264711; 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=EI8e3+sROLX8uOVQzyPrEeWjNzPPzsZz/BnvJQPCq1A=; b=HokrXKXc5VqVC7XC4qfDIDSOglqg7FQtOAB0wrpIePbCyl3hwoIUO/YvnX7DUigp88/5mb mU7Iqb0Mf28KraAg== 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] x86/apic/msi: Enable MSI_FLAG_PCI_MSIX_ALLOC_DYN Cc: Thomas Gleixner , Kevin Tian , Marc Zyngier , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221124232326.787373104@linutronix.de> References: <20221124232326.787373104@linutronix.de> MIME-Version: 1.0 Message-ID: <167026471147.4906.2795789730317822599.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: 3ec4b570fe9fbd5ae91d354d7a157a11f7dcf714 Gitweb: https://git.kernel.org/tip/3ec4b570fe9fbd5ae91d354d7a157a11f7dcf714 Author: Thomas Gleixner AuthorDate: Fri, 25 Nov 2022 00:26:26 +01:00 Committer: Thomas Gleixner CommitterDate: Mon, 05 Dec 2022 19:21:04 +01:00 x86/apic/msi: Enable MSI_FLAG_PCI_MSIX_ALLOC_DYN x86 MSI irqdomains can handle MSI-X allocation post MSI-X enable just out of the box - on the vector domain and on the remapping domains, Add the feature flag to the supported feature list Signed-off-by: Thomas Gleixner Reviewed-by: Kevin Tian Acked-by: Marc Zyngier Link: https://lore.kernel.org/r/20221124232326.787373104@linutronix.de --- arch/x86/include/asm/msi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/msi.h b/arch/x86/include/asm/msi.h index 7702958..935c6d4 100644 --- a/arch/x86/include/asm/msi.h +++ b/arch/x86/include/asm/msi.h @@ -63,7 +63,7 @@ struct msi_msg; u32 x86_msi_msg_get_destid(struct msi_msg *msg, bool extid); #define X86_VECTOR_MSI_FLAGS_SUPPORTED \ - (MSI_GENERIC_FLAGS_MASK | MSI_FLAG_PCI_MSIX) + (MSI_GENERIC_FLAGS_MASK | MSI_FLAG_PCI_MSIX | MSI_FLAG_PCI_MSIX_ALLOC_DYN) #define X86_VECTOR_MSI_FLAGS_REQUIRED \ (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS)