From patchwork Sun Jun 23 15:18:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 13708655 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2962C27C4F for ; Sun, 23 Jun 2024 15:21:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Date:Content-Type: MIME-Version:References:Subject:Cc:To:From:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=ny/xLHHBI8pj1DezroGAGGpqksCi1QsmJy3JhhsXDiA=; b=Mqkzw87PIbgPjI CFT8A2Ry8eEN8aeCN6LivhjFan4JxQ8DYHmKtjik8v7Y00onED2juj9CDIcKKtn50Qk6euzG60lDP xM+wXKKC5LfheQ93I4mvdeGeKCBsqYUaeJXmYpxwvHiXzfLyYso66UqItkMcDPZZht/n3w0PNB6pk pukdo+xa2yj5aOK/4INbj0Ib6nhyXtfgRfUU1DSA+LDCqbEbl5XivKoO2y77IL3MacnP55EBZKbbE 6TDpATWtYBxyi15WHNkkGuvLEyj6nNeHq9fW17pxO2V6LjuOMS+2PVVmrwsyB7WNkKjMty0rjjo1o o1+7xN7pMiVdA4exYiJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLP1k-0000000EH1c-05gE; Sun, 23 Jun 2024 15:21:13 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLOzT-0000000EGIY-2y3E for linux-arm-kernel@lists.infradead.org; Sun, 23 Jun 2024 15:19:50 +0000 Message-ID: <20240623142235.207343466@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1719155925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=ny/xLHHBI8pj1DezroGAGGpqksCi1QsmJy3JhhsXDiA=; b=VajC+rxrDdblPUv+7QMPfpJna6m6Edsi+4PyLZT3KgXOV3IB2rYoVUZbu0kl8R6JGSqJRL ucoaaYN2P74WjPYLEwXWw/83JPcEDEg2xQiZ7ICrOQOvzYMxNsNCB5LcFudTkEwlVxDT+V rkbh15BGa5qArJwzyuDVvQ1BOXNscVJIFVA0JjRzb4GC66rniKTr77hZxY1H5+djTzIKtQ jGkcA11xvhz6jsNToHsEtEkEEseiQnTO5aRO1az/zBdVVp9TcvGo4sLCaLgDspSczPTV3o n/a9dCxZSl+lHVfUEy1fxzLKKKXPM9MbOQgHB/aQQychGWOd30Sd9P/GquLWhA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1719155925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=ny/xLHHBI8pj1DezroGAGGpqksCi1QsmJy3JhhsXDiA=; b=WUWqIz0+tDgaW4cUwToSovywAm7gU7GpaFZkDhNF8GTWIhFFn2MUg7wMQ/r2zMSa3sRVfL lNtpeOBlRZD9j/Cw== From: Thomas Gleixner To: LKML Cc: linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, maz@kernel.org, tglx@linutronix.de, anna-maria@linutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, bhelgaas@google.com, rdunlap@infradead.org, vidyas@nvidia.com, ilpo.jarvinen@linux.intel.com, apatel@ventanamicro.com, kevin.tian@intel.com, nipun.gupta@amd.com, den@valinux.co.jp, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, gregkh@linuxfoundation.org, rafael@kernel.org, alex.williamson@redhat.com, will@kernel.org, lorenzo.pieralisi@arm.com, jgg@mellanox.com, ammarfaizi2@gnuweeb.org, robin.murphy@arm.com, lpieralisi@kernel.org, nm@ti.com, kristo@kernel.org, vkoul@kernel.org, okaya@kernel.org, agross@kernel.org, andersson@kernel.org, mark.rutland@arm.com, shameerali.kolothum.thodi@huawei.com, yuzenghui@huawei.com, shivamurthy.shastri@linutronix.de Subject: [patch V4 08/21] irqchip/irq-msi-lib: Prepare for DOMAIN_BUS_WIRED_TO_MSI References: <20240623142137.448898081@linutronix.de> MIME-Version: 1.0 Date: Sun, 23 Jun 2024 17:18:44 +0200 (CEST) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240623_081854_635779_A219C76C X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thomas Gleixner Add the new bus token to the accepted list of child domain tokens. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Behnsen Signed-off-by: Shivamurthy Shastri Signed-off-by: Thomas Gleixner --- drivers/irqchip/irq-msi-lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqchip/irq-msi-lib.c b/drivers/irqchip/irq-msi-lib.c index 6aa4974d2d12..40c19087d719 100644 --- a/drivers/irqchip/irq-msi-lib.c +++ b/drivers/irqchip/irq-msi-lib.c @@ -67,6 +67,8 @@ bool msi_lib_init_dev_msi_info(struct device *dev, struct irq_domain *domain, /* Core managed MSI descriptors */ info->flags = MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS | MSI_FLAG_FREE_MSI_DESCS; break; + case DOMAIN_BUS_WIRED_TO_MSI: + break; default: /* * This should never be reached. See