From patchwork Mon Dec 5 18:25:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 29827 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2408597wrr; Mon, 5 Dec 2022 10:26:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5S7/azyRwTgtPnZpchj65nr1JzvjoLk2T82+HRR/Gw5s+OlKNDOT4cckWcJ2qBs7ATwWoW X-Received: by 2002:a17:906:9f02:b0:7b5:f5c9:b450 with SMTP id fy2-20020a1709069f0200b007b5f5c9b450mr4964278ejc.65.1670264790080; Mon, 05 Dec 2022 10:26:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670264790; cv=none; d=google.com; s=arc-20160816; b=V58yBzDa0NZXT12M+7HzP3ZeaOkn7oNIAVlfqIO9Y4CWLihGynvNDTYDq3xRFaHYlS PZA7c6GawgwBPpLEP1vOmWNj3Vcvhf4WuVIjX1yJ1lWmCRv0MxL+rctVcnpzw7NneHRM QI6zgwXBJNrs5MfQQ5ymk+1PHwnurXZlaGkc94AohtTucXHP+gJETq9SqKySX00rCqgM l0dK2OV8kbRsLuaZS1Olg8/g2LlS/AbT6Zt2z1ljRRF81Za+TxcHoh746AF0K79vHnPA Wuz//w9kMAnewKfcvPkKwTmnsW+m3pLl72VJLvmhXC+TQBRQa20JbJNEzFxRScXiaeQg m32g== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a1709062a4800b007c0ce331e13si5479545eje.703.2022.12.05.10.26.03; Mon, 05 Dec 2022 10:26:30 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750427153318507383?= X-GMAIL-MSGID: =?utf-8?q?1751399572524138763?= 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)